Can't run Pulse Secure on Ubuntu 19.04 because libwebkitgtk-1.0.so.0 is missing
Ubuntu 19.04 is not a supported platform for Pulse Secure. You may get it to work by following the instructions below without installing dependencies with the package manager. Note: Use carefully && caution with your own risk.
-
As root user, run:
dpkg -i pulse-9.0.R3.x86_64.deb cd /usr/local/pulse/
-
Allow installation for 19.04 (or 19.10 / 20.04 / 20.10 / 21.04) by sed ( or manually in line 279 in PulseClient_x86_64.sh). In below is it for 19.04/19.10.
sed -i "s/UBUNTU_VER\ \=\ 18\ \]/& \|\|\ [\ \$UBUNTU_VER\ \=\ 19 \]/" PulseClient_x86_64.sh
-
May not needed. At least it will fail with packages which not found.
./PulseClient_x86_64.sh install_dependency_packages
-
Lets make debs and extra folders:
mkdir /usr/local/pulse/extra mkdir /usr/local/pulse/debs
-
Download below packages from archice.ubuntu.com to /usr/local/pulse/debs:
cd /usr/local/pulse/debs wget http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3_amd64.deb wget http://archive.ubuntu.com/ubuntu/pool/universe/w/webkitgtk/libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb wget http://archive.ubuntu.com/ubuntu/pool/universe/w/webkitgtk/libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb
-
Extract *.deb files on /usr/local/pulse/extra
cd /usr/local/pulse/extra dpkg -x /usr/local/pulse/debs/libicu60_60.2-3ubuntu3_amd64.deb . dpkg -x /usr/local/pulse/debs/libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb . dpkg -x /usr/local/pulse/debs/libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb .
-
Which to normal user and export LD_LIBRARY_PATH in command line:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
-
On Ubuntu 20.04 (and after) you might need to install libenchant.so.1:
sudo apt-get install libenchant1c2a
-
On Ubuntu 21.04 you will need to install libenchant1c2a manually:
cd /usr/local/pulse/debs wget http://archive.ubuntu.com/ubuntu/pool/universe/e/enchant/libenchant1c2a_1.6.0-11.4_amd64.deb cd /usr/local/pulse/extra/ dpkg -x /usr/local/pulse/debs/libenchant1c2a_1.6.0-11.4_amd64.deb .
-
As normal user, run pulse secure GUI on command line:
/usr/local/pulse/pulseUi
Now you should able to see pulseUI and continue with it.
Note: For troubleshooting purpose, you can use ldd command to check which libraries are needed, like: ldd /usr/local/pulse/pulseUi
If your organization use MFA, you might face issue with 9.1R11 version: https://community.pulsesecure.net/t5/Pulse-Connect-Secure/Embeded-browser-MFA-login-failure-or-crash-after-login/td-p/45186
On Ubuntu 19.10 (amd64), the following worked for me:
- Download libjavascriptcoregtk-1.0-0, libwebkitgtk-1.0-0, and libicu60 corresponding to your architecture (mine was amd64).
- Install them with
sudo dpkg -i libicu60_60.2-3ubuntu3.1_amd64.deb libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb; sudo apt install -f
.
If you want to use Pulse Secure only as a client to connect to a VPN, you can use open connect. Here I go into detail, step by step.
-
Install the package
sudo apt-get update sudo apt-get install openconnect
-
Install certificates
sudo apt-get install ca-certificates sudo update-ca-certificates
-
Connect
sudo openconnect --protocol = nc vpn.example.com
References:
http://www.yorku.ca/computing/download/ps-pulse-9.0r1-linux-quickstart-guide.pdf https://websiteforstudents.com/install-openconnect-ssl-vpn-client-on-ubuntu-18-04-18-04/