This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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