Skip to content

Instantly share code, notes, and snippets.

@WenxiJin
Last active July 12, 2017 11:21
Show Gist options
  • Save WenxiJin/c515d35b00ae9331391a1d8c6f6d478a to your computer and use it in GitHub Desktop.
Save WenxiJin/c515d35b00ae9331391a1d8c6f6d478a to your computer and use it in GitHub Desktop.
Install gnu global 6.5.7
#!/usr/bin/env bash
set -e
echo "installing package for gnu global"
sudo apt-get update
sudo apt-get -y install wget
sudo apt-get -y install exuberant-ctags
sudo apt-get -y install libncurses5-dev
echo "installing gnu global"
wget ftp://ftp.gnu.org/pub/gnu/global/global-6.5.7.tar.gz
tar zxvf global-6.5.7.tar.gz
cd global-6.5.7
./configure
make
sudo make install
echo "installed gnu global"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment