| |
Installing Ubuntu packages with APT
Exercises
Start kvm2 VM and login to its console via virsh:
Try executing command make, which doesn't exist on the VM yet:
The system error comes:
The program 'make' is currently not installed. You can install it by typing:
sudo apt-get install make
Install recommended package make by running apt-get install:
You should be able to run command make now.
Simulate package installation by using option -s:
Notice the prerequisite library package that would get installed, libnetpbm10
Download the package without installation:
Notice the deb files with the packages in the apt cache directory:
Install the package:
Updating all the installed packages
The APT repository and software folders are defined in file
/etc/apt/sources.list and optionally in directory /etc/apt/sources.list.d
|
|