How to install the Citrix client on Ubuntu 22.04

The Citrix client provided by Citrix doesn’t currently work with Ubuntu 22.04. There is another way.

Why the normal deb install won’t work

If you’ve tried to install the Citrix Workspace deb package you’ll notice you get the error about libidn11 missing. It looks like Citrix haven’t updated their installer yet.

% sudo dpkg -i icaclient_22.3.0.24_amd64.deb 
[sudo] password for reepy: 
Selecting previously unselected package icaclient.
(Reading database ... 215549 files and directories currently installed.)
Preparing to unpack icaclient_22.3.0.24_amd64.deb ...
Unpacking icaclient (22.3.0.24) ...
dpkg: dependency problems prevent configuration of icaclient:
 icaclient depends on libidn11; however:
  Package libidn11 is not installed.
dpkg: error processing package icaclient (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 icaclient

Normally you’d install that missing package but libidn11 is not available on Ubuntu 22.04. It’s been replaced with libidn12 which isn’t compatible. You can install older versions, but there is an easier way.

Install the tar.gz instead

You’ll need to be familiar with the terminal and basic commands. You will not need root access to install this.

  1. From the Citrix Workspace download page in the ‘tarball package’ section download the latest x86_64 tar.gz.
  2. Open a terminal
  3. Get ready to install it:
    1. Go to the directory you downloaded it to: cd Downloads (or whatever directory you downloaded it to).
    2. Make a temporary directory: mkdir icaclient
    3. Go to that directory: cd icaclient
    4. Extract the tar.gz: tar -zxvf ../icaclient*.tar.gz
  4. Start the setup:
    1. Run the setup: ./setupwfc
    2. In the setup answer 1 to install, accept the default install location then no to GStreamer.
    3. Once it takes you back to the menu you can select 3 to quit.
  5. You now need to add some additional SSL certificates:
    1. cd ~/ICAClient/linuxx64/keystore/cacerts
    2. ln -s /usr/share/ca-certificates/mozilla/* .
    3. c_rehash .

You should now be able to use the Citrix client from your web based Citrix portal.

16 thoughts on “How to install the Citrix client on Ubuntu 22.04”

  1. Thank you so much, I’ve been trying to solve this (and forced to use Citrix in Windows in VMWare) since I migrated over 3 years ago.

    Reply
  2. Hello:
    I am admittedly an amateur. I have followed your directions and then when I try to open my citrix site Ubutnu asks what application I want to use to open the downloaded ica.

    Brian

    Reply
    • Try manually running the client program from where you installed it. You can also select the program by browsing to it. Worst case you can associate that file in Ubuntu with that app and manually open the download – I had to do that for a while.

      Reply
  3. Hello!
    You solved a big problem for me: after switching to ubuntu 22.04, I suddenly found a dependency problem and this site is the only one with a solution, incredible luck was to find it!

    Спасибо ;)

    Reply
    • Hey Ze,
      Could you please recommend other download location? So far I only can find the link which you say it did not working. I do not want to risk again. I have been reinstall Ubuntu twice so far.

      Thank ahead.

      Linda

      Reply
  4. Anyone can help? getting error not a directory:

    ~/ICAClient/linuxx64/keystore/cacerts$ ln -s /usr/share/ca-certificates/mozilla/*
    ln: target ‘/usr/share/ca-certificates/mozilla/XRamp_Global_CA_Root.crt’: Not a directory

    Reply
    • You’re missing the final argument, which is the current directory ..

      ln -s /usr/share/ca-certificates/mozilla/*
      vs
      ln -s /usr/share/ca-certificates/mozilla/* .

      Reply
  5. Thanks for the good tip. However, I have no problems at all with the installation through dpkg -i. It installs normally, but after receiving the certificat no further interface opens. In ICAClient.log it says the following:

    2022-07-13 14:40:05.647 [WEBHELPER] citrix-ctxwebhelper: parseArgs::error no keyword found
    2022-07-13 14:40:26.966 [WEBHELPER] citrix-ctxwebhelper: Error:: Not detected keyword receiver..
    2022-07-13 14:40:26.966 [WEBHELPER] citrix-ctxwebhelper: parseArgs::error no keyword found
    2022-07-13 14:40:38.762 [LIBS] citrix-wfica: Value of cl_argv[0] : /opt/Citrix/ICAClient/wfica
    2022-07-13 14:40:38.762 [LIBS] citrix-wfica: Value of cl_argv[1] : -eula
    2022-07-13 14:40:38.762 [LIBS] citrix-wfica: Value of cl_argv[2] : -tell
    2022-07-13 14:40:38.762 [LIBS] citrix-wfica: Value of cl_argv[3] : MinimumTLS,MaximumTLS,SSLCiphers
    2022-07-13 14:40:38.787 [LIBS] citrix-wfica: ReadINIConfig() exiting

    Maybe someone can help with this

    Reply

Leave a Comment