{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "9682669f-46d2-44b0-bcc6-db65e411b302",
   "metadata": {},
   "source": [
    "## Homework 2\n",
    "\n",
    "Make sure, you have completed the exercises in Lectures 2 and 3, and have ```kvm3``` and ```rocky10-1``` VMs available. \n",
    "\n",
    "On your VD, create directory ```HW_2```. In the directory, create file README where you put the commands to complete the exercises below.\n",
    "\n",
    "The exercises below assume you already have deployed ```kvm3``` and ```rocky10-1``` on your VD.\n",
    "\n",
    "### Command ```apt```\n",
    "\n",
    "On ```kvm3```:\n",
    "\n",
    "- install package ```lua5.4```\n",
    "- dowload package ```lua5.3```\n",
    "\n",
    "### Command ```dpkg```\n",
    "\n",
    "On ```kvm3```:\n",
    "\n",
    "- List the files contained in package ```lua5.4```\n",
    "- Delete file  /usr/share/doc/lua5.4/changelog.Debian.gz.\n",
    "  Verify installed package ```lua5.4``` for consistency.\n",
    "- Extract the content of ```lua5.3``` package file into new directory LUA.\n",
    "- Uninstall package ```lua5.4```.\n",
    "\n",
    "### Command ```dnf```\n",
    "\n",
    "On ```rocky10-1```:\n",
    "\n",
    "- Install package ```lua```\n",
    "- Download package ```lua```\n",
    "\n",
    "### Command ```rpm```\n",
    "\n",
    "On ```rocky10-1```:\n",
    "\n",
    "- List the files contained in package ```lua```\n",
    "- Delete file /usr/share/man/man1/lua.1.gz.\n",
    "  Verify installed package ```lua``` for consistency.\n",
    "- Uninstall package ```lua```.\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "38d2771b-198c-4070-95e9-dcbe45a21ede",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
