Linux: Install Packages Cheat Sheet

# Search for a package by keyword

yum search keyword

# Install a Package with YUM

yum -y install packetname

# Remove/Uninstall a Package with YUM

yum -y remove packetname

# Display description and summary information about package

yum info package

# Updating a Package

yum update packetname

# List a Package

yum list packetname

# Install package from local file named package.rpm

rpm -i package.rpm

# List all available packages

yum list | less

# List all installed packages

yum list installed | less

Leave a Reply

Your email address will not be published. Required fields are marked *