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
Last revisionBoth sides next revision
linux:rhel [2024/01/29 10:42] tmadelinux:rhel [2024/03/15 10:53] – [Search & Install] tmade
Line 39: Line 39:
   yum info expat   yum info expat
   rm -rf /var/lib/rpm/backup   rm -rf /var/lib/rpm/backup
 +or
 +  mv /var/lib/rpm/__db* /tmp/
 +  rpm --rebuilddb
 +  yum clean all
      
-=== Systeminfo ===+==== Systeminfo ====
  
   lsb_release -d                                          #>= RHEL7   lsb_release -d                                          #>= RHEL7
   cat /etc/redhat-release                                 #<= RHEL6   cat /etc/redhat-release                                 #<= RHEL6
      
-=== Search & Install ===+==== Search & Install ====
  
   yum search package   yum search package
   yum search all package   yum search all package
   yum list java*                                                                                                       #search versions, getting also repos which contain the package   yum list java*                                                                                                       #search versions, getting also repos which contain the package
 +  yum list java-1.8.0-ibm*
   yum reinstall package   yum reinstall package
   yum install package   yum install package
Line 57: Line 62:
   pkcon search name package                                                                                            #shows all available versions of a package   pkcon search name package                                                                                            #shows all available versions of a package
  
-=== Satellite ===+==== Satellite ====
  
   /etc/init.d/taskomatic restart    /etc/init.d/taskomatic restart 
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