How to Install and Uninstall lsof Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 14,2024

1. Install "lsof" package

Please follow the steps below to install lsof on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install lsof

2. Uninstall "lsof" package

Please follow the instructions below to uninstall lsof on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the lsof package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: lsof
Priority: standard
Section: utils
Installed-Size: 440
Maintainer: Ubuntu Developers
Original-Maintainer: Norbert Tretkowski
Architecture: amd64
Version: 4.89+dfsg-0.1
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
Description-en: Utility to list open files
Lsof is a Unix-specific diagnostic tool. Its name stands
for LiSt Open Files, and it does just that. It lists
information about any files that are open, by processes
currently running on the system.
Description-md5: 260a171702acdb4e7341e348f1538be4
Homepage: http://people.freebsd.org/~abe/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: standard, ubuntu-touch-core, ubuntu-touch