Skip to content

Instantly share code, notes, and snippets.

@vanbug
Last active December 14, 2015 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanbug/5135894 to your computer and use it in GitHub Desktop.
Save vanbug/5135894 to your computer and use it in GitHub Desktop.
#Get the archive (tarball) using wget or some other measure
wget http://downloads/software.tar.gz
tar -zxvf software.tar.gz
cd software
# add the path where you wanna place the files
./configure - -prefix=/home/sukhdeep/softs
make
make install
# running software
/home/sukhdeep/softs/bin/xclip
# Lets add the install software to path
PATH=$PATH:/home/sukhdeep/softs/xclip/bin
export PATH
# Removing last item (path) from the total path archive using sed
export PATH=`echo $PATH | sed 's/:[^:]*$//'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment