How to Install and Uninstall nodejs Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "nodejs" package

This is a short guide on how to install nodejs on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install nodejs

2. Uninstall "nodejs" package

This is a short guide on how to uninstall nodejs on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove nodejs $ sudo apt autoclean && sudo apt autoremove

3. Information about the nodejs package on Ubuntu 20.04 LTS (Focal Fossa)

Package: nodejs
Architecture: amd64
Version: 10.19.0~dfsg-3ubuntu1.3
Multi-Arch: foreign
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 154
Depends: libc6 (>= 2.4), libnode64 (= 10.19.0~dfsg-3ubuntu1.3)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Conflicts: nodejs-legacy
Replaces: nodejs-legacy
Filename: pool/universe/n/nodejs/nodejs_10.19.0~dfsg-3ubuntu1.3_amd64.deb
Size: 61432
MD5sum: 3c7dd33bfda49e8cd00ac3e984f999e3
SHA1: 56f94ec3047ceaf7df674acc6d99ccea5607d95f
SHA256: fb1b228e3575c801dd8ca01e153afbbe50e4ff88279ce9af0294892da850e9c6
SHA512: d4f0f6bb7cbcc2f72dc3ffd45e3c5b2ac182b095f4f52692343e15d39b5ede973b6f3bae847cca6f060463911d3382fe7b467f6d582500db520a775fc7a38121
Homepage: http://nodejs.org/
Description: evented I/O for V8 javascript - runtime executable
Description-md5: 0d0bbaed314d7d26588d112ee4ede074

Package: nodejs
Architecture: amd64
Version: 10.19.0~dfsg-3ubuntu1
Multi-Arch: foreign
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 154
Depends: libc6 (>= 2.4), libnode64 (= 10.19.0~dfsg-3ubuntu1)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Conflicts: nodejs-legacy
Replaces: nodejs-legacy
Filename: pool/universe/n/nodejs/nodejs_10.19.0~dfsg-3ubuntu1_amd64.deb
Size: 61128
MD5sum: e99245e2f78b02e736f6585be7a200f2
SHA1: 8a7f18fc393650d3f0830c6cde0e0bfa7e4afa17
SHA256: 392d4ae36ca956260df71b43f7cd04c1f8928dac5e53f4132d237772b16adf4a
Homepage: http://nodejs.org/
Description: evented I/O for V8 javascript - runtime executable
Description-md5: 0d0bbaed314d7d26588d112ee4ede074