How to Install and Uninstall lsof.x86_64 Package on Amazon Linux 2

Last updated: February 06,2025

1. Install "lsof.x86_64" package

Learn how to install lsof.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install lsof.x86_64

2. Uninstall "lsof.x86_64" package

This tutorial shows how to uninstall lsof.x86_64 on Amazon Linux 2:

$ sudo yum remove lsof.x86_64 $ sudo yum autoremove

3. Information about the lsof.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : lsof
Arch : x86_64
Version : 4.87
Release : 6.amzn2
Size : 332 k
Repo : amzn2-core/2/x86_64
Summary : A utility which lists open files on a Linux/UNIX system
URL : http://people.freebsd.org/~abe/
License : zlib and Sendmail and LGPLv2+
Description : Lsof stands for LiSt Open Files, and it does just that: it lists
: information about files that are open by the processes running on
: a UNIX system.