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

Last updated: May 05,2024

1. Install "node-exit-hook" package

In this section, we are going to explain the necessary steps to install node-exit-hook on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install node-exit-hook

2. Uninstall "node-exit-hook" package

Please follow the steps below to uninstall node-exit-hook on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove node-exit-hook $ sudo apt autoclean && sudo apt autoremove

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

Package: node-exit-hook
Architecture: all
Version: 1.1.1-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: nodejs
Filename: pool/universe/n/node-exit-hook/node-exit-hook_1.1.1-1_all.deb
Size: 3422
MD5sum: 8e9fb4749914f170b0ef5d8a929c9ca4
SHA1: df3f3235a24e80b632b41acff8c5a12301789d20
SHA256: 01096afff1acbfb6e8b4ff384c8e71de517237dbe2ef357fe1f69e46a342f4fd
Homepage: https://github.com/sindresorhus/exit-hook
Description: Run some code when the process exits
Description-md5: aed96cf617ac98e3891148e3a2617510