Skip to content

Instantly share code, notes, and snippets.

@muratayusuke
Last active October 10, 2015 10:47
Show Gist options
  • Save muratayusuke/3677821 to your computer and use it in GitHub Desktop.
Save muratayusuke/3677821 to your computer and use it in GitHub Desktop.
global
##################################
# usage
##################################
# 1. cd /usr/local/src
# 2. wget https://gist.github.com/raw/3677821/c20a62a45a0d92be6190a319d7b98bdbf8dbeadb/global.sh
# 3. sudo sh global.sh ${version}
##################################
cd /usr/local/src
GB_VER=$1
wget http://tamacom.com/global/global-${GB_VER}.tar.gz
tar xzf global-${GB_VER}.tar.gz
cd global-${GB_VER}
./configure --prefix=/usr/local/global-${GB_VER} --with-exuberant-ctags=/usr/bin/ctags-exuberant
make
make install
cd /usr/local/
if [ -L global ];then
rm global
fi
ln -s global-${GB_VER} global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment