Homework 2#

Make sure, you have completed the exercises in Lectures 2 and 3, and have kvm3 and rocky10-1 VMs available.

On your VD, create directory HW_2. In the directory, create file README where you put the commands to complete the exercises below.

The exercises below assume you already have deployed kvm3 and rocky10-1 on your VD.

Command apt#

On kvm3:

  • install package lua5.4

  • dowload package lua5.3

Command dpkg#

On kvm3:

  • List the files contained in package lua5.4

  • Delete file /usr/share/doc/lua5.4/changelog.Debian.gz. Verify installed package lua5.4 for consistency.

  • Extract the content of lua5.3 package file into new directory LUA.

  • Uninstall package lua5.4.

Command dnf#

On rocky10-1:

  • Install package lua

  • Download package lua

Command rpm#

On rocky10-1:

  • List the files contained in package lua

  • Delete file /usr/share/man/man1/lua.1.gz. Verify installed package lua for consistency.

  • Uninstall package lua.