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

Last updated: May 18,2024

1. Install "lsof" package

Learn how to install lsof on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install lsof

2. Uninstall "lsof" package

This guide covers the steps necessary to uninstall lsof on Debian 12 (Bookworm):

$ sudo apt remove lsof $ sudo apt autoclean && sudo apt autoremove

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

Package: lsof
Version: 4.95.0-1
Installed-Size: 482
Maintainer: Andres Salomon
Architecture: amd64
Depends: libc6 (>= 2.33), libselinux1 (>= 3.1~), libtirpc3 (>= 1.0.2)
Description: utility to list open files
Description-md5: df6eff5e3fcd44e35327c894b54c92a3
Homepage: https://github.com/lsof-org/lsof
Tag: devel::lang:perl, devel::library, implemented-in::c,
implemented-in::perl, interface::commandline, role::devel-lib,
role::program, scope::utility, use::monitor, use::searching,
works-with::file, works-with::software:running
Section: utils
Priority: standard
Filename: pool/main/l/lsof/lsof_4.95.0-1_amd64.deb
Size: 318268
MD5sum: d2772ab9193a00d371fca4a24596b577
SHA256: e4b15cf8d0b9051cf7957e7ab29a67ca7d21f42ea1b2b7dad1b52e65d02d1408