Manage Software with RPM and APT in Linux
The Manage Software with RPM and APT in Linux virtual lab, an IT Pro Challenge, teaches software installation and management using the ‘rpm’ and ‘apt’ commands. System Administrators, Engineers, and most IT professionals gain crucial hands-on experience using the Terminal to add, verify, and remove packages in CentOS7 and Ubuntu systems.
This beginning lab teaches how to install, check for, and remove Linux applications using the ‘rpm’ command in a CentOS7-A system and ‘apt’ directive in an Ubuntu system. The lab runs 45-minutes and requires uninterrupted time to finish, as learners cannot pause. Learners who have used more than one virtual machine, and have opened the Linux Terminal application, make the most of this virtual lab. Participants may reveal additional hints with screenshots, at the end of each task. These hints provide a way trainees can check their work or troubleshoot any trouble in their code.
When Linux users install and manage software, they need not only the software but also the package manager. This process differs from the Windows and MAC operating systems where the application and bundle come together, resulting in a wizard that may ask a few questions or load the application to the system. Linux requires telling the software manager to set up, take down, or other software management tasks.
Linux, as open-source or freely available code, comes in many different flavors. So, algorithms that unpack one package will not necessarily work on another. RPM (RPM Package Manager) defines a default Linux package manager, used by Red Hat types of OS, like CentOS. APT gives users an easier way to manage packages on Debian based systems, like Ubuntu.
This lab gives learners familiarity with RPM and APT package utilities through hands-on experience, forming and executing ‘rpm,’ and ‘apt’ in Terminal sessions. Participants install, query, and uninstall the Z shell on CentOS7 and filezilla on Ubuntu.
Understand the scenario
You are a Linux systems administrator responsible for two Linux servers. One server is running CentOS 7, and the other server is running Ubuntu 18. You need to manage software on both servers. First, you install the Z shell and filezilla packages. Next, you view information about the packages, and then you check for dependencies. Finally, you will remove both packages.
Use RPM and APT to Install Software Packages and Create an Inventory:
This exercise has learners generate a software inventory of each system, the CentOS7-A, and Ubuntu. Trainees set up Z shell on one virtual machine (VM) using ‘rpm.’ They set up Filezilla on another VM with the ‘apt’ command. To check that the installations succeeded, participants view details about the installed package using ‘rpm’ and ‘apt.’ Screenshots, used as hints, let learners further verify their work.
Gather Information About Software Packages Using RPM and APT:
This section explains how to view all files and dependencies for the installed software. Users learn how to form ‘rpm’ and ‘apt’ commands to display all packages. The ‘rpm’ command shows all software installed in the last month. The ‘apt’ packager retrieves information about a particular software package. Screenshots, through the hint, show what information displays about the software.
Use RPM and APT to Uninstall Software Packages:
In this portion, users uninstall the applications they installed as part of the first exercise. Learners remove the Z shell program by using ‘rpm’ and filezilla upon executing the ‘apt’ command. Users double-check that files uninstall successfully upon trying to view information about the uninstalled software.
At the end of these three sections, learners have obtained skills in loading and managing software in Linux machines.
- Users query systems for installed software and setup software using the rpm and apt commands.
- Learners' research application details.
- Participants uninstall the software, installed in the first exercise.
Should users have an interest in an additional, high-level Linux, package manager, YUM, they may wish to take other virtual labs.
- GUIDED CHALLENGE: Manage Software in Linux Using YUM
- ADVANCED CHALLENGE: Can You Configure A YUM Repository in Linux?
IT Pro Challenges, lab trains learners to install, gather information about, and remove software packages ...
In this IT Pro Challenge virtual lab, you will get hands-on experience using basic Linux ...