Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:rhel [2019/11/29 10:45] – [PATCH] tmadelinux:rhel [2020/05/15 11:23] – [PATCH] tmade
Line 3: Line 3:
 ====PATCH==== ====PATCH====
  
-  yum repolist all +  yum repolist all                                        #List all repos 
-  yum repolist all |grep enabled+  /etc/yum.repos.d                                        #Repo folder 
 +  yum repolist all |grep enabled                          #List active repos
   yum repolist   yum repolist
   yum makecache    yum makecache 
Line 24: Line 25:
   zypper clean -a   zypper clean -a
      
-=== Info ===+=== Systeminfo ===
  
-  lsb_release -d +  lsb_release -d                                          #>= RHEL7 
-  cat /etc/redhat-release+  cat /etc/redhat-release                                 #<= RHEL6
      
 === Search & Install === === Search & Install ===
Line 33: Line 34:
   yum search package   yum search package
   yum search all package   yum search all package
-  yum list java*                                                                                                       #search versions+  yum list java*                                                                                                       #search versions, getting also repos which contain the package
   yum reinstall package   yum reinstall package
   yum install package   yum install package
linux/rhel.txt · Last modified: 2024/03/27 08:25 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki