How to Install and Uninstall node-gyp Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 21,2024
1. Install "node-gyp" package
This guide covers the steps necessary to install node-gyp on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
node-gyp
Copied
2. Uninstall "node-gyp" package
Learn how to uninstall node-gyp on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
node-gyp
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the node-gyp package on Ubuntu 20.04 LTS (Focal Fossa)
Package: node-gyp
Architecture: all
Version: 6.1.0-3
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 131
Provides: node-node-gyp (= 6.1.0-3)
Depends: gyp (>= 0.1+20150913git1f374df9), libnode-dev, node-glob, node-graceful-fs, node-mkdirp, node-nopt, node-npmlog, node-osenv, node-request, node-rimraf, node-semver (>= 7), node-tar, node-which, nodejs
Recommends: build-essential
Filename: pool/universe/n/node-gyp/node-gyp_6.1.0-3_all.deb
Size: 33812
MD5sum: 6f7751fd9d81e2f8e7bdc4b03642355f
SHA1: c7441bb950ce944e1afb429794a09ae0a06ccd0a
SHA256: 1bcc97ee78f91fc2dc5211ab142d3c589b3a64201813cbf3c9c4fbbfaaa51e5d
Homepage: https://github.com/nodejs/node-gyp
Description: Native addon build tool for Node.js
Description-md5: 79e000d65d6679894607853135417a5f
Architecture: all
Version: 6.1.0-3
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 131
Provides: node-node-gyp (= 6.1.0-3)
Depends: gyp (>= 0.1+20150913git1f374df9), libnode-dev, node-glob, node-graceful-fs, node-mkdirp, node-nopt, node-npmlog, node-osenv, node-request, node-rimraf, node-semver (>= 7), node-tar, node-which, nodejs
Recommends: build-essential
Filename: pool/universe/n/node-gyp/node-gyp_6.1.0-3_all.deb
Size: 33812
MD5sum: 6f7751fd9d81e2f8e7bdc4b03642355f
SHA1: c7441bb950ce944e1afb429794a09ae0a06ccd0a
SHA256: 1bcc97ee78f91fc2dc5211ab142d3c589b3a64201813cbf3c9c4fbbfaaa51e5d
Homepage: https://github.com/nodejs/node-gyp
Description: Native addon build tool for Node.js
Description-md5: 79e000d65d6679894607853135417a5f