Skip to content

Commit

Permalink
Update zypper.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Jan 11, 2024
1 parent a3d08ed commit 8e9374a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cheat-sheet/Packaging/zypper.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@

zypper install <package>

zypper refresh # Update repository infos
zypper refresh # Update repository infos

zypper list-updates
zypper repos # List configured repositories
zypper repos # List configured repositories

zypper dist-upgrade # Upgrade distribution
zypper dup # Upgrade distribution (alias)
zypper dist-upgrade # Upgrade distribution
zypper dup # Upgrade distribution (alias)

zypper search <package> # Search for <package>
zypper search <package> # Search for <package>
zypper search --search-descriptions <package>

zypper clean # Clean package cache
zypper clean # Clean package cache

# For safe updates:
zypper mr –keep-packages –remote # Enable caching of packages
zypper dup -D # Fetch packages using a dry run
zypper mr –all –no-refresh # Set cache usage for following dup
zypper dup # Upgrade!
zypper dup -D # Fetch packages using a dry run
zypper mr –all –no-refresh # Set cache usage for following dup
zypper dup # Upgrade!

0 comments on commit 8e9374a

Please sign in to comment.