How to Install and Uninstall node-pkg-dir Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 26,2024

1. Install "node-pkg-dir" package

Please follow the step by step instructions below to install node-pkg-dir on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install node-pkg-dir

2. Uninstall "node-pkg-dir" package

Please follow the guidance below to uninstall node-pkg-dir on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove node-pkg-dir $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-pkg-dir package on Ubuntu 20.04 LTS (Focal Fossa)

Package: node-pkg-dir
Architecture: all
Version: 4.2.0-2
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: nodejs, node-find-up
Filename: pool/universe/n/node-pkg-dir/node-pkg-dir_4.2.0-2_all.deb
Size: 3932
MD5sum: 09d6286c0e5903858275cedd9a43b6f2
SHA1: d92cb7e0b0843e64a463191577e480929f5632c1
SHA256: 3e027d173b1944598f65eda952d4fcc94fc17f44322be9cb0af27729fc4c0b22
Homepage: https://github.com/sindresorhus/pkg-dir
Description: find the root directory of a npm package
Description-md5: 60057560f626edc628648dd3e935861c