# Install GlobalProtect VPN – Linux

Di Linux, client GlobalProtect terbaru dapat diunduh dari:&#x20;

* Unduh file ***rpm*** untuk RedHat / CentOS
* Untuk Ubuntu, unduh file ***.deb*** Buka jendela terminal untuk menginstal *client*

{% file src="<https://3697988364-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgUoUZXgfhn4hQ_4Dlc%2F-Mh2aBk1t2IHOC-4fhdU%2F-Mh2aOYE3pVKTjpbxHQX%2FGlobalProtect_deb_arm-5.2.4.0-14.deb?alt=media&token=00b44973-3fcc-4daa-b956-7271b45431f7>" %}
deb\_arm\_file
{% endfile %}

{% file src="<https://3697988364-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgUoUZXgfhn4hQ_4Dlc%2F-Mh2aBk1t2IHOC-4fhdU%2F-Mh2aZfQ_nzJRmc5EQJ9%2FGlobalProtect_UI_deb-5.2.4.0-14.deb?alt=media&token=9ba5fc09-5c4f-49da-be25-763206a57e0d>" %}
deb\_UI\_file
{% endfile %}

{% file src="<https://3697988364-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgUoUZXgfhn4hQ_4Dlc%2F-Mh2ajRP6zETuqi0NR1G%2F-Mh2ayJaQNiC7l8sfe3u%2FGlobalProtect_deb-5.2.4.0-14.deb?alt=media&token=8aa2770a-ae7d-4eb8-aece-50d8099eecc4>" %}
deb\_file
{% endfile %}

{% file src="<https://3697988364-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgUoUZXgfhn4hQ_4Dlc%2F-Mh2ajRP6zETuqi0NR1G%2F-Mh2bCgauLQODAB8nSzh%2FGlobalProtect_UI_rpm-5.2.4.0-14.rpm?alt=media&token=bfd60a45-27e7-43d9-8d30-c4381b22c16c>" %}
deb\_UI\_rpm\_file
{% endfile %}

{% code title="Ubuntu/Debian" %}

```
sudo dpkg – i GlobalProtect_deb-5.2.4.0-14.deb
```

{% endcode %}

{% code title="Redhat/CentOS" %}

```
sudo yum localinstall GlobalProtect_rpm-5.0.8.rpm
```

{% endcode %}

### Menjalankan di Linux

Buka jendela terminal, ketik ***`globalprotect`***. Pada prompt >>, gunakan perintah ***`connect`*** untuk menyambungkan ke IP VPN

```
user@ubuntu:~$ globalprotect
Current GlobalProtect status: OnDemand mode.
>> connect –portal 10.10.10.10
Retrieving configuration…
10.10.10.10 – Authentication Failed. Enter login credentials
username(user):user
Password:
Discovering network…
Connecting…
Connected
```

Perintah lain di prompt >>&#x20;

```
>> quit
(exits out of GlobalProtect which continues to run in the background)
>> disconnect
>> show –version
>> show –status
>> show –details
```

## Linux GUI

Instal depedencies first, It will install then show you the GUI, then I entered my VPN url, then I was routed to my SAML SSO auth popup. Once I signed in, the GUI disappeared, and no icon displayed in the header.

```
sudo apt-get install libqt5webkit5
sudo dpkg -i GlobalProtect_UI_deb-5.2.4.0-14.deb
```

Instead of clicking the (non-existent) header icon, you manipulate GP in 20.04 if you run:

```
globalprotect launch-ui
```

### Linux Uninstall

* Hapus instalasi aplikasi GlobalProtect untuk Linux menggunakan dpkg.

```
user@ubuntu:~$ sudo dpkg -P globalprotect
(Reading database … 209181 files and directories currently installed.)
Removing globalprotect (5.0.8) …
gp service is running and we need to stop it…
Disable service…
Removing gp service…
gp service has been removed successfully
Removing configuration…
```

* Hapus instalasi aplikasi GlobalProtect untuk Linux menggunakan apt-get.

```
user@linuxhost:~$ sudo apt-get remove GlobalProtect_deb-5.0.8.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done 
```

### Troubleshooting

Menggunakan jendela terminal dan dalam mode ***`globalprotect`***, jalankan perintah ***`collect-log`*** untuk membuat file dukungan.

```
user@ubuntu:~$ globalprotect
Current GlobalProtect status: Connected
>>
>> collect-log
Start collecting…
collecting network info…
collecting machine info…
copying files…
generating final result file…
The support file is saved to /home/user/.GlobalProtect/Collect.tgz
```
