Installing Packages and Shared Libraries on CentOS and Ubuntu

CompTIA Linux + Domain:

Domain 2.0: System Operation and Maintenance

CompTIA Linux + Objective:

Objective 1.2: Given a scenario, install, configure, and monitor kernel modules.
Objective 2.1: Given a scenario, conduct software installations, configurations, updates, and removals. 

Overview

As a system administrator, it is important that you understand how to install, update, and remove packages in a Linux operating system. In this lab, you will practice using package management systems and terminal tools to see shared libraries used in different software. This lab provides guidance on installing packages and shared libraries on CentOS and Ubuntu. 

outcomes:

In this lab, you will learn to:

  1. Use ldd and ldconfig to list shared libraries.
  2. Use dpkg and apt-get to manage Debian packages.
  3. Install, upgrade, and erase packages using RPM.
  4. Install, upgrade, and remove packages using YUM.

Key terms and descriptions

Package Manager
Linux distributions have a centralized way of finding, installing, and removing software. Software is distributed as packages and stored in repositories on Linux distributions.  A package management system not only provides packages to install software but also provides ways of updating software when new versions become available.
Package
A package delivers and maintains new software for Linux systems.
Shared Library
A shared library is a precompiled software that is launched and loaded into memory and binding occurs at run time.