How to Install and Uninstall node-exit-hook Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 08,2024

1. Install "node-exit-hook" package

This tutorial shows how to install node-exit-hook on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "node-exit-hook" package

Please follow the instructions below to uninstall node-exit-hook on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the node-exit-hook package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: node-exit-hook
Architecture: all
Version: 2.2.1-1
Multi-Arch: foreign
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
Filename: pool/universe/n/node-exit-hook/node-exit-hook_2.2.1-1_all.deb
Size: 4774
MD5sum: f99dd82ab1c4791a5fb57fe44f2c23f9
SHA1: 77c3835e318d1e664a9c859e7341a2e2bb908c2d
SHA256: 8ed8f3e10ce9153d9c4e7e1490c52e5c1460385416d9637ee4bd17c09e924e78
SHA512: 654e31b49efa63995def3cd3e032d752c56d5a8df2f6ff6da0060ca8320eabb46101dc00a3b5ee0b7bf85bd7698465f5c50159a712c046bd5ddc0eccaf22fe7d
Homepage: https://github.com/sindresorhus/exit-hook
Description: Run some code when the process exits
Description-md5: aed96cf617ac98e3891148e3a2617510