Update 2014-01-03: Installing Citrix in Linux is still a hazzle. Please have a look at my new post: Install Citrix Reciever 13 on Ubuntu 13.10. The below post applies to the older Citrix Client version 12.
Installing Citrix in Linux is always a hazzle. The following worked for me on a fresh installation of Ubuntu 12.04.
Prerequisites (amd64):
$ sudo apt-get install ia32-libs-multiarch:i386 $ sudo apt-get install libmotif4:i386
Prerequisites (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-12.0.0.189834.tar.gz (did not test) linuxx86-12.1.0.203066.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.
Certificates
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
Finally, Citrix receiver 12.0 works nicely in Unity and Ubuntu 12.04. This was not the case a few versions ago.
Hello zoo0ok,
your solution works perfectly for me.
Thank you for sharing.
Matzel
worked for me with icaclient_12.1.0_i386.deb. though i got an error the citrix receiver is still working ..
Selecting previously unselected package icaclient:i386.
(Reading database … 299879 files and directories currently installed.)
Unpacking icaclient:i386 (from icaclient-12.1.0_i386.deb) …
Setting up icaclient:i386 (12.1.0) …
dpkg: error processing icaclient:i386 (–install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for menu …
Errors were encountered while processing:
icaclient:i386
I get the same error message as fren but haven’t the foggiest idea how to resolve it.
Same here.
I have just a few moments to install it …
Damnit !
I found this link to work around the dpkg error, which worked for me using the 12.1 64-bit package.
http://forums.citrix.com/thread.jspa?threadID=306353
I tried Garys link and it seems to work. I was using the x86 (not x64) version of Citrix (on 64-bit Ubuntu), but the annoying error disappears when in the file /var/lib/dpkg/info/icaclient.postinst
I replaced
echo $Arch|grep "i0-986" >/dev/null
With
echo $Arch|grep -E "i0-986|x86_64" >/dev/null
As I understand it this just makes the postinst-script exit without error, but the error was not real (or at least severe) in the first place. You can confirm that things work properly by running this command
$ sudo dpkg --configure icaclient:i386
and you should no longer receive errors.
Hey Thanks ..worked for me 🙂
I have followed your instruction and I am struggling to open the icaclient through firefox. I got:
“Cannot connect to ‘…’. Operation not permitted. Verify your connection setting and try again.”
Any idea? Thanks!
Works perfectly.
I chose icaclient_12.0.0_i386.deb because you said it should work.
I had to do a litte homework on how to get that package, and then how to install in (yes: newbie): http://www.cyberciti.biz/faq/ubuntu-linux-how-do-i-install-deb-packages/
And I needed to do the certificate trick.
Thanks a lot for sharing!