[Ubuntu](EN) Install latest npm and node.js by using ppa

Set ppa and install latest npm and nodejs on Linux(Ubuntu)


Environment and Prerequisite

  • Linux(Ubuntu 16.04 or 14.04)


What is PPA?

PPA

PPA is acronym of Personal Package Archive. It is a third party software package repository. There are many packages which are not included in Ubuntu official apt-get.

ppa-homepage


Install npm and nodejs using PPA

Set PPA

First, we need to specify repository(PPA repository). Now 9.x is the latest version of nodejs so I set to 9.x. You can check latest version on https://github.com/nodejs/Release#release-schedule

$ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -


Install nodejs

Install nodejs

$ sudo apt-get install nodejs


Install build-essential

Above nodejs include npm but we need to install build-essential for using better npm.

$ sudo apt-get install build-essential


Reference

[Linux] 쉘 스크립트에서 멀티프로세스(혹은 스레드) 기능 사용하기

> 백그라운드로 명령어를 실행해서 병렬적으로 실행되는 멀티 프로세스 환경을 만들어보자.## 환경- Linux 기반 시스템- Bash shell(/bin/bash)## 멀티프로세스? 병렬처리? 멀티스레드? 백그라운드 프로세스?- 여기서 진행할 방식...… Continue reading