Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
112 views
2 pages
Yum Command Cheat Sheet
Uploaded by
Fabrizio Bamba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Yum Command Cheat Sheet For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
112 views
2 pages
Yum Command Cheat Sheet
Uploaded by
Fabrizio Bamba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Yum Command Cheat Sheet For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 2
Search
Fullscreen
YUM COMMAND CHEAT SHEET for Red Hat Enterprise Linux YUM QUERIES 'SUBCOMMAND help ‘DESCRIPTIONS AND TASKS Display yum commands and options yu help Show yur subcommands and options Individual packages List nfo provides search updateinto List package names from repositories yum List available Ustallavalable packages yum List installed {ist all installed packages yum List all {st installed and available packages yum List kernel {ist installed and available kernel packages Display information about a package yum info vsftpd Ustinfo about vsftpd package Display dependencies tor a package yum deplist nfs-utils {ist dependencies and packages providing them Find packages that provide the queried file yum provides “*bin/top” Show package that contains top commana yum provides “*/READNE. top’ Show package contaning README.op fhe ‘Search package names and descriptions for aterm yum search sanba Find packages with samba in name or description Get information about available package updates ‘yum updateinfo security Get info on available security updates Groups of packages, grouplist ‘groupinfo check-update List names of installed and avaiable package groups Display description and contents of a package group yum groupinfo “Web Server” See packages in Web Server group Query repesiteres for available package updates Psa ne SSUBCOMMAND repolist repointo Fep0-pkos, mmakecache [DESCRIPTIONS AND TASKS Display enabled software repositories, Display information about enabled yum repositories * yun repoinfo rhel-7-server -rpas. See info on rhel7-server-rpms repo ‘Work with packages in a particular repository * yum repo-pkgs my-rpas List {ist packages from my-rpms repo yum repo-pkgs ay-rpas install. Install all packages from my-rpms repo ‘Yun repo-pkgs sy-rpas renove Remove all packages from my-"pms repo Download yum repository data to cache FEMUR ‘SUBCOMMAND check history fssnapshot fs ‘SUBCOMMAND “instal update vupdate-to upgrade ocalinstall ‘downgrade reinstall, autorenove ‘roupinstall DESCRIPTIONS AND TASKS ‘Check the iocal RPM database for problems (runs fora long time) View and use yum transactions yun history List List all yum instal, update and erase actions yun history info 3 Show details of yum transaction 3 yun history undo 3 Undo the yum action from transaction 3 yun history redo 3 Redo the undone yum action from transaction3 Clear out cached package data yun clean packages Delete packages saved in cache yun clean all Clean out a packages and meta data from cache LUstLVM stapshots(heips rol backatter package updates) {Acton filesystem (prevent doc or language file install (on minimal systems) yun fs filters Uist enabied filesystem fiters yun fs. documentation ter all docs from being installed (careful) a DESCRIPTIONS AND TASKS Tnstall@ package froma repository to your system yun install vsftpd Install the vsttpd package Update one or all packages on your system yun update Update all packages with available updates yun update httpd Update the nttpd package (it available) ‘yun update --security Apply security-related package updates Update one or all packages toa particular version Update packages taking obsoletes info account Install a package froma loca file, tp, or ftp yu localinstall abe-1-1.5686.rpm Install abc package trom local directory yun localinstall http: /ayrepo/abe-1- Installabe trom FTP ste 1686.1 Downgrade a package to an earlier version ‘yun downgrade abe Bowngrade the abc package to an earlier version Reinstall the current version of a package yun reinstall util-Limox Reinstall utiinux to replace any deleted files) Remove one package andinstall another yun swap ftp ftp Remove ftp package and instal ftp package Erase a package (and possibly dependencies) from vour system yun renove vsftpd Remove the vsftpd package and dependencies Same as erase Some as erase pus removes addtional unneeded packages * yun autorenove httpd Remove httpd and other unneeded packages Install all packages in the selected group yun groupinstall “Web server” Install Web Server packagesPS SUBCOMMANO DESCRIPTIONS AND TASKS. Pee ‘COMMAND DESCRIPTION Tangavailable List all avaliable languages = Langinfo List packages available fora language * ‘yun langinfo es Uist packages associated with Spanish language ‘anginstall Install packages associated witha particular language * ‘yum langinstall es Install packages associated with Spanish language angList List languages that are installed * Jangresove Remove installed language packs fora language * ‘yum langrenove es Remove packages associated with Spanish language Eee ed ‘OPTION DESCRIPTION “y_ Assume yesif prompted ‘Assume no it prompted +4 Produce no output -v_ Produce extra debugging output <-noplugins Run command without loading any yum plugins | s-disableplugin= Disable a particular plugin for single command ‘yun --disableplugin=langpacks info vsftpd s-enableplugin= Enable a plugin that is installed but currently, disabled yun --enableplugin=ps ps Show packages tied to running processes ‘enablerepo= Enable currently disabled repo fora single ‘command (wildcards okay) ‘yum install docker \ “-enablerepo=rhel-7-server-extras-rpm =-disablerepo= Disable currently enabled repo fora single ‘command (wildcards okay) ‘yun List available --disablerepo=epel =-downloadonly Download to /var/cache/yum/arch/prod|repoy packages/, but don't instal ‘yum install --dovmlosdonly vsftpd Download vstted package to cache Replace 272 with vendors, rom-groups, fond others to iter output ches, Display changelog information of package apg © 2014 eat ne. Ra at, Red at rere Lin he Shuman oo. and. ae radars ot Reo repeteresinine Us ana nr curr Unt te regeteres ager tin avalos inthe US and ote cones. Tind-repos-of-install Find which repository @ package comes trom’ needs-restarting Find processes that have been updated ‘andneed to restart repoclosure Get unmet dependency ist from repositories repoquery Query remote repos and ocal RPM database epoquery --requires --resolve bash ‘Show dependent packages reposyne Synchronize yum repositories to @ local airectory reposyne -r rhel-atonic-host-beta-rpas Get packages from repo repotrack Download a packege andallits dependencies. ‘show-installed List installed RPM packages and statistics verifytree Check the local yum repesitory for consistency. ‘yun-conplete-transaction Try to complete yum transactions that didnt finish yumi Check or change the yum database yundowloader Download a package from arepo to current directory Type man yum for futher details on all yum subcommands and options * New options for RHEL 7 “== Some options need yum plugins. Type yum List “yum-plugin** to see avaliable plugin. gag redhat.
You might also like
Yum Commands
PDF
No ratings yet
Yum Commands
2 pages
Package Manager
PDF
No ratings yet
Package Manager
8 pages
YUM for old version
PDF
No ratings yet
YUM for old version
12 pages
Yum Commands
PDF
No ratings yet
Yum Commands
25 pages
RPM Queries: Information About Specific Packages
PDF
No ratings yet
RPM Queries: Information About Specific Packages
8 pages
13.1 Install and Update Software Packages
PDF
No ratings yet
13.1 Install and Update Software Packages
3 pages
Chapter 9. Yum Red Hat Enterprise Linux 7 _ Red Hat Customer Portal
PDF
No ratings yet
Chapter 9. Yum Red Hat Enterprise Linux 7 _ Red Hat Customer Portal
62 pages
Yum Command Examples - Install, Uninstall, Update Packages
PDF
No ratings yet
Yum Command Examples - Install, Uninstall, Update Packages
13 pages
Yum PDF
PDF
No ratings yet
Yum PDF
7 pages
YUM Server Client Configuration
PDF
No ratings yet
YUM Server Client Configuration
20 pages
Acquiring and Managing Software: A-Debian GNU/Linux
PDF
No ratings yet
Acquiring and Managing Software: A-Debian GNU/Linux
4 pages
Linux - Part 2a
PDF
No ratings yet
Linux - Part 2a
44 pages
YUM Document
PDF
No ratings yet
YUM Document
5 pages
Yum
PDF
No ratings yet
Yum
37 pages
YUM Server Configuration Steps: VI /etc/fstab
PDF
No ratings yet
YUM Server Configuration Steps: VI /etc/fstab
21 pages
Pkgmanage
PDF
100% (1)
Pkgmanage
19 pages
YUM Server Configuration Steps: VI /etc/fstab
PDF
No ratings yet
YUM Server Configuration Steps: VI /etc/fstab
21 pages
13 Lab Manual Linux Software Package Management
PDF
100% (2)
13 Lab Manual Linux Software Package Management
5 pages
Ubuntu 18
PDF
No ratings yet
Ubuntu 18
10 pages
Subject Name:-System & Network Administration Presentation Topic: - Getting and Managing Software
PDF
No ratings yet
Subject Name:-System & Network Administration Presentation Topic: - Getting and Managing Software
16 pages
YUM Overview
PDF
No ratings yet
YUM Overview
10 pages
9.YUM Server & Package Management
PDF
No ratings yet
9.YUM Server & Package Management
7 pages
YUM Configuration in RHEL 5
PDF
No ratings yet
YUM Configuration in RHEL 5
7 pages
RHEL vs ubuntu
PDF
No ratings yet
RHEL vs ubuntu
6 pages
A Little Survival Guide To Command Line: Description Example
PDF
No ratings yet
A Little Survival Guide To Command Line: Description Example
1 page
Setup Redhat Server
PDF
No ratings yet
Setup Redhat Server
10 pages
Fedora Help
PDF
No ratings yet
Fedora Help
84 pages
Apt 2 Yum
PDF
No ratings yet
Apt 2 Yum
3 pages
package_management-4
PDF
No ratings yet
package_management-4
5 pages
Centos Ubuntu Commands Comparison
PDF
No ratings yet
Centos Ubuntu Commands Comparison
4 pages
Learn Linux 101
PDF
No ratings yet
Learn Linux 101
25 pages
Sam
PDF
No ratings yet
Sam
48 pages
Yum and RPM L-Lpic1-V3-102-5 PDF
PDF
No ratings yet
Yum and RPM L-Lpic1-V3-102-5 PDF
26 pages
Linux Command Cheat Sheet Part 2
PDF
No ratings yet
Linux Command Cheat Sheet Part 2
6 pages
How to Configure YUM Repository in RHEL Linux(hot)
PDF
No ratings yet
How to Configure YUM Repository in RHEL Linux(hot)
1 page
Lecture 3
PDF
No ratings yet
Lecture 3
49 pages
Chapter 2
PDF
No ratings yet
Chapter 2
18 pages
RPM, Yum, and Tar
PDF
No ratings yet
RPM, Yum, and Tar
16 pages
tp4
PDF
No ratings yet
tp4
4 pages
Linux
PDF
No ratings yet
Linux
41 pages
Linux Commands, Package Management
PDF
No ratings yet
Linux Commands, Package Management
50 pages
Chapter 3 - Package Management
PDF
No ratings yet
Chapter 3 - Package Management
17 pages
Xorg Supports Several Mechanisms For Supplying/obtaining
PDF
No ratings yet
Xorg Supports Several Mechanisms For Supplying/obtaining
8 pages
Yum Server
PDF
No ratings yet
Yum Server
3 pages
4. Lesson 3 - Managing Software and Processes - Part 1
PDF
No ratings yet
4. Lesson 3 - Managing Software and Processes - Part 1
8 pages
Setup Local Yum Repository On CentOS 7
PDF
No ratings yet
Setup Local Yum Repository On CentOS 7
9 pages
CHAPTER 5 Software Management and System Monitoring
PDF
No ratings yet
CHAPTER 5 Software Management and System Monitoring
46 pages
Linux command
PDF
No ratings yet
Linux command
4 pages
How To Configure Linux Yum Server Step by Step Guide Example and Implementation
PDF
No ratings yet
How To Configure Linux Yum Server Step by Step Guide Example and Implementation
5 pages