ZYPPER(8) ZYPPER ZYPPER(8) (NAME) zypper - ZYpp (libzypp) (SYNOPSIS) zypper [--global-opts] command [--command-opts] [command-arguments] zypper subcommand [--command-opts] [command-arguments] zypper help command (DESCRIPTION) zypper ZYpp (libzypp) . . (Transactional systems) (mount) zypper . transactional-wrapper zypper . (wrapper) zypper . transactional-wrapper - transactional-update - . (CONCEPTS) libzypp zypper . (System Packages) @System System Packages . @System . ( ) (unwanted) (orphaned) (dropped) . : - - plaindir . dist-upgrade . plaindir : $ mkdir /LocalRepo $ zypper addrepo --refresh /LocalRepo LocalRepo LocalRepo REPO:PACKAGE : $ cp example.rpm /LocalRepo $ zypper install LocalRepo:example GPG . GPG . (Repositories) Libzypp RPM (patch) (pattern) . RPM (repositories) . HTTP FTP DVD . zypper . . (COMMANDS) (Repository Management) . GPG (GPG checks) GPG . . . ZYpp GPG . . . GPG rpm . GPG . . /etc/zypp/zypp.conf . addrepo modifyrepo . . . (COMMANDS) . (URI) ( RPM repo.) URI libzypp . Zypper URI openSUSE (OBS) addrepo . URI obs://project/[platform] . URI (COMMANDS) (Repository Management) . (Refresh) ( ) ( /var/cache/zypp/raw/alias) .solv ( solv) /var/cache/zypp/solv/alias . . auto-refresh . auto-refresh . zypper refresh ( refresh ). . ( ) . . ( ) repo.refresh.delay ZYpp (/etc/zypp/zypp.conf) . zypper zypper . : zypper -vv ref . (Services) . Libzypp Repository Index Service (RIS) Plugin Service . (RIS) . URI . zypper . (Service Management) . (Package Types) Zypper (resolvables) . package () patch () pattern () product () . package RPM. patch / . / needed ( ) unwanted () . / . zypper . applied () not needed () . . libzypp-17.23.0 /var/log/zypp/history . (since). (category) (severity) . category security () (recommended () bugfix ( )) (optional () feature () enhancement ()) document () yast. severity critical () important () moderate () low () unspecified (). . patch ( optional feature). patch --with-optional . install ( zypper install patch:openSUSE-2014-7). retracted () . (R) . . . pattern . product . srcpackage (.src.rpm). search install . application : libzypp-17.7.0 . resolvables (packages) resolvable (kind) . --type install info search . resolvable KIND:NAME ( patch:openSUSE-2014-7). (Package Dependencies) . (require) (recommend) (conflict) . . Zypper (dependency solver) . . . Focus on Job ( ) : Focus on Installed ( ) . . . Focus on Update ( ) . . --solver-focus MODE . Job Installed Update. [/etc/zypp/zypp.conf:solver.focus] . (Automatically installed packages) . ( zypper remove --clean-deps). Status search (i+) (i) . (Package File Conflicts) . . zypper ( --download-in-advance ). --dry-run . --dry-run --download-only . . --replacefiles zypper . . (COMMANDS) zypper . (GLOBAL OPTIONS) . . . . Zypper / . (SUBCOMMANDS) . (General Commands) help [command] . ( zypper zypper help) zypper . command zypper . . zypper help : $ zypper -h|--help [command] $ zypper [command] -h|--help shell (sh) . exit quit Ctrl-D . . libzypp SAT (openSUSE 11.0) . (Package Management Commands) info (if) [options] name[-version[-release]]... . . --match-substrings (* ?) . . . zypper ZYPPER_EXIT_INF_CAP_NOT_FOUND --ignore-unknown . -s, --match-substrings . -r, --repo alias|name|#|URI URI. . -t, --type type (: package). (Package Types) . --provides . --requires . --conflicts . --obsoletes . --recommends . --suggests . --supplements . --enhances . : $ zypper info workrave workrave $ zypper info -t patch libzypp libzypp $ zypper info -t pattern lamp_server lamp_server install (in) [options] name|capability|rpm_file_uri... . name () capability () . "NAME[.ARCH][ OP EDITION]" ARCH OP < <= = >= > EDITION "VERSION[-RELEASE]" . : zypper=0.8.8-2. NAME : /bin/vi libcurl.so.3 perl(Time::ParseDate). : zypper\>0.8.10 'zypper>0.8.10'. EDITION . . ARCH . ARCH . REPOSITORY REPOSITORY:PACKAGENAME . Zypper RPM . RPM install URI . : $ zypper install ~/rpms/foo.rpm http://some.site/bar.rpm Zypper . zypper . zypper ZYPPER_EXIT_INF_CAP_NOT_FOUND . Zypper plaindir . --download-only zypper clean /var/cache/zypper/RPMS . /var/cache/zypp/packages ( --pkg-cache-dir ). install - ! . : $ zypper install \!Firefox zypper remove Firefox install . - -- : $ zypper install -- -boring-game great-game great-game-manual -r, --repo alias|name|#|URI URI. . --repo . --repo --from . REPOSITORY:PACKAGENAME . -t, --type type (: package). (Package Types) . zypper se -t type [name] zypper info -t type name . patch zypper / . . zypper list-patches . product pattern zypper ( ) . -n, --name . -f, --force ( ) . --oldpackage . (rollback) . --force . --from alias|name|#|URI . install . --name (wildcards) . -C, --capability . -l, --auto-agree-with-licenses (yes) . . ( ) . --auto-agree-with-product-licenses . SUSEconnect . --replacefiles . . --download-as-needed . -D, --dry-run . --download-only ( (Package File Conflicts) ). --details . -y, --no-confirm . --non-interactive . (zypper --non-interactive COMMAND ...). no-confirm zypper . --allow-unsigned-rpm rpm. . . --gpgcheck-allow-unsigned-package . addrepo modifyrepo . (Solver): --debug-solver . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ) . . (zypper remove) . -R, --no-force-resolution . . (zypper remove). --solver-focus MODE . Job Installed Update. (Package Dependencies) . --recommends . [zypp.conf:solver.onlyRequires] . --no-recommends . [zypp.conf:solver.onlyRequires] . : -d, --download-only ( --pkg-cache-dir ). --dry-run ( (Package File Conflicts) ). --download-in-advance . . --download-in-heaps . . --download-in-advance --download-as-needed . --download-in-advance . --download-as-needed . --download mode . : only in-advance in-heaps as-needed. --download-mode . (Expert Options): . --allow-downgrade, --no-allow-downgrade . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change () . no ( ). : $ zypper install -t pattern lamp_server lamp_server. $ zypper install --no-recommends gv GhostScript . $ zypper install virtualbox-ose-2.0.6 $ zypper install virtualbox-ose=2.0.6 $ zypper install virtualbox-ose = 2.0.6 2.0.6 virtualbox-ose. source-install (si) name... . () . rpm -i . rpm /usr/src/packages/{SPECS,SOURCES} rpm . rpm --eval "%{_specdir} and %{_sourcedir}" . . : $ zypper search -t srcpackage -r alias|name|#|URI $ zypper search -t srcpackage -r alias|name|#|URI -d, --build-deps-only . -D, --no-build-deps . -r, --repo alias|name|#|URI (alias) URI . . --download-only . : $ zypper si -d dbus-1 dbus-1. verify (ve) [options] . zypper . -D, --dry-run . --download-only ( Package File Conflicts ). --details . -r, --repo alias|name|#|URI (alias) URI . . -y, --no-confirm . --non-interactive . (zypper --non-interactive COMMAND ...). no-confirm zypper . (Solver): --debug-solver (test case) . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ) . . (zypper remove) . -R, --no-force-resolution . . (zypper remove). --solver-focus MODE . Job Installed Update. Package Dependencies . --recommends . [zypp.conf:solver.onlyRequires] . --no-recommends . [zypp.conf:solver.onlyRequires] . : . --allow-downgrade, --no-allow-downgrade (downgrade) . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change (vendor) . no ( ). install . install-new-recommends (inr) [options] . . . zypper inr --no-recommends . . [zypp.conf:solver.onlyRequires] . -r, --repo alias|name|#|URI (alias) URI . . -D, --dry-run . --download-only ( Package File Conflicts ). --details . (Solver): --debug-solver (test case) . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ) . . (zypper remove) . -R, --no-force-resolution . . (zypper remove). --solver-focus MODE . Job Installed Update. Package Dependencies . --recommends . [zypp.conf:solver.onlyRequires] . --no-recommends . [zypp.conf:solver.onlyRequires] . : . --allow-downgrade, --no-allow-downgrade (downgrade) . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change (vendor) . no ( ). install . remove (rm) [options] name... remove (rm) [options] --capability capability... ( ) . remove . . zypper install !name . . install . -r, --repo alias|name|#|URI (alias) URI . . -t, --type type (: package). Package Types . (patches) zypper . . . -n, --name (). -C, --capability . -D, --dry-run . --details . -y, --no-confirm . --non-interactive . (zypper --non-interactive COMMAND ...). no-confirm zypper . (Solver): --debug-solver (test case) . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ) . . (zypper remove) . -R, --no-force-resolution . . (zypper remove). --solver-focus MODE . Job Installed Update. Package Dependencies . -u, --clean-deps . -U, --no-clean-deps . removeptf (rmptf) [options] ... PTF ( ). . install (-) . removeptf foo install -- -foo . install . PTF ( Program Temporary Fix) . PTF . PTF remove . removeptf . install purge-kernels [options] . [zypp.conf:multiversion.kernels] latest[-N] running oldest[+N] . --details . -D, --dry-run . (Update Management Commands) list-updates (lu) [options] . (vendor) . update . --all . -t, --type type (: package). Package Types . patch zypper list-patches . -r, --repo alias|name|#|URI (alias) URI . . -a, --all . --best-effort update . --filter-version-change LEVEL . LEVEL : none . . rebuild (rebuild counter) ( release). (upstream) (checkin) . package (release) (checkin / rebuild). . rebuild . Epoch . (patches) ( list-patches ). (Expert Options): . --allow-downgrade, --no-allow-downgrade (downgrade) (resolvables) . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change (vendor) . no ( ). update (up) [options] [packagename]... . /etc/zypp/vendors.d . "The following package updates will NOT be installed:" . . (wildcard) * ? . -t, --type type (: package). Package Types . patch zypper patches . -r, --repo alias|name|#|URI URI . . --skip-interactive . --with-interactive . -l, --auto-agree-with-licenses yes . . ( ) . --auto-agree-with-product-licenses . SUSEconnect . --replacefiles . . --download-as-needed . -D, --dry-run . --download-only ( Package File Conflicts ). --details . --best-effort << >> (best effort) . . . . -y, --no-confirm . --non-interactive . (zypper --non-interactive COMMAND ...). no-confirm zypper . (Solver related options): --debug-solver . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ). . (zypper remove) . -R, --no-force-resolution . (zypper remove). --solver-focus MODE . Job Installed Update. Package Dependencies . --recommends (required) (recommended) . [zypp.conf:solver.onlyRequires] . --no-recommends . [zypp.conf:solver.onlyRequires] . (Expert Options): . --allow-downgrade, --no-allow-downgrade . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change . no ( ). (Download-and-install mode options) install . list-patches (lp) [options] . zypper list-updates -t patch . = . -b, --bugzilla[=#[,...]] (Bugzilla) . --cve[=#[,...]] CVE . --date YYYY-MM-DD[,...] ( ) . -g, --category category[,...] . category Package Types . --severity severity[,...] . severity Package Types . --issue[=string[,...]] string . . zypper patch-info patchname . -a, *--all . . list-updates . --with-optional, --without-optional . . -r, --repo alias|name|#|URI URI . . patch-check (pchk) . . 0 100 101 EXIT CODES . --updatestack-only . --with-optional, --without-optional . . -r, --repo alias|name|#|URI URI. . patch [options] . / zypper . Package Types . patch . zypper update -t patch . --updatestack-only . --skip-not-applicable-patches . patch . . zypper patch-check . --with-update . zypper update . (update stack) --updatestack-only . --with-optional, --without-optional . . -b, --bugzilla #[,...] . list-patches --bugzilla . --cve #[,...] CVE MITRE . list-patches --cve . --date YYYY-MM-DD[,...] ( ) . -g, --category category[,...] . list-patches --category . category Package Types . --severity severity[,...] . list-patches --severity . severity Package Types . -r, --repo alias|name|#|URI URI . . --skip-interactive . --with-interactive . -l, --auto-agree-with-licenses yes . . ( ) . --auto-agree-with-product-licenses . SUSEconnect . --replacefiles . . --download-as-needed . -D, --dry-run . --download-only ( Package File Conflicts ). --details . -y, --no-confirm . --non-interactive . (zypper --non-interactive COMMAND ...). no-confirm zypper . (Solver related options): --debug-solver . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ). . (zypper remove) . -R, --no-force-resolution . (zypper remove). --solver-focus MODE . Job Installed Update. Package Dependencies . --recommends (required) (recommended) . [zypp.conf:solver.onlyRequires] . --no-recommends . [zypp.conf:solver.onlyRequires] . (Expert Options): . --allow-downgrade, --no-allow-downgrade . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change . no ( ). (Download-and-install mode options) install . dist-upgrade (dup) [options] . () ( ) . --from zypper . dup . ( ) . openSUSE 13.1 openSUSE 13.2. URL ( https://download.opensuse.org/distribution/13.1/repo/oss) $releasever (https://download.opensuse.org/distribution/$releasever/repo/oss). (13.1) . zypper --releasever . zypper --releasever 13.2... (https://download.opensuse.org/distribution/13.2/repo/oss) . --releasever 13.2 zypper . dup $releasever 13.2 --releasever . $releasever --releasever . Repository Management . : /var/log/updateTestcase-YYYY-MM-DD-hh-mm-ss ( ) . : openSUSE . . openSUSE . . : dist-upgrade . . . --from alias|name|#|URI . . --remove-orphaned (orphaned). (dropped) . dist-upgrade . . ':' - - plaindir . *System Packages* . -r, --repo alias|name|#|URI (alias) URI . --repo . . --repo --from . -l, --auto-agree-with-licenses yes . . ( ) . --auto-agree-with-product-licenses . SUSEconnect . --replacefiles . . --download-as-needed . -D, --dry-run . --download-only ( Package File Conflicts ). -y, --no-confirm . --non-interactive . (zypper --non-interactive COMMAND ...). no-confirm zypper . --details . (Solver related options): --debug-solver . . . /var/log/zypper.solverTestCase . . --force-resolution ( ) . . ( --no-allow-policy ). . (zypper remove) . -R, --no-force-resolution . (zypper remove). --solver-focus MODE . Job Installed Update. Package Dependencies . --recommends (required) (recommended) . [zypp.conf:solver.onlyRequires] . --no-recommends . [zypp.conf:solver.onlyRequires] . (Expert Options): . --allow-downgrade, --no-allow-downgrade . --allow-name-change, --no-allow-name-change . no . --allow-arch-change, --no-allow-arch-change . --allow-vendor-change, --no-allow-vendor-change . no ( ). (Download-and-install mode options) install . (Examples): $ zypper dup --from factory --from packman factory packman. (Query Commands) search (se) [options] [querystring|capability]... . (wildcard) * ? . / ( /^k.*e$/) (regular expression) . (capability) install . / . -f . (Status) (Name) (Summary) (Type) . zypper ZYPPER_EXIT_INF_CAP_NOT_FOUND --ignore-unknown . (se -s) (Status) (Name) (Type) (Version) (Architecture) (Repository). Repository (System Packages) ( @System) . (unwanted) (orphaned) (dropped) . (Status) : i+ i ( (Automatically installed packages) ) v empty ! (needed) .l ( (Package Locks Management) ) .P PTF ( ) . .R ( patch Package Types ) . v ( --details --repo ) . (se -v -s ) . : --match-substrings () (). --match-words . -x, --match-exact . --provides (provides). --requires (requires). --recommends (recommends). --suggests (suggests). --conflicts (conflicts). --obsoletes (obsoletes). --supplements (supplements). --enhances (enhances). --provides-pkg (provides) () . --requires-pkg (provides) () . --recommends-pkg (provides) () . --supplements-pkg (provides) () . --conflicts-pkg () . --obsoletes-pkg () . --suggests-pkg (provides) () . --enhances-pkg (provides) () . -n, --name . -f, --file-list . . ( /etc/ /bin/ /sbin/). -d, --search-descriptions . -C, --case-sensitive . -i, --installed-only . -u, --not-installed-only . --uninstalled-only . -t, --type type . Package Types . --type . packages patterns . -r, --repo alias|name|#|URI URI . . --sort-by-name (). --sort-by-repo . -s, --details . -v, --verbose --details ( --provides). : $ zypper se 'yast*' YaST ( ). $ zypper se -s --match-exact kernel-default kernel-default $ zypper se -dC --match-words RSI RSI ( ) . packages (pa) [options] [repository]... . zypper search -s -t package. -r, --repo alias|name|#|URI . -i, --installed-only . -u, --not-installed-only . --uninstalled-only . *--autoinstalled . --userinstalled . --system . --orphaned (orphaned) ( ). --system (o) . --suggested . --recommended . --unneeded . patches (pch) [options] [repository]... . zypper lp -a. -r, --repo alias|name_|#|URI . patterns (pt) [options] [repository]... . zypper search -s -t pattern. -r, --repo alias|name|#|URI . -i, --installed-only . -u, --not-installed-only . --uninstalled-only . products (pd) [options] [repository]... . zypper search -s -t product (base add-on) . -r, --repo alias|name|#|URI . -i, --installed-only . -u, --not-installed-only . --uninstalled-only . --xmlfwd tag XML: XML tag prod.- ( /etc/products.d) . . Tag ( /) xml prod.- . prod.- . . : $ zypper -x pd --xmlfwd name --xmlfwd register/target what-provides (wp) capability ( ). install . search : $ zypper what-provides 'zypper>1.6' $ zypper search --provides --match-exact 'zypper>1.6' : $ zypper search --provides --match-exact --case-sensitive 'zypper>1.6' (Repository Management) YaST RPM-MD (yum) rpm. ( ) . URI (alias) . URI . (name) . . . (alias) (name) URI (number) zypper repos refresh --repo --from . ( .repo (FILES) ). (Variable substitution): name URI .repo .service : $arch CPU . $basearch . iX86 i386 AMD64 Intel64 x86_64 . $releasever, $releasever_major, $releasever_minor openSUSE SUSE Linux . XML /product/version /etc/products.d/baseproduct . (http://ftp.gwdg.de/pub/linux/packman/suse/$releasever) . $releasever ( ) . $releasever ( ). $releasever --releasever . $releasever_major ( ) $releasever_minor . $releasever $releasever_major $releasever $releasever_minor . (Custom Variables) /etc/zypp/vars.d . . ( ) . () . $releasever 99.0 : echo "99.0" >/etc/zypp/vars.d/releasever /etc/zypp/vars.d : rm /etc/zypp/vars.d/releasever $releasever : zypper --releasever @--HERE--@ lr -u $ (escape) : zypper ar -f http://ftp.gwdg.de/pub/linux/packman/suse/\$releasever packman {} : zypper ar -f http://ftp.gwdg.de/pub/linux/packman/suse/\${releasever}_packman ${variable:-word} ${variable:+word} : SLE-${releasever_major}${releasever_minor:+-SP-$releasever_minor} : authority URI host port . . scheme user password URI . URI (Supported URI formats): scheme:@]host[:port]]/path[?query][#fragment] URI ( '@' ) %-encoded ( '%40') . CD DVD devices . o cd:/// dvd:/subdir?devices=/dev/sr0,/dev/sr1 FTP/HTTP/HTTPS ftp ftp (RFC1738 3.2.2). /%2f ( %2f) URL . ftp ( chroot ). proxy proxyport proxyuser proxypass . HTTP auth . basic digest ntlm negotiate . curl . SSL ssl_verify ( ). yes ( ) host peer no. Host "Common Name" "Subject Alternate Name" URL . Peer ssl_capath . No . Yes host peer . SSL ssl_clientcert ssl ssl_clientkey SSL . ssl_capath CA ( /etc/ssl/certs ). o ftp://user:pass@server/path/to/media/dir ftp://user:pass@server/%2fhome/user/path/to/media/dir http://user:pass@server/path https://user:pass@server/path?proxy=foo&proxyuser=me&proxypass=pw https://server/path?ssl_clientcert=/entitlement/1234.pem&ssl_clientkey=/entitlement/1234-key.pem () device (mount) . filesystem "auto" . o hd:/subdir?device=/dev/sda1&filesystem=reiserfs o dir:/directory/name ISO ( loopback) iso iso . url URL iso . mnt . filesystem iso "auto" . o iso:/?iso=CD1.iso&url=nfs://server/path/to/media iso:/?iso=CD1.iso&url=hd:/?device=/dev/hda iso:/subdir?iso=DVD1.iso&url=nfs://nfs-server/directory&mnt=/nfs/attach/point&filesystem=udf NFS NFSv4 tnfsv4:// type=nfs4 . (mountoptions) . "ro" () . o nfs://nfs-server/exported/path nfs://nfs-server/exported/path?mountoptions=ro&type=nfs4 nfs4://nfs-server/exported/path?mountoptions=ro CIFS/SMB cifs smb . cifs . (mountoptions) . "ro,guest" . "guest" "noguest" . Samba . workgroup domain workgroup . username:password authority URI user pass . o smb://servername/share/path/on/the/share cifs://usern:passw@servername/share/path/on/the/share?mountoptions=ro,noguest cifs://usern:passw@servername/share/path/on/the/share?workgroup=mygroup cifs://servername/share/path/on/the/share?user=usern&pass=passw (OBS - OpenSUSE Build Service) URI (OBS) addrepo . URI obs://project/[platform] project OBS platform () . platform openSUSE_$releasever obs.platform zypper.conf . openSUSE_Factory openSUSE_Tumbleweed . . URL . o obs://zypp:Head/ obs://zypp:Head/openSUSE_Factory obs://zypp:Head/openSUSE_Factory_Staging_Gcc49_standard (Commands): addrepo (ar) [options] URI alias addrepo (ar) [options] FILE*.repo* URI URI .repo . (auto-refresh) ( .repo ). addrepo -f --refresh modifyrepo . . *repo refresh . -r, --repo file.repo URI .repo -c, --check URI . -C, --no-check URI . -n, --name name . -e, --enable (). -d, --disable . . -f, --refresh . . -F, --no-refresh . -p, --priority [1-2147483647]|0 . 1 2147483647 . -p 0 (99) . . -k, --keep-packages () RPM . -K, --no-keep-packages () RPM. -g, --gpgcheck GPG . GPG checks . --gpgcheck-strict GPG . GPG . --gpgcheck-allow-unsigned --gpgcheck-allow-unsigned-repo --gpgcheck-allow-unsigned-package --gpgcheck-allow-unsigned-repo GPG . --gpgcheck-allow-unsigned-package GPG . -G, --no-gpgcheck GPG . GPG . . . --default-gpgcheck GPG /etc/zypp/zypp.conf. . zypp.conf --gpgcheck GPG checks . : $ zypper ar -c -n 'Packman 11.1 repo' http://packman.iu-bremen.de/suse/11.1 packman HTTP Packman 11.1 repo packman . $ zypper ar https://download.opensuse.org/repositories/zypp:/svn/openSUSE_Factory/zypp:svn.repo $ zypper ar myreposbackup.repo .repo. removerepo (rr) [options] alias|name|#|URI... URI (aggregate). --loose-auth URI --loose-query (query string) URI -a, --all . -l, --local . -t, --remote (http/https/ftp). -m, --medium-type type . (scheme) URI http dvd . . repos (lr) [options] [repo]... : # ( ) Alias ( ) Name () Enabled ( ) GPG Check ( GPG (r) rpm (p) ) Refresh ( ) Priority () Type ( : rpm-md yast2 plaindir). main.repoListColumns zypper.conf . # Alias Name Enabled GPG Check Refresh . . . . . zypper lr URI zypper lr factory zypper lr 2. -e, --export FILE.repo|- zypper repo . - . -a, --alias (alias) . -n, --name . -u, --uri URI . -p, --priority . -r, --refresh . -k, --keep-packages keep-packages . keep-packages Yes . .keep_packages pkg-cache - + ( FILES ). -d, --details URI . -E, --show-enabled-only . -U, --sort-by-uri URI . -P, --sort-by-priority . -A, --sort-by-alias . -N, --sort-by-name . : $ zypper repos -e myreposbackup.repo : $ zypper lr -pu URI : renamerepo (nr) alias|name|#|URI new-alias URI. : $ zypper nr 8 myrepo myrepo ( ). modifyrepo (mr) options alias|name|#|URI... modifyrepo (mr) options --all|--remote|--local|--medium-type URI (aggregate). -n, --name name . -e, --enable . -d, --disable . -f, --refresh (legacy: -r) . -F, --no-refresh (legacy: -R) . -p, --priority [1-2147483647]|0 . 1 2147483647 . -p 0 (99) . . -k, --keep-packages () RPM. -K, --no-keep-packages () RPM. -g, --gpgcheck GPG . GPG checks . --gpgcheck-strict GPG . GPG . --gpgcheck-allow-unsigned --gpgcheck-allow-unsigned-repo --gpgcheck-allow-unsigned-package --gpgcheck-allow-unsigned-repo GPG . --gpgcheck-allow-unsigned-package GPG . -G, --no-gpgcheck GPG . GPG . . . --default-gpgcheck GPG /etc/zypp/zypp.conf. . zypp.conf --gpgcheck GPG checks . -a, --all . -l, --local . -t, --remote (http/https/ftp). -m, --medium-type type . (scheme) URI http dvd . . : $ zypper mr -kt . $ zypper mr -er updates updates . $ zypper mr -da . refresh (ref) [alias|name|#|URI]... URI. . -f, --force . . -b, --force-build . . -d, --force-download . . -B, --build-only () . . -D, --download-only . --include-all-archs (Multi-Arch): . . zypper (mirroring) . -s, --services . clean (cc) [options] [alias|name|#|URI]... () . . -m, --metadata . -M, --raw-metadata . -a, --all . (Service Management) services addservice removeservice modifyservice refresh-services . URI ( ) . ( ) . ls ms . --keep-packages . . addservice (as) [options] URI alias URI . (alias) . URI modifyservice . . refresh-services . URI . -n, --name name . -e, --enable ( ). -d, --disable . -f, --refresh . -F, --no-refresh . removeservice (rs) [options] alias|name|#|URI... . . --loose-auth URI. --loose-query (query string) URI. modifyservice (ms) options alias|name|#|URI modifyservice (ms) options --all|--remote|--local|--medium-type . (Common Options) . -n, --name name . -e, --enable . -d, --disable ( ). -f, --refresh (legacy: -r) . -F, --no-refresh (legacy: -R) . -a, --all . -l, --local . -t, --remote . -m, --medium-type type . RIS (RIS Service Specific Options) (Repository Index Services) . -i, --ar-to-enable alias RIS . -I, --ar-to-disable alias RIS . -j, --rr-to-enable alias RIS . -J, --rr-to-disable alias RIS . -k, --cl-to-enable RIS . -K, --cl-to-disable RIS . services (ls) [options] . -u, --uri URI . -p, --priority . -d, --details URI . -r, --with-repos . -P, --sort-by-priority . -E, --show-enabled-only . --with-repos ( ) . -U, --sort-by-uri URI. -N, --sort-by-name . refresh-services (refs) [options] alias|name|#|URI... . RIS . / modify-repo --restore-status . . --with-repos refresh . -f, --force . . -r, --with-repos . -R, --restore-status / . . (Package Locks Management) . /etc/zypp/locks ( locks(5) ). . . lock-spec "NAME [OP EDITION]" NAME (glob) * ? . ( patch:foo product:baa) --type . . = < <= > >= != . (Note) (shell) . locks (ll) . -m, --matches (resolvables) . . -s, --solvables . . addlock (al) [options] lock-spec... . . -r, --repo alias|name|#|URI . -t, --type type (: package). Package Types . -m, --comment comment . removelock (rl) [options] lock-number|lock-spec... . zypper locks lock-spec . -r, --repo alias|name|#|URI . -t, --type type (: package). Package Types . cleanlocks (cl) . ( ) . (Locale Management) . . . . locales (lloc) [OPTIONS] [LOCALE] ... . . () () . -a, --all . -p, --packages . addlocale (aloc) [OPTIONS] ... () . -n, --no-packages . removelocale (rloc) [OPTIONS] ... () . -n, --no-packages . : $ zypper locales . $ zypper locales --packages de en de en ( ). $ zypper locales en_ en (fallback) en. $ zypper locales en* en . $ zypper aloc --packages de_CH de_CH . (Other Commands) system-architecture . versioncmp (vcmp) VERSION1 VERSION2 VERSION1 VERSION2 . 0 VERSION1 11 VERSION2 12 . . --terse VERSION1 VERSION2 / / . -m, --match (release) . : $ zypper vcmp -m 0.15.3 0.15.3-2 0.15.3 matches 0.15.3-2 $ zypper vcmp 0.15.3 0.15.3-2 0.15.3 is older than 0.15.3-2 targetos (tos) (ID) . XPath:/product/register/target (current-rootdir)/etc/products.d/baseproduct . baseproduct baseproduct --terse . terse baseproduct . -l, --label baseproduct . licenses EULA . / EULA . EULA . EULA . . ( appliance) . download [OPTIONS] rpm . libzypp (/var/cache/zypp/packages $XDG_CACHE_HOME/zypp/packages) --pkg-cache-dir . XML zypper --xmlout . path ( xpath: download-result/localpath@path): package zypper x86_64 --all-matches . . --dry-run . -r, --repo alias|name|#|URI URI . . --from alias|name|#|URI . . source-download [OPTIONS] rpm . -d, --directory dir rpm . /var/cache/zypper/source-download . --delete rpm . . --no-delete rpm . --status rpm rpm . ps [OPTIONS] . zypper ps . . : PID PPID UID Login Command Service Files -s, --short . . . --print format format . %s format . -d, --debugFile filename proc . . : $ zypper ps -ss . $ zypper ps -sss zypper ps --print "%s" . $ zypper ps --print "systemctl status %s" . needs-rebooting reboot-needed . reboot-needed installhint(reboot-needed) . (/etc/zypp/needreboot) reboot-needed . ZYPPER_EXIT_INF_REBOOT_NEEDED ZYPPER_EXIT_OK . . --quiet . (Subcommands) subcommand /usr/lib/zypper/commands $PATH . (SUBCOMMANDS) . (GLOBAL OPTIONS) -h, --help . --help . -V, --version . -c, --config file zypper.conf. --config . --config : 1. 2. --config file 3. [/etc/zypp/zypp.conf] ( libzypp) /etc/zypp/zypp.conf . zypp.conf . (FILES) . -v, --verbose . () . zypper -vv ref . -q, --quiet . ( ) . --verbose --verbose . --color, --no-color tty . [color] zypper.conf . -A, --no-abbrev . . . -t, --terse . --no-abbrev --no-color . -s, --table-style integer . . 0 1 9 . 10 11 . -n, --non-interactive . . --no-gpg-checks --ignore-unknown . --non-interactive-include-reboot-patches rebootSuggested . . : . -x, --xmlout XML. . -i, --ignore-unknown . --non-interactive . (globbing) . search info ZYPPER_EXIT_INF_CAP_NOT_FOUND ZYPPER_EXIT_OK . -D, --reposd-dir dir (.repo). /etc/zypp/repos.d . --servicesd-dir dir (.service). /etc/zypp/services.d . -C, --cache-dir dir (). /var/cache/zypp . --raw-cache-dir dir . /var/cache/zypp/raw . --solv-cache-dir dir ( solv). /var/cache/zypp/solv . --pkg-cache-dir dir rpm ( addrepo --keep-packages ). /var/cache/zypp/packages . + . --userdata string . . zypp (commit) . btrfs (snapshots) . . : --no-gpg-checks GPG . GPG . ( GPG (GPG checks) ). --gpg-auto-import-keys . . -p, --plus-repo URI . tmp# URI . . --plus-content tag tag . tag URL . . . . . refresh . : zypper --plus-content '' ref repo-debug : zypper --plus-content repo-debug search ... repo-debug: zypper --plus-content repo-debug search -r repo-debug ... debug : zypper in --plus-content debug some -debuginfo or -debugsource package --disable-repositories . ( --disable-system-resolvables ). --no-refresh ( ). . --no-cd CD/DVD. CD/DVD . --no-remote http ftp smb . . . --releasever version $releasever version . . $releasever dist-upgrade (dup) (Repository Management) . $releasever : zypper --releasever @--HERE--@ lr -u : -R, --root dir . repos.d rpm --root . (FILES) . --installroot dir --root . --disable-system-resolvables . . . (SUBCOMMANDS) git(1) . zypper_execdir (/usr/lib/zypper/commands) . (wrapper) . zypper_execdir $PATH . . "subcommand.seachSubcommandInPath" "no" zypper.conf . zypper mytask : o zypper-mytask . o $PATH . o (manpage) zypper-mytask . zypper help mytask . o . o libzypp . zypper subcommand zypper_execdir $PATH . zypper shell . (FILES) /etc/zypp/zypper.conf, $HOME/.zypper.conf () zypper. --config . . . ( ): 1. 2. $HOME/.zypper.conf 3. /etc/zypp/zypper.conf 4. [/etc/zypp/zypp.conf] ( libzypp) /etc/zypp/zypper.conf . /etc/zypp/zypp.conf . zypp.conf zypper.conf . /etc/zypp/zypp.conf ZYpp libzypp . . zypp.conf . $ZYPP_CONF . /etc/zypp/locks . (locks addlock removelock ) . ZYpp . /etc/zypp/repos.d (*.repo). . *zypper refresh* . --reposd-dir --root . ZYpp . /etc/zypp/services.d (*.service). . *zypper refs* . --servicesd-dir --root . ZYpp . /usr/lib/zypper/commands ( (SUBCOMMANDS) ) /var/cache/zypp/raw . --raw-cache-dir --root . ZYpp . /var/cache/zypp/solv solv. ZYpp . /var/cache/zypp/packages keep-packages ( modifyrepo ) RPM . . . .no_auto_prune pkg-cache . .keep_packages pkg-cache keep-packages . clean . ZYpp . /var/log/zypper.log . ( zypper-log(8) ). /var/log/zypper.solverTestCase --debug-solver . /var/log/updateTestcase-YYYY-MM-DD-hh-mm-ss zypper dup . /var/log/zypp/history . ~/.zypper_history ( shell ). /etc/zypp/needreboot reboot-needed . /etc/zypp/needreboot.d reboot-needed . (EXIT CODES) . src/zypper-main.h . 100 100 0 . : 0 - ZYPPER_EXIT_OK . 1 - ZYPPER_EXIT_ERR_BUG . 2 - ZYPPER_EXIT_ERR_SYNTAX . 3 - ZYPPER_EXIT_ERR_INVALID_ARGS . URI addrepo . 4 - ZYPPER_EXIT_ERR_ZYPP ZYPP . 5 - ZYPPER_EXIT_ERR_PRIVILEGES . 6 - ZYPPER_EXIT_NO_REPOS . 7 - ZYPPER_EXIT_ZYPP_LOCKED ZYPP packagekit . 8 - ZYPPER_EXIT_ERR_COMMIT . zypper verify . 100 - ZYPPER_EXIT_INF_UPDATE_NEEDED patch-check . 101 - ZYPPER_EXIT_INF_SEC_UPDATE_NEEDED patch-check . 102 - ZYPPER_EXIT_INF_REBOOT_NEEDED needs-rebooting . : . . needs-rebooting . 103 - ZYPPER_EXIT_INF_RESTART_NEEDED . ( zypper update) . 104 - ZYPPER_EXIT_INF_CAP_NOT_FOUND install remove ( ) . search info . --ignore-unknown . 105 - ZYPPER_EXIT_ON_SIGNAL SIGINT SIGTERM . 106 - ZYPPER_EXIT_INF_REPOS_SKIPPED . ( zypper ref -f). 107 - ZYPPER_EXIT_INF_RPM_SCRIPT_FAILED post% . rpm . . /var/log/zypp/history . ( (SUBCOMMANDS) ) . zypper help subcommand . (HOMEPAGE) (AUTHORS) (Martin Vidner) (Jan Kupec) (Michael Andres) (Duncan Mac-Vicar Prett) (Josef Reidinger) (Stanislav Visnovsky) . . (SEE ALSO) locks(5), zypper-log(8), YaST2(8) SUSE Linux 2026-09-04 ZYPPER(8)