Package Management & Program Installation Flashcards
Why do you need a package manager?
A Package Manager is used to simplify the installation and the removal of programs.
If one package requires another one, it is automatically installed as well.
Typically, package managers can handle updates and system upgrades, too.
=> a package manager presents a complete, centralised installation system
Which package form does the Debian package manager accept?
.deb
Which package manager uses ubuntu?
Uses the debian package management system
What is contained in a .deb package?
Such a package is, in principle, a compressed archive containing the program in binary form along with special control files that are interpreted by the package manager. These files contain information about the package, including its dependencies.
What’s the command name for the Debian package manager?
dpkg
What does APT stand for?
Advanced Packaging Tool
What is APT? What does it do?
The Advanced Packaging Tool (APT) is a frontend to dpkg. It handles package retrieval and package querying, as well as the resolution of dependencies. Internally, APT calls “dpkg” to install or remove packages.
Name a console-based package manager
aptitude
Name a GUI package manager
Synaptics
Which tool is the most convenient for Ubuntu home users for their software installation?
Ubuntu Software Center
From which sources can software be installed?
any removable (CD, USB) or non-removable media (internet)
How can you search within the package database?
APT maintains a package database, where meta information (name, dependencies and description) is stored. The option “search” allows to search within the database
How do you keep your package database up-to-date?
If you are connected to the Internet:
The tool “apt-get” is responsible for updating the database.
What could happen if your database is not up-to-date?
Program downloads may fail due to outdated information
In which 2 ways can programs be installed?
- if locally available via the debian package using dpkg -I
- if found via apt-cache, it can be installed using apt-get (download from the internet or a CD-Rom)