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

Last updated: November 07,2024

1. Install "nodejs" package

Learn how to install nodejs on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install nodejs

2. Uninstall "nodejs" package

Here is a brief guide to show you how to uninstall nodejs on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: nodejs
Architecture: amd64
Version: 18.19.1+dfsg-2ubuntu4
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: 3925
Provides: node-types-node (= 18.18.14~18.19.1+dfsg-2ubuntu4)
Depends: libc6 (>= 2.34), libnode108 (= 18.19.1+dfsg-2ubuntu4)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Conflicts: nodejs-legacy
Breaks: libnode72 (<< 13), libnode83 (<< 16.13.2+really14.19.1~dfsg~), node-babel-runtime (<< 7), node-jest (<< 29~), node-typescript-types (<< 20210110~)
Replaces: libnode72 (<< 13), libnode83 (<< 16.13.2+really14.19.1~dfsg~), nodejs-legacy
Filename: pool/universe/n/nodejs/nodejs_18.19.1+dfsg-2ubuntu4_amd64.deb
Size: 306446
MD5sum: c9de2bdaa1231e1b875a4c6873bb303f
SHA1: f124e9403736e6e43fdff5203f700ae7d88160f4
SHA256: 40b259589b50e45409c3b708f872ad3a7542fb2825305107e176bebc896711d1
SHA512: c3a5aeccc2983b7c7b6e37d0b0cc9e8fc4a5f920e9bde49836854e8b78dd757f0fb2c6854469dfe5e633e1511c733caf8f063795485957d9364d16ab7d5f60e6
Homepage: https://nodejs.org/
Description: evented I/O for V8 javascript - runtime executable
Description-md5: 0d0bbaed314d7d26588d112ee4ede074