🎉 BLACK FRIDAY SALE! 40% OFF on Annual Premium+ Plan - Till 7th Dec! Code SUPERSALE40 Shop Now →
course
Lab Activity

Module 2: Linux Installation and Package Management

Learn how to manage Linux systems effectively by understanding partitions, repositories, package management tools, and shared libraries.

Overview

In this lab, you'll dive into the fundamentals of Linux installation and package management. You'll learn how Linux systems handle disks, filesystems, repositories, and software packages. You'll also explore how tools like APT and dpkg work together to install, remove, and maintain software, as well as how to manage system libraries and dependencies.

Learning Outcomes

By the end of this lab, you'll be able to:

  • Examine disk partitions, filesystems, and mount configurations.
  • Understand how Linux manages repositories and software sources.
  • Use APT and dpkg commands to install, remove, and inspect packages.
  • Explore shared libraries and their linkage using ldconfig and ldd.
  • Analyze system logs to track package management activities.

Key Concepts

  • Linux Installation Components: Understanding how partitions, filesystems, and the /etc/fstab file define system storage layout.
  • Package Management: APT and dpkg work together to handle software installation, removal, and dependency resolution.
  • Repositories: Centralized sources that host software packages accessible through APT configuration files.
  • Shared Libraries: Dynamic libraries loaded at runtime to save space and improve performance, managed by ldconfig.
  • Dependency Management: Tools like apt-cache depends and apt show reveal what other packages a program relies on.
  • System Logs: The /var/log/dpkg.log file records all package-related actions for auditing and troubleshooting.

Why It Matters

  • Enables efficient software management through automation of package installations and updates.
  • Improves troubleshooting skills by helping you understand how dependencies and repositories interact.
  • Builds practical system administration knowledge, vital for LPIC-1 and RHCSA-level roles.
  • Supports system security by ensuring controlled, verifiable package sources.
  • Prepares you for enterprise environments, where managing and maintaining software packages is part of daily operations.
© LINUXCERT GURU, Singapore