How to Install and Uninstall node-gyp Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 02,2024

1. Install "node-gyp" package

Please follow the step by step instructions below to install node-gyp on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install node-gyp

2. Uninstall "node-gyp" package

Here is a brief guide to show you how to uninstall node-gyp on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove node-gyp $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-gyp package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: node-gyp
Priority: extra
Section: universe/web
Installed-Size: 87
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 3.0.3-2ubuntu1
Depends: nodejs, nodejs-dev, gyp (>= 0.1+20150913git1f374df9), node-fstream, node-glob, node-graceful-fs (>= 2), node-minimatch, node-mkdirp, node-nopt (>= 2), node-npmlog, node-osenv, node-request, node-rimraf, node-semver (>= 2.1), node-tar, node-which
Recommends: build-essential
Filename: pool/universe/n/node-gyp/node-gyp_3.0.3-2ubuntu1_all.deb
Size: 23202
MD5sum: de9ceb9abf491ee6750d010221875fc4
SHA1: 242709547b7e851cdd33aa8a9512791096e75343
SHA256: 6995012cde74e05d32357068a65ed9d3a0e640d493bb4e848e078a5cf5004322
Description-en: Native addon build tool for Node.js
node-gyp is a cross-platform command-line tool written in Node.js
for compiling native addon modules for Node.js.
.
It features :
* Easy to use, consistent interface
* Same commands to build a module on every platform
* Support of multiple target versions of Node.js
.
node-gyp replaces node-waf program which was deprecated in Node.js 0.8
and removed since Node.js 0.10.
.
Node.js is an event-based server-side javascript engine.
Description-md5: 79e000d65d6679894607853135417a5f
Homepage: https://github.com/nodejs/node-gyp
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu