Default search
If you just run a zypper search, or zypper se, then by default it uses --match-any and --match-substrings, --match-words. This is the way zypper is with out any options.
Using search options
If you use the option -d or --search-descriptions, then zypper will search for matches based on the summaries and descriptions of a packages.
An example would be;
zypper se -d firefox
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+------------------------------------------------+---------------------------+-----------
i | MozillaFirefox | Mozilla Firefox Web Bro-> | package
| MozillaFirefox | Mozilla Firefox Web Bro-> | srcpackage
| MozillaFirefox-branding-SLED | SLED branding of Mozill-> | package
| MozillaFirefox-branding-SLED | SLED branding of Mozill-> | srcpackage
| MozillaFirefox-branding-basedonopensuse | Provides MozillaFirefox-> | package
| MozillaFirefox-branding-openSUSE | openSUSE branding of Mo-> | srcpackage
| MozillaFirefox-branding-openSUSE | openSUSE branding of Mo-> | package
i | MozillaFirefox-branding-upstream | Upstream branding for M-> | package
i | MozillaFirefox-buildsymbols | Breakpad buildsymbols f-> | package
| MozillaFirefox-debuginfo | Debug information for p-> | package
| MozillaFirefox-debugsource | Debug sources for packa-> | package
| MozillaFirefox-devel | Devel package for Firefox | package
| MozillaFirefox-translations-common | Common translations for-> | package
| MozillaFirefox-translations-other | Extra translations for -> | package
| bleachbit | Remove unnecessary file-> | package
i | ca-certificates-mozilla | CA certificates for Ope-> | package
| ca-certificates-mozilla | CA certificates for Ope-> | srcpackage
| courseware-6200 | Get Ready for Open Sour-> | package
| courseware-6200 | Get Ready for Open Sour-> | srcpackage
i | docbook-css-stylesheets | DocBook CSS Stylesheets | package
| gecko-mediaplayer | Multimedia browser plug-> | package
| gecko-mediaplayer | Multimedia browser plug-> | srcpackage
| gnash | Free Flash movie player | package
| gnash | Free Flash movie player | srcpackage
| gnome-do | A powerful, speedy, and-> | package
| gnome-do | A powerful, speedy, and-> | srcpackage
| gnome-do-plugins | Plugins for GNOME Do | package
| gnome-do-plugins | Plugins for GNOME Do | srcpackage
i | gtk-oxygen-engine | A gtk engine using Qt/O-> | package
i | mhtml-firefox | Provides Firefox with M-> | package
| mhtml-firefox | Provides Firefox with M-> | srcpackage
i | moonshine | Desktop Shell for the M-> | package
i | moonshine-plugin | Moonlight-based Browser-> | package
i | mozilla-xulrunner192 | Mozilla Runtime Environ-> | package
| mozilla-xulrunner192 | Mozilla Runtime Environ-> | srcpackage
| mozilla-xulrunner192-32bit | Mozilla Runtime Environ-> | package
| mozilla-xulrunner192-translations-common | Common translations for-> | package
| mozilla-xulrunner192-translations-common-32bit | Common translations for-> | package
| mozilla-xulrunner192-translations-other | Extra translations for -> | package
| mozilla-xulrunner192-translations-other-32bit | Extra translations for -> | package
<snip>
i | openSUSE-2011-101 | update for MozillaFiref-> | patch
i | openSUSE-2011-9 | Mozilla Firefox and Thu-> | patch
| openSUSE-2012-112 | update for horde3, hord-> | patch
| openSUSE-2012-120 | update for MozillaFiref-> | patch
| openSUSE-2012-163 | update for icedtea-web | patch
| openSUSE-2012-165 | update for chromium, v8 | patch
| openSUSE-2012-18 | update for phpMyAdmin | patch
i | openSUSE-2012-25 | MozillFirefox: Update t-> | patch
| openSUSE-2012-83 | update for MozillaFiref-> | patch
| openSUSE-2012-92 | update for MozillaFiref-> | patch
| opensc | Smart Card Utilities | package
| perl-File-Mork | a module to read Mozill-> | package
i | tracker-miner-firefox | Tracker miner to index -> | package
i | xulrunner | Mozilla Runtime Environ-> | package
| xulrunner | Mozilla Runtime Environ-> | srcpackage
| xulrunner-32bit | Mozilla Runtime Environ-> | package
If you search using --match-exact, then zypper will only return matches that are exact to your search.
An example of an exact match search is;
zypper se --match-exact MozillaFirefox
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+----------------+-----------------------------+-----------
i | MozillaFirefox | Mozilla Firefox Web Browser | package
| MozillaFirefox | Mozilla Firefox Web Browser | srcpackage
If you know the proper capitalization of what you are searching for, then you can use the option -C or --case-sensitive.
An example of a case sensitive search would be;
zypper se -C MozillaFirefox
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------------------------------------+----------------------------------+-----------
i | MozillaFirefox | Mozilla Firefox Web Browser | package
| MozillaFirefox | Mozilla Firefox Web Browser | srcpackage
| MozillaFirefox-branding-SLED | SLED branding of MozillaFirefox | package
| MozillaFirefox-branding-SLED | SLED branding of MozillaFirefox | srcpackage
| MozillaFirefox-branding-basedonopensuse | Provides MozillaFirefox branding | package
| MozillaFirefox-branding-openSUSE | openSUSE branding of MozillaFi-> | srcpackage
| MozillaFirefox-branding-openSUSE | openSUSE branding of MozillaFi-> | package
i | MozillaFirefox-branding-upstream | Upstream branding for MozillaF-> | package
i | MozillaFirefox-buildsymbols | Breakpad buildsymbols for Mozi-> | package
| MozillaFirefox-debuginfo | Debug information for package -> | package
| MozillaFirefox-debugsource | Debug sources for package Mozi-> | package
| MozillaFirefox-devel | Devel package for Firefox | package
| MozillaFirefox-translations-common | Common translations for Mozill-> | package
| MozillaFirefox-translations-other | Extra translations for Mozilla-> | package
If you want to find packages installed, or search for an installed package use the option -i or --installed-only
An example of searching for installed packages would be;
zypper se -i firefox
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+----------------------------------+--------------------------------------------+--------
i | MozillaFirefox | Mozilla Firefox Web Browser | package
i | MozillaFirefox-branding-upstream | Upstream branding for MozillaFirefox | package
i | MozillaFirefox-buildsymbols | Breakpad buildsymbols for MozillaFirefox | package
i | mhtml-firefox | Provides Firefox with MHTML web archive -> | package
i | tracker-miner-firefox | Tracker miner to index Firefox bookmarks | package
If you are interested in finding packages that are not currently installed, then use the option -u or --uninstalled-only.
An example of finding packages not currently installed would be;
zypper se -u firefox
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------------------------------------+----------------------------------+-----------
| MozillaFirefox | Mozilla Firefox Web Browser | srcpackage
| MozillaFirefox-branding-SLED | SLED branding of MozillaFirefox | package
| MozillaFirefox-branding-SLED | SLED branding of MozillaFirefox | srcpackage
| MozillaFirefox-branding-basedonopensuse | Provides MozillaFirefox branding | package
| MozillaFirefox-branding-openSUSE | openSUSE branding of MozillaFi-> | srcpackage
| MozillaFirefox-branding-openSUSE | openSUSE branding of MozillaFi-> | package
| MozillaFirefox-debuginfo | Debug information for package -> | package
| MozillaFirefox-debugsource | Debug sources for package Mozi-> | package
| MozillaFirefox-devel | Devel package for Firefox | package
| MozillaFirefox-translations-common | Common translations for Mozill-> | package
| MozillaFirefox-translations-other | Extra translations for Mozilla-> | package
| mhtml-firefox | Provides Firefox with MHTML we-> | srcpackage
Using the option -t or --type will allow you to specify types such as architecture (i586, x86_64), package, patch, pattern, product, and srcpackage. You can use multiple types in your search. Product is a group of packages necessary to install a product. A pattern is a group of required or recommended packages to install some functionality, like KDE.
An example of this would be;
zypper se -t product
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------------------+-----------------------------+--------
i | openSUSE | openSUSE 12.1 | product
| openSUSE-Addon-NonOss | openSUSE 12.1 NonOSS Add on | product
zypper se -t pattern KDE
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+--------------+-----------------------------+--------
i | KDE4-BASIS | KDE 4.6 Base System | pattern
i | KDE4-DEFAULT | KDE 4.7 Desktop Environment | pattern
| KDE4-DEVEL | KDE 4.6 Build Dependencies | pattern
| KDE4-GAMES | KDE 4.7 Games | pattern
| devel_kde | KDE Development | pattern
| kde4 | KDE4 Desktop Environment | pattern
| kde4_basis | KDE4 Base System | pattern
You can also search in a specific repository by using -r or --repo, followed by the option; alias, name, number, or URI.
An example of searching in a given repository (I used the alias for this example. You can also use the number of the repository or the URI);
zypper se -r 'Mozilla Factory' firefox
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+------------------------------------+---------------------------------------+-----------
v | MozillaFirefox | Mozilla Firefox Web Browser | package
| MozillaFirefox | Mozilla Firefox Web Browser | srcpackage
| MozillaFirefox-branding-SLED | SLED branding of MozillaFirefox | package
| MozillaFirefox-branding-SLED | SLED branding of MozillaFirefox | srcpackage
| MozillaFirefox-branding-openSUSE | openSUSE branding of MozillaFirefox | package
| MozillaFirefox-branding-openSUSE | openSUSE branding of MozillaFirefox | srcpackage
v | MozillaFirefox-branding-upstream | Upstream branding for MozillaFirefox | package
v | MozillaFirefox-buildsymbols | Breakpad buildsymbols for MozillaFi-> | package
| MozillaFirefox-debuginfo | Debug information for package Mozil-> | package
| MozillaFirefox-debugsource | Debug sources for package MozillaFi-> | package
| MozillaFirefox-devel | Devel package for Firefox | package
| MozillaFirefox-translations-common | Common translations for MozillaFire-> | package
| MozillaFirefox-translations-other | Extra translations for MozillaFirefox | package
i | mhtml-firefox | Provides Firefox with MHTML web arc-> | package
| mhtml-firefox | Provides Firefox with MHTML web arc-> | srcpackage
You may wish to sort your results by name with (which is the default setting) --sort-by-name, or you may wish to sort your results by catalog using --sort-by-repo.
An example of sorting by repo;
zypper se --sort-by-repo chrom
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+---------------------------------------------+----------------------------------------------+-----------
| chroma | Abstract puzzle game with complex patterns-> | package
| chroma | Abstract puzzle game with complex patterns-> | srcpackage
| chroma-debuginfo | Debug information for package chroma | package
| chroma-debugsource | Debug sources for package chroma | package
i | chromium | Google's opens source browser project | package
| chromium | Google's opens source browser project | srcpackage
| chromium-bsu | Vertical Scrolling Space Shooter Game | package
| chromium-bsu | Vertical Scrolling Space Shooter Game | srcpackage
| chromium-bsu-debuginfo | Debug information for package chromium-bsu | package
| chromium-bsu-debugsource | Debug sources for package chromium-bsu | package
| chromium-desktop-gnome | Update to chromium to use Gnome keyring to-> | package
i | chromium-desktop-kde | Update to chromium to use KDE's kwallet to-> | package
i | chromium-ffmpeg | The ffmpeg lib for Google's opens source b-> | package
| chromium-ffmpeg | The ffmpeg lib for Google's opens source b-> | srcpackage
i | chromium-suid-helper | A suid helper to let a process willingly d-> | package
i | kwin-deco-chromi | KWin Decoration inspired by Google Chrome | package
| kwin-deco-chromi | KWin Decoration inspired by Google Chrome | srcpackage
| xorg-x11-driver-video-unichrome | The Unichrome Project | package
| xorg-x11-driver-video-unichrome | The Unichrome Project | srcpackage
| xorg-x11-driver-video-unichrome-debuginfo | Debug information for package xorg-x11-dri-> | package
| xorg-x11-driver-video-unichrome-debugsource | Debug sources for package xorg-x11-driver--> | package
In the case it listed chromium browser as installed, which is in my contrib repository. It also listed chromium-bsu as not installed but is found in the education repository.
You may know a lib that you need but not the name of the package. In this case using what-provides or wp, followed by the lib you are looking for will give you the result. I have demonstrated a zypper search of a lib below.
zypper wp libmozgnome.so
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+----------------------------------+---------+-----------------+--------+---------------------------------
v | mozilla-xulrunner192-gnome | package | 1.9.2.27-2.10.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.26-2.8.3 | x86_64 | Updates for openSUSE 12.1 12.1-0
i | mozilla-xulrunner192-gnome | package | 1.9.2.25-2.6.2 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.24-2.3.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.23-2.1.2 | x86_64 | openSUSE-12.1-Oss
v | mozilla-xulrunner192-gnome | package | 1.9.2.27-2.10.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.26-2.8.3 | i586 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.25-2.6.2 | i586 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.24-2.3.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | mozilla-xulrunner192-gnome | package | 1.9.2.23-2.1.2 | i586 | openSUSE-12.1-Oss
| mozilla-xulrunner192-gnome-32bit | package | 1.9.2.27-2.10.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| mozilla-xulrunner192-gnome-32bit | package | 1.9.2.26-2.8.3 | x86_64 | Updates for openSUSE 12.1 12.1-0
| mozilla-xulrunner192-gnome-32bit | package | 1.9.2.25-2.6.2 | x86_64 | Updates for openSUSE 12.1 12.1-0
| mozilla-xulrunner192-gnome-32bit | package | 1.9.2.24-2.3.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| mozilla-xulrunner192-gnome-32bit | package | 1.9.2.23-2.1.2 | x86_64 | openSUSE-12.1-Oss
v | xulrunner | package | 10.0.2-2.21.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 10.0.1-2.19.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 10.0-2.17.3 | x86_64 | Updates for openSUSE 12.1 12.1-0
i | xulrunner | package | 9.0.1-2.15.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 9.0-2.6.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 8.0-2.3.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 7.0.1-2.1.2 | x86_64 | openSUSE-12.1-Oss
v | xulrunner | package | 10.0.2-2.21.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 10.0.1-2.19.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 10.0-2.17.3 | i586 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 9.0.1-2.15.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 9.0-2.6.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 8.0-2.3.1 | i586 | Updates for openSUSE 12.1 12.1-0
v | xulrunner | package | 7.0.1-2.1.2 | i586 | openSUSE-12.1-Oss
| xulrunner-32bit | package | 10.0.2-2.21.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| xulrunner-32bit | package | 10.0.1-2.19.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| xulrunner-32bit | package | 10.0-2.17.3 | x86_64 | Updates for openSUSE 12.1 12.1-0
| xulrunner-32bit | package | 9.0.1-2.15.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| xulrunner-32bit | package | 9.0-2.6.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| xulrunner-32bit | package | 8.0-2.3.1 | x86_64 | Updates for openSUSE 12.1 12.1-0
| xulrunner-32bit | package | 7.0.1-2.1.2 | x86_64 | openSUSE-12.1-Oss
|
Current Rating: (Total: 0 ratings) |
| URL: | |
| BB-Code: | |
| HTML: | |
| AddThis: |



