Installing Citrix in Linux is always a hazzle. The following worked for me on a fresh installation of Ubuntu 12.04.
$ sudo apt-get install ia32-libs-multiarch:i386 $ sudo apt-get install libmotif4:i386
$ sudo apt-get install libmotif4
Now choosing Citrix version was not so easy… I found:
icaclient_12.0.0_amd64.deb (failed to meet dependencies) icaclient_12.1.0_amd64.deb (failed to meet dependencies) icaclient_12.0.0_i386.deb (OK! - both i386 & amd64) icaclient_12.1.0_i386.deb (broken gzip!!!) linuxx86-188.8.131.52834.tar.gz (did not test) linuxx86-184.108.40.206066.tar.gz (broken gzip!!!)
The amd64 bit packages do not seem to contain a 64-bit Citrix client. They are just built to install cleanly on a 64-bit system, but it doesn’t on Ubuntu 12.04 (perhaps better luck in Debian). The broken gzip-errors were really weird.
amd64 specific plugin issues
Now when Citrix is installed it can be useful to know that it ends up in /opt/Citrix. That is, on amd64, you need to tell Firefox to open ica-files with /opt/Citrix/ICAClient/wfica. The plugin /opt/Citrix/ICAClient/npica.so appears to be i386 (no suprise) and will not work with amd64. I tried to install firefox:i386 instead of the amd64-version, but then none of the other plugins worked. It is probably possible to fix, but I will not.
Also, you (may) need to fix certificates:
zo0ok@oden:/opt/Citrix/ICAClient/keystore$ ls cacerts zo0ok@oden:/opt/Citrix/ICAClient/keystore$ sudo mv cacerts cacerts.orig zo0ok@oden:/opt/Citrix/ICAClient/keystore$ sudo ln -s /usr/share/ca-certificates/mozilla cacerts
Finally, Citrix receiver 12.0 works nicely in Unity and Ubuntu 12.04. This was not the case a few versions ago.