Skip to content

Instantly share code, notes, and snippets.

@vaibhav276
Created July 6, 2017 08:28
Show Gist options
  • Save vaibhav276/f46bea48888d248118499bc944c0116f to your computer and use it in GitHub Desktop.
Save vaibhav276/f46bea48888d248118499bc944c0116f to your computer and use it in GitHub Desktop.
How to install GNU Global 6.4 on Ubuntu 14.04
#!/bin/bash
# instGlobal.sh
echo "instGlobal.sh ...."
echo "install package for GNU global..."
sudo apt-get update
sudo apt-get -y install curl
sudo apt-get -y install wget
sudo apt-get -y install ncurses-dev
sudo apt-get -y install exuberant-ctags
sudo apt-get -y install python
CUR=`pwd`
echo "install GNU global..."
wget http://tamacom.com/global/global-6.4.tar.gz
tar zxvf global-6.4.tar.gz
cd global-6.4
./configure
make
sudo make install
cd $CUR
echo "install pip..."
curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
echo "install pygments..."
sudo pip install pygments==1.6
echo "$0 done."
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment