Private Internet Access - PIA - VPN

Can someone help me install this app for Endless?
Or maybe make the app downloadable in the App Center?

I now use the chrome extension, but there are a lot of problems with this the whole time.
Would be better to install the app direct on my laptop. But I don’t really understand how…
It’s a .run file but can’t get it to install.

Please help.

privateinternetaccess.com

Download the Best Linux VPN: Native App for Ubuntu, Mint & More | PIA VPN

Download PIA’s native app for Linux - install it on Ubuntu, Debian, Fedora, and Linux Mint. Enjoy no bandwidth caps and ultra-fast connection speeds.

The vpn is called Private Internet Access - PIA.

Thanks in advance!!

On this page Download the Best Linux VPN in 2024: Customizable GUI for Your Distro check this section:

How to Install a VPN on Linux

Follow the basic steps below to install PIA VPN on Linux or visit our support portal for more detailed instructions.

  1. Download and run the installer. Save the file to your downloads folder.
  2. Open Terminal and change the directory with the command: cd Downloads
  3. Run the application installer using the command: sh pia-linux-3.3.1-06924.run .
  4. Type in your [Root/Sudo] password (Note: do not run the installer with sudo).
  5. Select Login , enter your credentials, and you’re all set.

You can also follow our guide to install OpenVPN manually on Linux or use our manual connection scripts to configure your VPN without the PIA app.

1 Like

I did thats, but then nothing happens…
I can find a pia-vpn folder on my pc and tried running a few files in there. Like: pia-client. This launches a symbol next to my taskbar, but can’t really do anything with it.

It feels like I’m this close to solving it, but also stuck because don’t really understand what to do now?

It should install something and I should be able to have an program icon where I can click on to launch it? No?

Your screenshot shows an error which means the installation did not finish successfully. The issue is that their installer is trying to create a file in a directory which is read-only on Endless OS.

I took a look at how you can work around it. Here are some steps that worked for me:

  1. Download the latest version of the installer. For me it was pia-linux-3.5.7-08120.run. I’m assuming it’s saved to ~/Downloads as in your screenshot.
  2. Run the following commands:
cd ~/Downloads
sh ./pia-linux-3.5.7-08120.run --keep --noexec

You should see output like the following:

Creating directory pia-linux-3.5.7-08120
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing Private Internet Access  100%  

Now run the following commands:

cd pia-linux-3.5.7-08120
sed -i -e s,/usr/share,/usr/local/share,g install.sh
sudo mkdir -p /usr/local/bin

The sed command patches the PIA installer to install the app launcher to a writable path. The sudo mkdir command creates a directory that the installer assumes will exist, but does not.

Now you can run the installer:

./install.sh

You should see output like this:

=================================
Private Internet Access Installer
=================================

Installing PIA for x86_64, system is x86_64
✔ Added group piavpn
✔ Added group piahnsd
✔ Copied Private Internet Access files
✔ Allow non-root /opt/piavpn/bin/pia-unbound to bind to privileged ports
✔ Created var folder
✔ Installed icon
✔ Created desktop entry
✔ Set wgpia interface to be unmanaged
✔ Created piavpn service
Created symlink /etc/systemd/system/multi-user.target.wants/piavpn.service → /etc/systemd/system/piavpn.service.
✔ Started piavpn service

and then the app will launch. You can see that it has a launcher, and an icon in the top bar:

If you’re a Private Internet Access customer please can you report this issue to them? The problem is that they are assuming that /usr/share is writable, but on Endless OS and other immutable Linux distributions such as Fedora Silverblue it is not, and in any case it should be managed by the system package manager. They should be placing the .desktop file and icons into /usr/local/share, which is on the default $XDG_DATA_DIRS search path.

1 Like

Thank you so very much for your help!! Really, really apreciate it!!

I am now further than even… But, for me, the app doesn’t open automaticly. So when I click on the (now installed) desktop icon, firstly it open some kind of lock icon in the top corner, and nothing more.
When I click the desktop icon again, it apears to open, but keeps loading and in the end it doesn’t open…

It feels like I’m so close…
I’ll add some sreenshots. Also of the bin-folder of tha app.

After running the installer I have slightly different output than yours… Maybe there’s still a problem?
Maybe try some kind of full un-install (don’t know how) and than try again?

Again. You are really great for helping me. Having this problem for a long time now!
I already have reported numerous times to Pia support about the extension that doesn’t work like it should be, but will defenitly report this issue as well!

Really hope I can finaly have it normaly installed like it looks on your pc.

Hi, would it be possible to point me one last time in the right direction please?
I feel like I’m almost there, but not all the way…
Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.