yum (Yellowdog Updater, Modified)
yum install <package-name>
Installs a package along with its dependencies.
Example:
sudo yum install package-name
This 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-name
This 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-name
This command removes the package-name
package.