How to Install and Uninstall npm Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 23,2024

1. Install "npm" package

Here is a brief guide to show you how to install npm on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install npm

2. Uninstall "npm" package

This guide covers the steps necessary to uninstall npm on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove npm $ sudo apt autoclean && sudo apt autoremove

3. Information about the npm package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: npm
Priority: extra
Section: universe/web
Installed-Size: 10408
Maintainer: Ubuntu Developers
Architecture: all
Version: 3.5.2-0ubuntu4
Depends: nodejs, node-abbrev (>= 1.0.4), node-ansi (>= 0.3.0-2), node-ansi-color-table, node-archy, node-block-stream, node-fstream (>= 0.1.22), node-fstream-ignore, node-github-url-from-git, node-glob (>= 3.1.21), node-graceful-fs (>= 2.0.0), node-inherits, node-ini (>= 1.1.0), node-lockfile, node-lru-cache (>= 2.3.0), node-minimatch (>= 0.2.11), node-mkdirp (>= 0.3.3), node-gyp (>= 0.10.9), node-nopt (>= 3.0.1), node-npmlog, node-once, node-osenv, node-read, node-read-package-json (>= 1.1.0), node-request (>= 2.25.0), node-retry, node-rimraf (>= 2.2.2), node-semver (>= 2.1.0), node-sha, node-slide, node-tar (>= 0.1.18), node-underscore, node-which
Filename: pool/universe/n/npm/npm_3.5.2-0ubuntu4_all.deb
Size: 1586014
MD5sum: 63f815dd0b8ce137b65f13616a544a77
SHA1: 46fc13b56c4d8b25547deee9bc2db39177a75866
SHA256: 67fa27ac7a205bac1e861b92487f3e2398ab6bcc39f55741f2e1b8c09022fc77
Description-en: package manager for Node.js
Node.js is an event-based server-side javascript engine.
.
npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
conflicts intelligently.
.
It is extremely configurable to support a wide variety of use cases.
Most commonly, it is used to publish, discover, install, and develop
node programs.
Description-md5: 85ba8bf129c09297837a706dcf08eb1f
Homepage: http://github.com/isaacs/npm
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu