[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 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 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


[Python] pdb를 이용해 파이썬 코드 디버깅하기

> pdb를 이용해 python 코드를 디버깅하는 방법을 알아보자.## 환경- Linux 기반 시스템- Bash shell(/bin/bash)- Python## pdb### pdb란?- ```pdb``` : 파이썬 디버깅 도구로 파인썬 인터프리터...… Continue reading