• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

zypper: command not found

by admin

SUSE, like Red Hat, using RPM for package management. But instead of using yum, they use another tool set with Zypp (also known as libZypp) as backend. Software management can be done with the graphical configuration software YaST or the command-line interface tool Zypper.

zypper command line options

Important basic parameters are:

Command Description
zypper search Search for software
zypper install Install software
zypper remove Remove software
zypper update Update software
zypper dist-upgrade Perform a distribution upgrade
zypper info Show information

If you encounter the below error while running the zypper command:

zypper: command not found

you may try installing the zypper package as per your choice of distribution.

Distribution Command
Debian apt-get install zypper
Ubuntu apt-get install zypper
Kali Linux apt-get install zypper
Fedora dnf install zypper
Raspbian apt-get install zypper

zypper Command Examples

1. Synchronize list of packages and versions available:

# zypper refresh

2. Install a new package:

# zypper install package

3. Remove a package:

# zypper remove package

4. Upgrade installed packages to the newest available versions:

# zypper update

5. Search package via keyword:

# zypper search keyword

6. Show information related to configured repositories:

# zypper repos --sort-by-priority

7. To list the available patterns, use:

# zypper patterns

8. To install them, use:

# zypper install --type pattern [pattern]

9. You can add repositories with the addrepo parameter, for instance: To add a community repository for the latest PowerShell version on LEAP 15.0:

# sudo zypper addrepo \
  https://download.opensuse.org/repositories\
  /home:/aaptel:/powershell-stuff/openSUSE_Leap_15.0/\
  home:aaptel:powershell-stuff.repo 

Filed Under: Linux, SuSE Linux Enterprise

Some more articles you might also be interested in …

  1. libreoffice: command not found
  2. locale Command Examples in Linux
  3. ndctl Command Examples in Linux
  4. iperf: command not found
  5. etckeeper: command not found
  6. htpdate Command Examples in Linux
  7. kind Command Examples
  8. How to use nomodeset to Troubleshoot Boot Issues
  9. file: command not found
  10. nordvpn Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright