Install p on a linux system (best practice) - binbash23/p GitHub Wiki

Download p binary

Download the p binary to your ~/bin folder.

If it does not exist, create it:

mkdir ~/bin
cd ~/bin

Download the p binary from github into the ~/bin folder:

wget https://github.com/binbash23/p/raw/master/dist/linux/p

Make it executeable:

chmod +x ./p

Make sure that the ~/bin folder is in the PATH environment. If not, put this line in your .bashrc file:

export PATH=$PATH:~/bin

Now create a working directory for the p program. The p database(s) will be saved there:

mkdir ~/p

For easy usage also put this line into the .bashrc file:

alias p='cd ~/p/ && ~/bin/p'

That is all.

Source the modified .bashrc:

. ~/.bashrc

Now you can use p from any directory. Just type p:

p

and the password manager will start.