Install Java 7

Xubuntu and Ubuntu both have OpenJDK pre-installed but I want Sun Java 7 for work purpose…

While there are so many ways to do it, I installed it using the PPA.

1) Remove the OpenJDK (optional – I like to remove stuff I don’t need)

Fire up the Terminal:

sudo apt-get purge openjdk*

2) Add the ppa

sudo add-apt-repository ppa:webupd8team/java

3) sudo apt-get update

Update apt-get with the new PPA

4) Install Java 7

sudo apt-get install oracle-java7-installer

Accept whatever and get a cup of coffee

5) Doublecheck my Java version
java -version

Posted in Linux | Tagged , , , | Leave a comment

Install Citrix Receiver in Xubuntu 12.04

One of my PC’s requirement is to connect to Citrix server at work via Citrix Receiver. Below is the instruction:

1. Download Citrix receiver (http://receiver.citrix.com/) > Linux >
Get the .deb client (64bit client – requires OpenMotif v.2.3.1)

2. Using terminal, go to the download file folder

cd Download

sudo dpkg -i icaclient-12.1.0_amd64.deb 

I was promot to accept EULA, press Enter

After that you should get an error, then run

sudo apt-get install -f

3. One more issue, use your favorite editor and open file below. I use GUI (leafpad) because it is much easier to do a search and replace.

sudo leafpad /var/lib/dpkg/info/icaclient.postinst

Search for $Arch|grep “i[0-9]86” > /dev/null
Replace with $Arch|grep -E “i[0-9]86|x86_64” > /dev/null

4. Run

sudo dpkg –configure icaclient

Done!~

Reference (this guide below is for ubuntu):

http://elgali.net/2012/11/15/how-to-get-citrix-remote-access-to-work-in-ubuntu-12-04/

Posted in Linux | Tagged , , | 2 Comments