-
Notifications
You must be signed in to change notification settings - Fork 6
Installing Dependencies
Vladimir Venediktov edited this page Apr 4, 2018
·
3 revisions
$ sudo add-apt-repository ppa:gophers/archive
$ sudo apt-get update
$ sudo apt-get install golang-1.9-go
$ sudo ln -s -f /usr/lib/go-1.9/bin/go /usr/bin/go
$ sudo ln -s -f /usr/lib/go-1.9/bin/gofmt /usr/bin/gofmt
sudo apt-get remove nodejs ^node-* nodejs-*
sudo apt-get autoremove
sudo apt-get clean
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs
Then :
curl https://github.com/raw/creationix/nvm/v0.33.2/install.sh | sh
After this, open a new terminal and check the npm version:
npm --version
purge your old cmake by following command
sudo apt-get purge cmake
Download latest cmake
mkdir cmake
wget --no-check-certificate --quiet -O - https://cmake.org/files/v3.8/cmake-3.8.0.tar.gz | tar --strip-components=1 -xz -C cmake
cd cmake
./bootstrap --prefix=/usr
sudo make -j4 install
ruby -e "$(curl -fsSL https://github.com/raw/Homebrew/install/master/install)
brew doctor
brew install cmake
brew update
brew install node
brew update
brew install go