What is the purpose of system-level package management?
To manage software packages at the system level, ensuring secure installation and compatibility.
Why is system-level package management important?
It handles installation dependencies and prevents conflicts.
What are repositories?
Storage locations for software packages maintained by distribution developers or trusted third parties.
How are repositories accessed?
Using update commands like ‘sudo apt update’ or ‘sudo dnf check-update’.
What do repositories provide?
Tested and secure packages updated regularly for security patches and bug fixes.
What do feature updates in repositories align with?
Distribution release cycles.
Can administrators modify repositories?
Yes, they can add, remove, or prioritize repositories.
Why prioritize repositories?
To ensure correct software versions for security and enterprise needs.
What are package dependencies?
Additional packages required for software to function.
How are dependencies handled?
Automatically installed by package managers.
Example of dependency installation on Debian-based systems?
sudo apt install apache2 installs Apache and dependencies like libapr1 and libaprutil1.
Example of dependency installation on RHEL-based systems?
sudo dnf install httpd installs Apache and dependencies like apr and apr-util.
Why is dependency management important?
It simplifies installation and reduces errors, especially in minimal environments.
What should administrators monitor during installation?
Dependency issues when packages fail to install.
What are conflicts in package management?
Situations where two packages cannot coexist due to incompatible dependencies or shared resources.
Example of a conflict?
Installing multiple versions of the same database server.
How do Debian-based systems handle conflicts?
apt stops installation and explains incompatible packages.
How do RHEL-based systems handle conflicts?
dnf halts installation and displays error messages.
How can administrators resolve conflicts?
By removing or replacing packages, adjusting repositories, or selecting alternative software.