
- Navigate to ~/src folder, create if necessary:
mkdir ~/src
cd ~/src- Clone github repo then cd into dir:
git clone [github.com repo here, ending in .git]
cd [cloned dir]- Read the makefile, then Build the package with make, adjusting any env vars i.e.
make install PREFIX=$HOME/.local/- Add installed package to my PATH to enable running commands:
If using Fish
You simply need to run the following command once, and never again:
set -Ux fish_user_paths $HOME/.local/bin $fish_user_paths
If using bash, zsh, etc., add this line to ~/.bashrc, ~/.profile, or ~/.zshrc (depending on your current shell):
export PATH="$HOME/.local/bin:$PATH"Then apply the change:
source ~/.bashrc