diff --git a/cheats/yum.cheat b/cheats/yum.cheat new file mode 100644 index 0000000..ff1c8fe --- /dev/null +++ b/cheats/yum.cheat @@ -0,0 +1,52 @@ +% yum + +# List all available packages +yum list available + +# List all installed packages +yum list installed + +# Info about package +yum info + +# Search in repository (packages and descriptions) +yum search + +# List all history actions (install, update and erase) +yum history list + +# Check updates for installed packages +yum check-update + +# Update all packages +yum update + +# Update spesific/individual package +yum update + +# Downgrade package +yum downgrade + +# Install a package from repository +yum install + +# Remove/delete package +yum remove + +# Install local rpm package +yum localinstall + +# Install security updates +yum update --security + +# List dependencies of package +yum deplist + +# Remove un-needed packages and dependencies +yum autoremove + +# Whatprovides package/file/binary +yum whatprovides + +# List currently enabled repositories +yum repolist