How to Install and Uninstall lsof Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 15,2024

1. Install "lsof" package

Please follow the steps below to install lsof on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install lsof

2. Uninstall "lsof" package

Please follow the instructions below to uninstall lsof on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the lsof package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: lsof
Architecture: amd64
Version: 4.89+dfsg-0.1
Priority: standard
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Norbert Tretkowski
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 440
Depends: libc6 (>= 2.14), libselinux1 (>= 1.32)
Suggests: perl
Filename: pool/main/l/lsof/lsof_4.89+dfsg-0.1_amd64.deb
Size: 247530
MD5sum: f0a5b2ccdb48295f9dc72c70f7d63af2
SHA1: 8647e7d1e2c5fe34d11c8254bc94f920a9d27fba
SHA256: 5cb0cccdc774c9e133fe65130849a765fd9cd07fd9045f1a60ce24e088e70fbf
Homepage: http://people.freebsd.org/~abe/
Description: Utility to list open files
Description-md5: 260a171702acdb4e7341e348f1538be4
Task: standard
Supported: 5y