[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

  • Ubuntu 16.04.6 LTS
  • Ubuntu 18.04.3 LTS
  • Ubuntu 19.04
  • Ubuntu 19.10

What is 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.


Install npm and nodejs using PPA


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

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

Install nodejs

Install nodejs

$ sudo apt-get install nodejs -y

Install build-essential

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

$ sudo apt-get install build-essential -y


[AWS] AWS CLI를 이용해 EC2 인스턴스를 생성, 나열 그리고 삭제하기

> AWS CLI를 통해서 EC2 인스턴스를 생성, 나열 그리고 삭제를 해보자.## 환경- Ubuntu 18.04- AWS CLI- Bash shell(/bin/bash)## 과정1. AWS CLI 설치2. 기본 환경 설정(구성 및 자격 증명 설...… Continue reading