Linux Package Management on Ubuntu
Intermediate · 30 minutes · 100 points
Master the fundamentals of Ubuntu package management using APT (Advanced Package Tool). In this hands-on lab, you will update package indexes, install and remove packages, manage package repositories, and inspect package metadata — all essential skills for any Linux administrator or DevOps engineer working with Ubuntu systems.
What you’ll learn
- Update and upgrade the APT package index and installed packages
- Install, verify, and remove software packages using apt and dpkg
- Inspect package details, list installed packages, and search the package cache
- Manage package repositories by adding a new source and its GPG key
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: ubuntu, apt, dpkg, package-management, linux, sysadmin, devops, repositories
Create a free account to start this lab.