Difference between revisions of "Dnf Red Hat"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with "'''Remember sudo *dnf search foo # Search for package containing foo in either name or short description")
 
m
Line 1: Line 1:
 
'''Remember [[sudo]]
 
'''Remember [[sudo]]
 
*dnf search foo  # Search for package containing foo in either name or short description
 
*dnf search foo  # Search for package containing foo in either name or short description
 +
*dnf list              # List all installed packages
 +
*dnf list *lib*      # List all files containing lib in its name

Revision as of 08:55, 20 February 2024

Remember sudo

  • dnf search foo # Search for package containing foo in either name or short description
  • dnf list # List all installed packages
  • dnf list *lib* # List all files containing lib in its name