Last active
July 12, 2017 11:21
-
-
Save WenxiJin/c515d35b00ae9331391a1d8c6f6d478a to your computer and use it in GitHub Desktop.
Install gnu global 6.5.7
This file contains hidden or 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
#!/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