dd

sudo apt-get install python g++ make checkinstall fakeroot
src=$(mktemp -d) && cd $src
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install
sudo dpkg -i node_*


$ sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
$ sudo apt-get update
$ sudo apt-get install golang
 
sudo apt-get install software-properties-common python-software-properties

curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz

export PATH=$PATH:/usr/local/go/bin
posted @ 2016-04-18 15:31  玄魂  阅读(390)  评论(0编辑  收藏  举报