How to Install and Uninstall nodejs Package on Debian 10 (Buster)

Last updated: April 27,2024

1. Install "nodejs" package

Please follow the instructions below to install nodejs on Debian 10 (Buster)

$ sudo apt update $ sudo apt install nodejs

2. Uninstall "nodejs" package

Please follow the guidelines below to uninstall nodejs on Debian 10 (Buster):

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

3. Information about the nodejs package on Debian 10 (Buster)

Package: nodejs
Version: 10.24.0~dfsg-1~deb10u1
Installed-Size: 157
Maintainer: Debian Javascript Maintainers
Architecture: amd64
Replaces: nodejs-legacy
Depends: libatomic1 (>= 4.8), libbrotli1 (>= 0.6.0), libc-ares2 (>= 1.7.0), libc6 (>= 2.4), libgcc1 (>= 1:3.0), libicu63 (>= 63.1-1~), libnode64 (= 10.24.0~dfsg-1~deb10u1), libssl1.1 (>= 1.1.0), libstdc++6 (>= 4.1.1), libuv1 (>= 1.20.0~), zlib1g (>= 1:1.1.4)
Recommends: ca-certificates, nodejs-doc
Suggests: npm
Conflicts: nodejs-legacy
Description: evented I/O for V8 javascript - runtime executable
Description-md5: 0d0bbaed314d7d26588d112ee4ede074
Multi-Arch: foreign
Homepage: http://nodejs.org/
Tag: devel::interpreter, devel::lang:ecmascript, devel::runtime, devel::web,
implemented-in::c++, implemented-in::ecmascript,
interface::commandline, interface::shell, protocol::dns,
protocol::http, protocol::tcp, role::program, scope::application,
works-with-format::json
Section: web
Priority: optional
Filename: pool/main/n/nodejs/nodejs_10.24.0~dfsg-1~deb10u1_amd64.deb
Size: 87276
MD5sum: cd1c539b9719800cea78490175ec91c8
SHA256: 64cd12a184ccae657bf2def6483097d99cc902a32a4ea585f7d25867a06e0977