How to Install and Uninstall npm Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 07,2024

1. Install "npm" package

In this section, we are going to explain the necessary steps to install npm on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install npm

2. Uninstall "npm" package

This guide covers the steps necessary to uninstall npm on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the npm package on Ubuntu 24.04 LTS (Noble Numbat)

Package: npm
Architecture: all
Version: 9.2.0~ds1-2
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2931
Provides: arborist (= 6.1.5), node-libnpmaccess (= 7.0.1), node-libnpmdiff (= 5.0.6), node-libnpmexec (= 5.0.6), node-libnpmfund (= 4.0.6), node-libnpmhook (= 9.0.1), node-libnpmorg (= 5.0.1), node-libnpmpack (= 5.0.6), node-libnpmpublish (= 7.0.6), node-libnpmsearch (= 6.0.1), node-libnpmteam (= 5.0.1), node-libnpmversion (= 4.0.1), node-npm (= 9.2.0), node-npm-packlist (= 7.0.4), node-npmcli-arborist (= 6.1.5), node-npmcli-config (= 6.1.0), node-npmcli-disparity-colors (= 3.0.0), node-npmcli-git (= 4.0.3), node-npmcli-installed-package-contents (= 2.0.1), node-npmcli-map-workspaces (= 3.0.0), node-npmcli-metavuln-calculator (= 5.0.0), node-npmcli-mock-registry (= 1.0.0), node-npmcli-name-from-folder (= 1.0.1), node-npmcli-node-gyp (= 3.0.0), node-npmcli-package-json (= 3.0.0), node-npmcli-promise-spawn (= 6.0.1), node-npmcli-query (= 3.0.0), node-npmcli-run-script (= 6.0.0), node-npmcli-smoke-tests (= 1.0.0), node-pacote (= 15.0.7), node-qrcode-terminal (= 0.12.0), pacote (= 15.0.7), qrcode-terminal (= 0.12.0)
Depends: ca-certificates, node-abbrev, node-agent-base, node-aproba, node-archy, node-base64-js, node-binary-extensions, node-cacache (>= 17), node-chalk (>= 5.1.2-2~), node-chownr, node-ci-info, node-cli-table3, node-colors, node-columnify, node-cssesc, node-debug, node-depd, node-diff, node-emoji-regex, node-encoding, node-events, node-glob, node-got, node-graceful-fs, node-gyp, node-hosted-git-info (>= 6), node-http-proxy-agent, node-https-proxy-agent, node-ieee754, node-ini, node-ip, node-ip-regex, node-json-parse-better-errors, node-jsonparse, node-lru-cache, node-minimatch, node-minipass, node-mkdirp, node-ms, node-negotiator, node-nopt, node-normalize-package-data, node-npm-bundled, node-npm-normalize-package-bin, node-npm-package-arg (>= 10), node-npmlog, node-once, node-p-map, node-postcss-selector-parser, node-promise-retry, node-promzard, node-read, node-read-package-json, node-rimraf, node-semver, node-ssri, node-string-width, node-strip-ansi, node-tar, node-text-table, node-validate-npm-package-license, node-validate-npm-package-name, node-which, node-wrappy, node-write-file-atomic, node-yallist, nodejs:any
Recommends: git, node-tap
Suggests: node-opener
Filename: pool/universe/n/npm/npm_9.2.0~ds1-2_all.deb
Size: 631060
MD5sum: c9108eff6943961de813df02e7554386
SHA1: 78f53fe7b76c00abd6d70072cc8515ff1464a5fe
SHA256: 06a371996498192c510fe67b058c382c8fc133c264cdfd87298121a6931015fc
SHA512: 46b02aa55d9792f068ec424682b2effb379fcab2d451f2823145989181dc5b178220c4326d8aa5454923172a5d47dd21ff870d2c4cda60e106855666140e9dea
Homepage: https://docs.npmjs.com/
Description: package manager for Node.js
Description-md5: 0038510bc0647e0d6e2fa9ea24bf2f27