From 50b84ef8037ae64dac5d2c07e152d76bf43cca50 Mon Sep 17 00:00:00 2001 From: Enis OEZGEN Date: Tue, 15 Oct 2019 11:00:08 +0200 Subject: [PATCH] Create cheats yum --- cheats/yum.cheat | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 cheats/yum.cheat 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