How to Install and Uninstall lsof Package on Debian 11 (Bullseye)

Last updated: September 20,2024

1. Install "lsof" package

Please follow the guidance below to install lsof on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install lsof

2. Uninstall "lsof" package

Here is a brief guide to show you how to uninstall lsof on Debian 11 (Bullseye):

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

3. Information about the lsof package on Debian 11 (Bullseye)

Package: lsof
Version: 4.93.2+dfsg-1.1
Installed-Size: 451
Maintainer: Andres Salomon
Architecture: amd64
Depends: libc6 (>= 2.11), libselinux1 (>= 3.1~)
Suggests: perl
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.93.2+dfsg-1.1_amd64.deb
Size: 319016
MD5sum: 4c811ccf0a34bcbc6ee6dbb6a90cbfc1
SHA256: a03b5971519f2b2c51e7b4234d6e416ff22ac898e5f3fcc52cd63e4ad6161a77