Homework 3: Linux Package Management#
Due Date: Tuesday, September 22, 2026
Environment Setup and Prerequisites#
Before starting this assignment, ensure you have completed the exercises in Lectures 2 and 3 and that your virtual machines (kvm3 and rocky10-1) are deployed and running.
Virtual Desktop Workflow Map#
[Web access to Ravada portal with authentication] ===> [Start VM] ===> [Access VM via SSH with provided port]
Setup Instructions#
Log into your Virtual Desktop (VD).
Create a working directory named
HW_3:mkdir HW_3 cd HW_3
Inside the
HW_3directory, create a file namedREADME.Document all commands used to complete the following exercises inside your
READMEfile.
Part 1: Debian Package Management (kvm3)#
Perform the following operations on the kvm3 virtual machine.
Task 1.1: High-Level Management with apt#
Install Package: Install the package
lua5.4.Download Package: Download the package archive for
lua5.3without installing it.
Task 1.2: Low-Level Management with dpkg#
List Files: List all files installed and managed by the
lua5.4package.Integrity Check:
Manually delete the file
/usr/share/doc/lua5.4/changelog.Debian.gz.Verify the installed
lua5.4package to detect missing or altered files.
Archive Extraction: Extract the contents of the downloaded
lua5.3package file into a new directory namedLUA.Remove Package: Uninstall the
lua5.4package.
Part 2: RPM Package Management (rocky10-1)#
Perform the following operations on the rocky10-1 virtual machine.
Task 2.1: High-Level Management with dnf#
Install Package: Install the package
lua.Download Package: Download the package archive for
luawithout installing it.
Task 2.2: Low-Level Management with rpm#
List Files: List all files contained in the installed
luapackage.Integrity Check:
Manually delete the file
/usr/share/man/man1/lua.1.gz.Verify the installed
luapackage for consistency to identify missing files.
Remove Package: Uninstall the
luapackage.