How to Install and Uninstall nodejs Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 07,2024

1. Install "nodejs" package

This tutorial shows how to install nodejs on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install nodejs

2. Uninstall "nodejs" package

Please follow the guidance below to uninstall nodejs on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the nodejs package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: nodejs
Architecture: amd64
Version: 12.22.9~dfsg-1ubuntu3.4
Multi-Arch: allowed
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 907
Provides: node-types-node (= 12.20.42~12.22.9~dfsg-1ubuntu3.4)
Depends: libc6 (>= 2.34), libnode72 (= 12.22.9~dfsg-1ubuntu3.4)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Breaks: node-babel-runtime (<< 7), node-typescript-types (<< 20210110~)
Filename: pool/universe/n/nodejs/nodejs_12.22.9~dfsg-1ubuntu3.4_amd64.deb
Size: 121778
MD5sum: bfbcd47c2fe374b25e77526f1fca7305
SHA1: 6c3d3744e52373ca55e5c341f268f4084e3b0c4f
SHA256: cae44742046cbafeffe72bff11b0b1a7af366816391f85b588530a90a326ca1f
SHA512: b3cf35aad99de8d1360fbb6b12adbfaed2242eee7e34c38b70c4f1be72dfd44883920ddbaa024a1ad171d6554f2f3e5dcde4c915d727fa50c61fafcb93b62258
Homepage: https://nodejs.org/
Description: evented I/O for V8 javascript - runtime executable
Description-md5: 0d0bbaed314d7d26588d112ee4ede074

Package: nodejs
Architecture: amd64
Version: 12.22.9~dfsg-1ubuntu3
Multi-Arch: allowed
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 910
Provides: node-types-node (= 12.20.42~12.22.9~dfsg-1ubuntu3)
Depends: libc6 (>= 2.34), libnode72 (= 12.22.9~dfsg-1ubuntu3)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Breaks: node-babel-runtime (<< 7), node-typescript-types (<< 20210110~)
Filename: pool/universe/n/nodejs/nodejs_12.22.9~dfsg-1ubuntu3_amd64.deb
Size: 121760
MD5sum: ca3bdecbf23aeb9df99992f274a83ee5
SHA1: dc87dff45aedff81e92f5f931fb15366ee5dad25
SHA256: 1277e86087fe865123fba1ca9936cc0ae8f009f357a7488c72fa4aba3c798f4e
SHA512: 9024f44ca5c4896131a73b5841f7da147f1a6a2454c6a44bdeef2e2cfe2e2a13dcab8ba21107d8f654f41dd907a23360bd4b78fdf4e79bf0ee2ed91dcfb88b9d
Homepage: https://nodejs.org/
Description: evented I/O for V8 javascript - runtime executable
Description-md5: 0d0bbaed314d7d26588d112ee4ede074