Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Managing Software and Repositories via Libzypp/Zypper in SUSE Linux Enterprise

In this hands-on lab, we will be using Zypper to manage software and repositories. We will download a package and make a local repository and then install from that repository.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 13, 2025
Duration
30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Query for the Package `nginx`, and Then Use Zypper to Download the Package but Do Not Install It
    1. Run the command:

      sudo zypper se nginx
      
    2. Answer no to the question.

    3. Make note of the package name, and then download the package:

      sudo zypper in -d nginx
      
    4. Answer y to download the package.

  2. Challenge

    Create a New Zypper Repo at `/home/cloud_user/localrepo`, Name It `localrepo`, Copy the Docker Package to It, Refresh It, Install Nginx from It, and Verify the Package's Source
    1. Get the name of the nginx package so we can find it in the cache directory:

      zypper info nginx
      
    2. Create the folder for the localrepo:

      mkdir ~/localrepo
      
    3. Copy the RPM file to the localrepo directory:

      cp -r /var/cache/zypp/packages/Server_Applications_Module_x86_64:SLE-Module-Server-Applications15-SP1-Updates/x86_64 ./localrepo
      
    4. Add the repository and refresh it:

      sudo zypper ar /home/cloud_user/localrepo/x86_64/ localrepo
      sudo zypper refresh
      
    5. Install Nginx from the localrepo:

      sudo zypper in localrepo:nginx
      
    6. Answer y to the question.

    7. Verify the installed Nginx came from the local repo:

      sudo zypper info nginx
      
  3. Challenge

    Start Nginx, Verify It Works, Stop It, and Remove It
    1. Start Nginx:

      sudo systemctl start nginx
      
    2. Verify it works (a page should load, even if it is an error):

      curl 127.0.0.1
      
    3. Stop Nginx:

      sudo systemctl stop nginx
      
    4. Remove Nginx:

      sudo zypper rm nginx
      
    5. Answer y to remove the package.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight