How to Install and Uninstall nodejs Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "nodejs" package

This is a short guide on how to install nodejs on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install nodejs

2. Uninstall "nodejs" package

Please follow the steps below to uninstall nodejs on Ubuntu 21.10 (Impish Indri):

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

3. Information about the nodejs package on Ubuntu 21.10 (Impish Indri)

Package: nodejs
Architecture: amd64
Version: 12.22.5~dfsg-5ubuntu1
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: 915
Provides: node-types-node (= 12.20.19~12.22.5~dfsg-5ubuntu1)
Depends: libc6 (>= 2.34), libnode72 (= 12.22.5~dfsg-5ubuntu1)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Conflicts: nodejs-legacy
Breaks: node-babel-runtime (<< 7), node-typescript-types (<< 20210110~)
Replaces: nodejs-legacy
Filename: pool/universe/n/nodejs/nodejs_12.22.5~dfsg-5ubuntu1_amd64.deb
Size: 122360
MD5sum: e86fc5ca15bdfd00109f403f177d4d3c
SHA1: f7073177a20eda2cfd0fb0337b311debd29dbd46
SHA256: ca070fac7d2fd64185db23cb4a965963cb92ff773d53e536abe61283e42e1c3b
SHA512: e485b94564d64ff52402b882d72fe6ea8c828462ceb54e7d0f3fcb1a7ab92ec069682839bd864a4f1efa8c39064c74527649310799efa2aff91c9a903fa414ff
Homepage: https://nodejs.org/
Description-en: evented I/O for V8 javascript - runtime executable
Node.js is a platform built on Chrome's JavaScript runtime for easily
building fast, scalable network applications. Node.js uses an
event-driven, non-blocking I/O model that makes it lightweight and
efficient, perfect for data-intensive real-time applications that run
across distributed devices.
.
Node.js is bundled with several useful libraries to handle server
tasks:
.
System, Events, Standard I/O, Modules, Timers, Child Processes, POSIX,
HTTP, Multipart Parsing, TCP, DNS, Assert, Path, URL, Query Strings.
Description-md5: 0d0bbaed314d7d26588d112ee4ede074