{"id":25782,"date":"2020-04-06T16:29:56","date_gmt":"2020-04-06T10:59:56","guid":{"rendered":"https:\/\/www.armourinfosec.com\/?p=25782"},"modified":"2020-04-06T17:22:03","modified_gmt":"2020-04-06T11:52:03","slug":"yum-commands-cheat-sheet","status":"publish","type":"post","link":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/","title":{"rendered":"Yum Commands Cheat Sheet for RHEL"},"content":{"rendered":"

In this blog, we will learn how to install, update, remove, find packages, manage packages and repositories on Linux systems using YUM (Yellowdog Updater Modified) tool developed by RedHat. This blog also contains a Cheat Sheet of some basic commands of YUM.<\/p>\n

What is YUM?<\/h3>\n

\"YUM<\/p>\n

YUM<\/strong>\u00a0(Yellowdog Updater Modified<\/strong>) is an open-source command-line as well as a graphical based package management tool for RPM<\/strong>\u00a0(RedHat Package Manager<\/strong>) based Linux systems. It allows users and system administrators to easily install, update, remove or search software packages on a system. It was developed and released by Seth Vidal<\/strong>\u00a0under\u00a0GPL<\/strong>\u00a0(General Public License<\/strong>) as an open-source, which means anyone can be allowed to download and access the code to fix bugs and develop customized packages. YUM<\/strong> uses numerous third-party repositories to install packages automatically by resolving their dependencies issues.<\/p>\n

Following example, usages show the most commonly used options for performing package installation with yum :<\/p>\n

Install a Package with YUM<\/h4>\n

To install a package called\u00a0Firefox<\/a>, just run the below command it will automatically find and install all required dependencies for Firefox.<\/p>\n

# yum install firefox\r\n\r\nLoaded plugins: fastestmirror\r\nDependencies Resolved\r\n\r\n===================================================================================================================================================================================================================\r\nPackage Arch Version Repository Size\r\n===================================================================================================================================================================================================================\r\nInstalling:\r\nfirefox x86_64 68.6.0-1.el7.centos updates 94 M\r\n\r\nTransaction Summary\r\n===================================================================================================================================================================================================================\r\nInstall 1 Package\r\n\r\nTotal download size: 94 M\r\nIs this ok [y\/d\/N]: y\r\nDownloading packages:\r\nfirefox-68.6.0-1.el7.centos.x86_64.rpm | 94 MB 00:03:04\r\nInstalling : firefox-68.6.0-1.el7.centos.x86_64 1\/1\r\nVerifying : firefox-68.6.0-1.el7.centos.x86_64 1\/1\r\n\r\nInstalled:\r\n   firefox.x86_64 0:68.6.0-1.el7.centos\r\n\r\nComplete!<\/pre>\n

The above command will ask confirmation before installing any package on your system. If you want to install packages automatically without asking any confirmation, use option -y<\/strong><\/span> as shown in the below example.<\/p>\n

# yum -y remove firefox<\/pre>\n

Removing a Package with YUM<\/h4>\n

To remove a package completely with their all dependencies, just run the following command as shown below.<\/p>\n

# yum remove firefox.x86_64\r\n\r\nLoaded plugins: fastestmirror\r\nDependencies Resolved\r\n\r\n=========================================================================================================================================================\r\nPackage Arch Version Repository Size\r\n=========================================================================================================================================================\r\nRemoving:\r\nfirefox x86_64 68.6.0-1.el7.centos @updates 230 M\r\n\r\nTransaction Summary\r\n=========================================================================================================================================================\r\nRemove 1 Package\r\n\r\nInstalled size: 230 M\r\nIs this ok [y\/N]: y\r\n\r\nRunning transaction\r\nErasing : firefox-68.6.0-1.el7.centos.x86_64\r\n\r\nVerifying : firefox-68.6.0-1.el7.centos.x86_64 1\/1\r\n\r\nRemoved:\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 firefox.x86_64 0:68.6.0-1.el7.centos\r\n\r\nComplete!<\/pre>\n

Same way the above command will ask confirmation before removing a package. To disable confirmation prompt just add option -y<\/strong> <\/span>as shown in below.<\/p>\n

# yum -y remove firefox<\/pre>\n

Upgrading a Package using YUM<\/h4>\n

We can also upgrade any installed package to the latest stable version. For e.g. we’ve to upgrade the version of vsftd<\/strong>.<\/span><\/span> Just run the following command it will automatically resolve all dependencies issues and install them.<\/p>\n

# yum upgrade vsftpd\r\n\r\nLoaded plugins: fastestmirror\r\nDependencies Resolved\r\n\r\n==========================================================================================================================================================\r\n Package  Arch  Version  Repository  Size\r\n==========================================================================================================================================================\r\nUpdating:\r\n vsftpd   i386  2.0.5-24.el5_8.1  updates  144 k\r\n\r\nTransaction Summary\r\n==========================================================================================================================================================\r\nInstall       0 Package(s)\r\nUpgrade       1 Package(s)\r\n\r\nTotal size: 144 k\r\nIs this ok [y\/N]: y\r\nDownloading Packages:\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Updating       : vsftpd                                                                     1\/2\r\n  Cleanup        : vsftpd                                                                     2\/2\r\n\r\nUpdated:\r\n  vsftpd.i386 0:2.0.5-24.el5_8.1\r\n\r\nComplete!<\/pre>\n

Downgrading a Package using YUM<\/h4>\n

There will be occasions when a program update may have lead to an unstable system due to hardware compatibility issues. For this or whatever the reason, if you want your previous version program back, you need to know how to downgrade the applications.<\/p>\n

# yum downgrade httpd-2.2.3-22.el5\r\n\r\nDependencies Resolved\r\n\r\n====================================================================================================================================================\r\nPackage Arch Version Repository Size\r\n====================================================================================================================================================\r\nInstalling:\r\nhttpd i386 2.2.3-22.el5 rhel-i386-server-5 1.2 M\r\nRemoving:\r\nhttpd i386 2.2.3-31.el5 installed 3.1 M\r\nRemoving for dependencies:\r\nhttpd-manual i386 2.2.3-31.el5 installed 3.4 M\r\nmod_ssl i386 1:2.2.3-31.el5 installed 173 k\r\n\r\nTransaction Summary\r\n====================================================================================================================================================\r\nInstall 1 Package(s)\r\nUpdate 0 Package(s)\r\nRemove 3 Package(s)\r\n\r\nTotal download size: 1.2 M\r\nIs this ok [y\/N]:<\/pre>\n

List Packages using YUM<\/h4>\n

Use the list<\/strong><\/span> function to search for the specific package with name, recently installed, updates available, etc. For example, to search for a package called OpenSSH<\/strong><\/span>, use the command.<\/p>\n

# yum list openssh\r\n\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n* base: centos.mirrors.estointernet.in\r\n* extras: centos.mirrors.estointernet.in\r\n* updates: centos.mirrors.estointernet.in\r\nInstalled Packages\r\nopenssh.x86_64        7.4p1-21.el7       @anaconda<\/pre>\n

To list all the installed packages in a system, use the following command.<\/p>\n

# yum list installed<\/pre>\n

To list all recently installed packages, use the following command.<\/p>\n

# yum list recent<\/pre>\n

Use the following command to list the packages with updates available.<\/p>\n

# yum list updates<\/pre>\n

Search for a Package using YUM<\/h4>\n

If you don\u2019t remember the exact name of the package, then use search<\/strong><\/span> function to search all the available packages to match the name of the package you specified. For example, to search all the packages that match the word .<\/p>\n

# yum search firefox\r\n\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n* base: centos.excellmedia.net\r\n* extras: centos.excellmedia.net\r\n* updates: centos.excellmedia.net\r\n=================================================== N\/S matched: firefox =============================================================\r\nfirefox.i686 : Mozilla Firefox Web browser\r\nfirefox.x86_64 : Mozilla Firefox Web browser<\/pre>\n

Get Information of a Package using YUM<\/h4>\n

Say you would like to know the information about a package before installing it. To get information about a package just issue the below command.<\/p>\n

# yum info firefox\r\n\r\nLoaded plugins: fastestmirror\r\n* base: centos.excellmedia.net\r\n* extras: centos.excellmedia.net\r\n* updates: centos.excellmedia.net\r\nAvailable Packages\r\nName : firefox\r\nArch : i686\r\nVersion : 68.6.0\r\nRelease : 1.el7.centos\r\nSize : 97 M\r\nRepo : updates\/7\/x86_64\r\nSummary : Mozilla Firefox Web browser\r\nURL : https:\/\/www.mozilla.org\/firefox\/\r\nLicense : MPLv1.1 or GPLv2+ or LGPLv2+\r\nDescription : Mozilla Firefox is an open-source web browser, designed for standards compliance, performance and portability.<\/pre>\n

List all Dependencies of a Package using YUM<\/h4>\n

You can check the list of all Dependencies required by a specific package using the following command.<\/p>\n

# yum deplist vsftpd\r\n\r\nLoaded plugins: fastestmirror\r\n* base: mirrors.praction.in\r\n* extras: mirrors.praction.in\r\n* updates: mirrors.praction.in\r\npackage: vsftpd.x86_64 3.0.2-25.el7\r\ndependency: \/bin\/bash\r\nprovider: bash.x86_64 4.2.46-33.el7\r\ndependency: \/bin\/sh\r\nprovider: bash.x86_64 4.2.46-33.el7\r\ndependency: libc.so.6(GLIBC_2.15)(64bit)<\/pre>\n

Yum Provides Function<\/h4>\n

Yum provides<\/strong><\/span> function is used to find which package a specific file belongs to. For example, if you would like to know the name of the package that has the \/etc\/ssh\/sshd_config<\/strong><\/span>.<\/p>\n

# yum provides \/etc\/ssh\/sshd_config\r\n\r\nLoaded plugins: fastestmirror\r\n* base: centos.excellmedia.net\r\n* extras: centos.excellmedia.net\r\n* updates: centos.excellmedia.net\r\nopenssh-server-7.4p1-21.el7.x86_64 : An open source SSH server daemon\r\nRepo : base\r\nMatched from:\r\nFilename : \/etc\/ssh\/sshd_config\r\n\r\nopenssh-server-7.4p1-21.el7.x86_64 : An open source SSH server daemon\r\nRepo : @anaconda\r\nMatched from:\r\nFilename : \/etc\/ssh\/sshd_config<\/pre>\n

Check for Available Updates using Yum<\/h4>\n

Find how many installed packages on your system have updates available, use the following command to check.<\/p>\n

# yum check-update<\/pre>\n

Update System using Yum<\/h4>\n

To keep your system up-to-date with all security and binary package updates, run the following command. It will install all the latest patches and security updates to your system.<\/p>\n

# yum update<\/pre>\n

List all available Group Packages<\/h4>\n

In Linux, number of packages are bundled to a particular group. Instead of installing individual packages with yum, you can install a particular group that will install all the related packages that belong to the group. For example to list all the available groups, just issue following command.<\/p>\n

# yum groups list\r\n\r\nLoaded plugins: fastestmirror\r\n* base: centos.excellmedia.net\r\n* extras: centos.mirror.snu.edu.in\r\n* updates: centos.mirror.snu.edu.in\r\nAvailable Environment Groups:\r\nMinimal Install\r\nCompute Node\r\nInfrastructure Server\r\nFile and Print Server\r\nBasic Web Server\r\nVirtualization Host\r\nServer with GUI\r\nGNOME Desktop\r\nKDE Plasma Workspaces\r\nDevelopment and Creative Workstation\r\nAvailable Groups:\r\nCompatibility Libraries\r\nGraphical Administration Tools\r\nSecurity Tools\r\nSystem Administration Tools<\/pre>\n

Install a Group Packages<\/h4>\n

Install a particular package group, use option groups install<\/strong>. For example, to install \u201cDevelopment Tools<\/strong>\u201c, execute the below command.<\/p>\n

# yum groups install \"Development Tools\"<\/pre>\n

Update a Group Packages<\/h4>\n

To update any existing installed group packages, just run the following command as shown below.<\/p>\n

# yum groups update 'DNS Name Server'<\/pre>\n

Get details of a Group Packages<\/h4>\n

Display details about a group of packages from the system, just use the below command.<\/p>\n

yum groups info \"System Administration Tools\"<\/pre>\n

Remove a Group Packages<\/h4>\n

Delete or remove any existing installed group from the system, just use the below command.<\/p>\n

#yum groups remove 'DNS Name Server'<\/pre>\n

List Enabled Yum Repositories<\/h4>\n

Get the list of all enabled Yum repositories in your system, use following command.<\/p>\n

# yum repolist\r\n\r\nLoaded plugins: fastestmirror\r\n* base: centos.excellmedia.net\r\n* extras: centos.excellmedia.net\r\n* updates: centos.excellmedia.net\r\nrepo id\u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 repo name\u00a0\u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 status\r\nbase\/7\/x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CentOS-7 - Base\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10,097\r\nextras\/7\/x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CentOS-7 - Extras \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 341\r\nupdates\/7\/x86_64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0   CentOS-7 - Updates\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0   1,787\r\nrepolist: 12,225<\/pre>\n

List all Enabled and Disabled Yum Repositories<\/h4>\n

The following command will display all enabled and disabled yum repositories on the system.<\/p>\n

# yum repolist all<\/pre>\n

Interactive Yum Shell<\/h4>\n

Yum utility provides a custom shell where you can execute multiple commands.<\/p>\n

# yum shell\r\n\r\nLoaded plugins: fastestmirror\r\n> search named\r\nLoading mirror speeds from cached hostfile\r\n* base: centos.excellmedia.net\r\n* extras: centos.excellmedia.net\r\n* updates: centos.excellmedia.net\r\n======================================================== N\/S matched: named =================================================================\r\npcp-pmda-named.x86_64 : Performance Co-Pilot (PCP) metrics for Named\r\nbind-chroot.x86_64 : A chroot runtime environment for the ISC BIND DNS server, named(8)\r\nbind-sdb-chroot.x86_64 : A chroot runtime environment for the ISC BIND DNS server, named-sdb(8)\r\n\r\nName and summary matches only, use \"search all\" for everything.\r\n><\/pre>\n

Clean Yum Cache<\/h4>\n

By default yum keeps all the repository enabled package data in \/var\/cache\/yum\/<\/strong> with each sub-directory, to clean all cached files from enabled repository, you need to run the following command regularly to clean up all the cache and make sure that there is nothing unnecessary space is using.<\/p>\n

# yum clean all<\/pre>\n

View History of Yum<\/h4>\n

To view all the past transactions of yum command, just use the following command.<\/p>\n

# yum history\r\n\r\nLoaded plugins: fastestmirror\r\nID | Login user | Date and time | Action(s) | Altered\r\n-------------------------------------------------------------------------------\r\n8 | root <root> | 2020-04-06 13:09 | Install | 1\r\n7 | root <root> | 2020-04-06 12:15 | Install | 31\r\n6 | root <root> | 2020-04-06 12:02 | Erase | 1 EE\r\n5 | root <root> | 2020-04-06 11:43 | Install | 1\r\n4 | root <root> | 2020-04-06 11:39 | Erase | 1 EE\r\n3 | root <root> | 2020-03-30 17:17 | Install | 84\r\n2 | root <root> | 2020-03-30 17:15 | Install | 1\r\n1 | System <unset> | 2020-03-30 16:50 | Install | 301\r\nhistory list<\/pre>\n","protected":false},"excerpt":{"rendered":"

In this blog, we will learn how to install, update, remove, find packages, manage packages and repositories on Linux systems…<\/p>\n","protected":false},"author":1,"featured_media":829,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[115,113,112,114],"yoast_head":"\nYum Commands Cheat Sheet for RHEL - Armour Infosec<\/title>\n<meta name=\"description\" content=\"YUM is an open-source command-line as well as a graphical based package management tool for RPM based Linuxor RHEL. Yum Commands Cheat Sheet for beginners.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Yum Commands Cheat Sheet for RHEL - Armour Infosec\" \/>\n<meta property=\"og:description\" content=\"YUM is an open-source command-line as well as a graphical based package management tool for RPM based Linuxor RHEL. Yum Commands Cheat Sheet for beginners.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/\" \/>\n<meta property=\"og:site_name\" content=\"Armour Infosec\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ArmourInfosec\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-06T10:59:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-06T11:52:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.armourinfosec.com\/wp-content\/uploads\/2015\/09\/yum.png\" \/>\n\t<meta property=\"og:image:width\" content=\"450\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Armour Infosec\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ArmourInfosec\" \/>\n<meta name=\"twitter:site\" content=\"@ArmourInfosec\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Armour Infosec\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/\",\"url\":\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/\",\"name\":\"Yum Commands Cheat Sheet for RHEL - Armour Infosec\",\"isPartOf\":{\"@id\":\"https:\/\/www.armourinfosec.com\/#website\"},\"datePublished\":\"2020-04-06T10:59:56+00:00\",\"dateModified\":\"2020-04-06T11:52:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.armourinfosec.com\/#\/schema\/person\/1d8ec30560e735c34fa5d464a1357308\"},\"description\":\"YUM is an open-source command-line as well as a graphical based package management tool for RPM based Linuxor RHEL. Yum Commands Cheat Sheet for beginners.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.armourinfosec.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Yum Commands Cheat Sheet for RHEL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.armourinfosec.com\/#website\",\"url\":\"https:\/\/www.armourinfosec.com\/\",\"name\":\"Armour Infosec\",\"description\":\"Do Your Part - Be Security Smart\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.armourinfosec.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.armourinfosec.com\/#\/schema\/person\/1d8ec30560e735c34fa5d464a1357308\",\"name\":\"Armour Infosec\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.armourinfosec.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17f812901d8294702576e81ddce5aa92?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17f812901d8294702576e81ddce5aa92?s=96&d=mm&r=g\",\"caption\":\"Armour Infosec\"},\"sameAs\":[\"https:\/\/www.armourinfosec.com\/\"],\"url\":\"https:\/\/www.armourinfosec.com\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Yum Commands Cheat Sheet for RHEL - Armour Infosec","description":"YUM is an open-source command-line as well as a graphical based package management tool for RPM based Linuxor RHEL. Yum Commands Cheat Sheet for beginners.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/","og_locale":"en_US","og_type":"article","og_title":"Yum Commands Cheat Sheet for RHEL - Armour Infosec","og_description":"YUM is an open-source command-line as well as a graphical based package management tool for RPM based Linuxor RHEL. Yum Commands Cheat Sheet for beginners.","og_url":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/","og_site_name":"Armour Infosec","article_publisher":"https:\/\/www.facebook.com\/ArmourInfosec","article_published_time":"2020-04-06T10:59:56+00:00","article_modified_time":"2020-04-06T11:52:03+00:00","og_image":[{"width":450,"height":300,"url":"https:\/\/www.armourinfosec.com\/wp-content\/uploads\/2015\/09\/yum.png","type":"image\/png"}],"author":"Armour Infosec","twitter_card":"summary_large_image","twitter_creator":"@ArmourInfosec","twitter_site":"@ArmourInfosec","twitter_misc":{"Written by":"Armour Infosec","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/","url":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/","name":"Yum Commands Cheat Sheet for RHEL - Armour Infosec","isPartOf":{"@id":"https:\/\/www.armourinfosec.com\/#website"},"datePublished":"2020-04-06T10:59:56+00:00","dateModified":"2020-04-06T11:52:03+00:00","author":{"@id":"https:\/\/www.armourinfosec.com\/#\/schema\/person\/1d8ec30560e735c34fa5d464a1357308"},"description":"YUM is an open-source command-line as well as a graphical based package management tool for RPM based Linuxor RHEL. Yum Commands Cheat Sheet for beginners.","breadcrumb":{"@id":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.armourinfosec.com\/yum-commands-cheat-sheet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.armourinfosec.com\/"},{"@type":"ListItem","position":2,"name":"Yum Commands Cheat Sheet for RHEL"}]},{"@type":"WebSite","@id":"https:\/\/www.armourinfosec.com\/#website","url":"https:\/\/www.armourinfosec.com\/","name":"Armour Infosec","description":"Do Your Part - Be Security Smart","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.armourinfosec.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.armourinfosec.com\/#\/schema\/person\/1d8ec30560e735c34fa5d464a1357308","name":"Armour Infosec","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.armourinfosec.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/17f812901d8294702576e81ddce5aa92?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17f812901d8294702576e81ddce5aa92?s=96&d=mm&r=g","caption":"Armour Infosec"},"sameAs":["https:\/\/www.armourinfosec.com\/"],"url":"https:\/\/www.armourinfosec.com\/author\/admin\/"}]}},"menu_order":0,"_links":{"self":[{"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/posts\/25782"}],"collection":[{"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/comments?post=25782"}],"version-history":[{"count":0,"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/posts\/25782\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/media\/829"}],"wp:attachment":[{"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/media?parent=25782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/categories?post=25782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.armourinfosec.com\/wp-json\/wp\/v2\/tags?post=25782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}