How to Install and Uninstall needrestart Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "needrestart" package

Here is a brief guide to show you how to install needrestart on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install needrestart

2. Uninstall "needrestart" package

In this section, we are going to explain the necessary steps to uninstall needrestart on Ubuntu 21.10 (Impish Indri):

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

3. Information about the needrestart package on Ubuntu 21.10 (Impish Indri)

Package: needrestart
Architecture: all
Version: 3.5-4ubuntu2
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Patrick Matthäi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 504
Depends: perl:any, dpkg (>= 1.16.0), gettext-base, libintl-perl, libproc-processtable-perl, libsort-naturally-perl, libmodule-scandeps-perl, libterm-readkey-perl, libmodule-find-perl, binutils, xz-utils
Recommends: libpam-systemd | sysvinit-core
Suggests: needrestart-session | libnotify-bin, iucode-tool
Enhances: intel-microcode
Filename: pool/main/n/needrestart/needrestart_3.5-4ubuntu2_all.deb
Size: 42484
MD5sum: 118dfbeee4ff50e86f639f78e315bc4e
SHA1: 66ea50d98f107785498395a290800fb0cf4ceb95
SHA256: 978959209278d528b8e06c0bfb3bfd1fd877a6e787f464a0db08107784445711
SHA512: 21db0bcbe4dbc5297b7dcdd475aba7cfde77d704c23665fbde21dedbd96aa86791822f160b1cd68c29df0b16eef3a5f6a2c56e1e1a47ad8fb2e7a58dcaa69a12
Homepage: https://github.com/liske/needrestart
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 restarts of containers (docker, LXC)
- tries to detect pending kernel upgrades
- tries to detect pending microcode upgrades for Intel CPUs
- could be used as nagios check_command
- fully integrated into apt/dpkg using hooks
Description-md5: a26ee5dd9ec37fe484bee4f1ce585d87
Task: server-minimal, cloud-image, server, ubuntu-server-raspi