This file contains 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
$ wget http://www-eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | |
... | |
2017-08-16 23:45:35 (2.26 MB/s) - ‘apache-maven-3.3.9-bin.tar.gz’ saved [8491533/8491533] | |
$ tar -zxvf apache-maven-3.3.9-bin.tar.gz | |
... | |
$ sudo mv apache-maven-3.3.9 /opt/maven | |
$ printf 'export M2_HOME=/opt/maven\nexport PATH=${M2_HOME}/bin:${PATH}\n' | sudo tee -a /etc/profile.d/mavenenv.sh |
This file contains 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
$ sudo update-alternatives --config java | |
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java | |
Nothing to configure. | |
$ echo 'JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java"' | sudo tee -a /etc/environment | |
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java" | |
$ source /etc/environment |
This file contains 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
$ ( | |
> sudo apt-get install default-jre | |
> sudo apt-get install default-jdk | |
> ) | |
... | |
$ java -version | |
openjdk version "1.8.0_131" | |
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11) | |
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode) |
This file contains 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
$ git clone https://github.com/iotaledger/wallet | |
Cloning into 'wallet'... | |
... | |
$ cd wallet | |
$ git checkout v2.5.6 | |
... |
This file contains 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
$ sudo yarn global add electron-builder --dev | |
... | |
success Installed "electron-builder@19.22.1" with binaries: | |
- electron-builder | |
... |
This file contains 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
$ sudo npm i -g yarn | |
... | |
└─┬ yarn@0.27.5 |
This file contains 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
$ sudo npm i -g bower | |
npm WARN deprecated bower@1.8.0: ..psst! While Bower is maintained, we recommend Yarn and Webpack for *new* front-end projects! Yarn's advantage is security and reliability, and Webpack's is support for both CommonJS and AMD projects. Currently there's no migration path, but please help to create it: https://github.com/bower/bower/issues/2467 | |
/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower | |
/usr/lib | |
└── bower@1.8.0 |
This file contains 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
$ sudo npm i -g electron | |
/usr/bin/electron -> /usr/lib/node_modules/electron/cli.js | |
> electron@1.7.5 postinstall /usr/lib/node_modules/electron | |
> node install.js | |
/usr/lib | |
└─┬ electron@1.7.5 |
This file contains 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
$ node -v | |
v6.11.2 |
This file contains 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
$ ( [57/57] | |
> curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh | |
> sudo bash nodesource_setup.sh | |
> sudo apt-get install nodejs | |
> sudo apt-get install build-essential | |
> ) | |
## Installing the NodeSource Node.js v6.x repo... |