yum (Yellowdog Updater, Modified)
yum install <package-name>
Installs a package along with its dependencies.
Example:
sudo yum install package-nameThis command installs the package-name package.
yum list installed | grep <package-name>
list: Displays a list of installed packages.installed: Shows only the installed packages.grep <package-name>: Filters the list to show only the lines containingpackage-name.
Example:
yum list installed | grep package-nameThis command lists the installed packages and filters for lines containing package-name.
sudo yum remove <package-name>
Removes a package along with its dependencies.
Example:
sudo yum remove package-nameThis command removes the package-name package.
