How to Install and Uninstall needrestart Package on Debian 12 (Bookworm)

Last updated: June 29,2024

1. Install "needrestart" package

This guide covers the steps necessary to install needrestart on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install needrestart

2. Uninstall "needrestart" package

This tutorial shows how to uninstall needrestart on Debian 12 (Bookworm):

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

3. Information about the needrestart package on Debian 12 (Bookworm)

Package: needrestart
Version: 3.6-4+deb12u1
Installed-Size: 292
Maintainer: Patrick Matthäi
Architecture: all
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, systemd | libimvirt-perl
Suggests: needrestart-session | libnotify-bin, iucode-tool
Enhances: intel-microcode
Description: check which daemons need to be restarted after library upgrades
Description-md5: a26ee5dd9ec37fe484bee4f1ce585d87
Homepage: https://github.com/liske/needrestart
Section: admin
Priority: optional
Filename: pool/main/n/needrestart/needrestart_3.6-4+deb12u1_all.deb
Size: 59776
MD5sum: ef33749e1c241ddda719b20c381bf771
SHA256: 38410a99b447b92299291a0b7fa5550639da3eb95b64d63af15e40319962dc46