Sunday, December 6, 2020

How to install Citrix Workspace App on ARM64 / raspberrypi 64bit / Ubuntu 20.10

 So, i've configured my raspberry pi 4 64bit/4GB RAM by installing Ubuntu Desktop 64bit (Groovy Gorilla)


Setup all my regular tools and when i tried to install Citric Workspace App, it failed.

First if all, Citrix Workspace App is only available for 32bit ARM (armhf) :(

Downloaded the citrix workspace app (Citrix Workspace app for Linux (ARM HF) from here https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html

AS i've installed 64bit ubuntu, enabled the 32bit architecture by running as sudo

sudo dpkg --add-architecture armhf

sudo apt update

Now tried installing the workspace app

sudo dpkg -i icaclient_20.10.0.6_armhf.deb (the one i downloaded, replace with appropriate version.)

 Got back the error

Errors were encountered while processing:
icaclient:armhf

 After searching/reading through forums, found this article. The gist is, 

edit the below file

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

Look for below line in function UpdateMachineHWSuffix

echo $Arch|grep -i "^arm" >/dev/null

and replace with below

echo $Arch|grep -E "^arm|aarch64" >/dev/null

 Then just run the below command

 sudo dpkg --configure icaclient:armhf

 

Now, if you see any error with Entrust certificates, as per this article, execute the below

sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/

Basically we are just asking citrix workspace app to reuse the existing certificates from firefox. 

 

That's all!