How to Install and Uninstall needrestart Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "needrestart" package

Please follow the steps below to install needrestart on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install needrestart

2. Uninstall "needrestart" package

This is a short guide on how to uninstall needrestart on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove needrestart $ sudo apt autoclean && sudo apt autoremove

3. Information about the needrestart package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: needrestart
Priority: optional
Section: universe/admin
Installed-Size: 159
Maintainer: Ubuntu Developers
Original-Maintainer: Patrick Matthäi
Architecture: all
Version: 2.6-1
Depends: perl, dpkg (>= 1.16.0), libproc-processtable-perl, libsort-naturally-perl, libmodule-scandeps-perl, libterm-readkey-perl, libmodule-find-perl, xz-utils
Suggests: needrestart-session | libnotify-bin
Filename: pool/universe/n/needrestart/needrestart_2.6-1_all.deb
Size: 25600
MD5sum: 22c1af0b79321f2a8a1bf84cd8772b52
SHA1: fec0033d81c1a42821023e18636b19740c62019d
SHA256: 2f69e19e68a20b8cfd120cd0df7a7ff32056364382998c50513fe5b8bc9a0d4c
Description-en: check which daemons need to be restarted after library upgrades
needrestart checks which daemons need to be restarted after library upgrades.
It is inspired by checkrestart from the debian-goodies package.
.
Features:
- supports (but does not require) systemd
- binary blacklisting (i.e. display managers)
- tries to detect required restarts of interpreter based daemons
(supports Java, Perl, Python, Ruby)
- tries to detect required resarts of containers (docker, LXC)
- tries to detect pending kernel upgrades
- could be used as nagios check_command
- fully integrated into apt/dpkg using hooks
Description-md5: cb406876cc2bc813e1189fe0a6489041
Homepage: https://github.com/liske/needrestart
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu