Zypper Cheat Sheet Or Type M an Zypper on a Terminal

Zypper Cheat Sheet Or Type M an Zypper on a Terminal

More Information: Page 1 Zypper Cheat Sheet https://en.opensuse.org/SDB:Zypper_usage or type m an zypper on a terminal For Zypper version 1.0.9 Package Management Source Packages and Build Dependencies Basic Help Selecting Packages zypper source-install or zypper si Examples: zypper #list the available global options and commands By capability name: zypper si zypper zypper help [command] #Print help for a specific command zypper in 'perl(Log::Log4perl)' Install only the source package zypper shell or zypper sh #Open a zypper shell session zypper in qt zypper in -D zypper By capability name and/or architecture and/or version Install only the build dependencies zypper in 'zypper<0.12.10' Repository Management zypper in -d zypper zypper in zypper.i586=0.12.11 Listing Defined Repositories By exact package name (--name) Updating Packages zypper in -n ftp zypper repos or zypper lr By exact package name and repository (implies --name) zypper update or zypper up Examples: zypper in factory:zypper Examples: zypper lr -u #include repo URI on the table By package name using wildcards zypper up #update all installed packages zypper lr -P #include repo priority and sort by it zypper in yast*ftp* with newer version as far as possible By specifying a .rpm file to install zypper up libzypp zypper #update libzypp Refreshing Repositories zypper in skype-2.0.0.72-suse.i586.rpm and zypper zypper refresh or zypper ref zypper in sqlite3 #update sqlite3 or install Installing Packages Examples: if not yet installed zypper ref packman main #specify repos to be updated zypper install or zypper in zypper ref -f upd #force update of repo 'upd' Examples: zypper install git Zypper in Scripts and Applications Modifying Repositories By capability they provide Non Interactive Mode zypper modifyrepo or zypper mr zypper in MozillaFirefox \< 3 Others zypper --non-interactive Examples: zypper in yast* #install all yast modules Examples: zypper mr -d 6 #disable repo #6 zypper in -t pattern lamp_server #install lamp_server zypper --non-interactive patch #skips all interactive zypper mr -rk -p 70 upd #enable autorefresh and rpm pattern (packages needed for a LAMP server) patches which would require user confirmation files 'caching' for 'upd' repo and set its priority to 70 zypper in vim -emacs #install vim and remove emacs zypper mr -Ka #disable rpm files caching for all repos zypper in amarok upd:libxine1 #install libxine1 from upd No GPG Checks Mode zypper mr -kt #enable rpm files caching for remote repos zypper --no-gpg-checks Removing Packages Adding Repositories zypper remove or zypper rm Auto-agree with Licenses zypper addrepo or zypper ar #followed by the repo url and alias Examples: zypper --auto-agree-with-licenses Example: zypper remove sqlite zypper ar http://download.opensuse.org/update/11.1/ update Quiet Output Export/Import Repositories zypper --quiet Removing Repositories Renaming Repositories (for the alias only) zypper repos --export or zypper lr -e XML Output zypper removerepo or zypper rr zypper namerepo or zypper nr Examples: Examples: Examples: zypper lr --export backups/repos/foo.repo zypper --xmlout zypper rr packman main zypper nr 3 upd zypper ar backups/repos/foo.repo #import.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us