Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CIT 315 Installing Software Packages, Lecture notes of Computer Networks

CIT 315 Installing Software Packages

Typology: Lecture notes

2024/2025

Available from 07/10/2025

Grace_Alesy
Grace_Alesy 🇺🇸

22 documents

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linux Operations and
Administration
Chapter Nine
Installing Software Packages
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download CIT 315 Installing Software Packages and more Lecture notes Computer Networks in PDF only on Docsity!

Linux Operations and

Administration

Chapter Nine

Installing Software Packages

Objectives

  • Package management
  • Manage software packages with the dpkg and apt

commands

  • Install, upgrade, and remove software at the

command line

dpkg and APT

  • Debian package management system consists of
    • Debian Package (dpkg) is a low-level tool to install,

build, remove and manage Debian packages

  • Advanced Packaging Tools (APT) is a collection of

programs that provides a user friendly front-end to

dpkg.

  • Example commands are apt, apt-get, aptitude.

Working with dpkg

Command Description dpkg - s x Searches for package x and display status (name, version, description, dependencies) dpkg - l x Searches for package x and display status (name, version, description) dpkg - i x Installs a package x dpkg - r x Removes a package x dpkg - p x Removes package x with configuration (purge)

apt

  • apt is a one of the tools included in APT, which

provides the user with features, such as:

  • shows a progress bar
  • installs a package from the Internet

Working with APT

Command Description apt search x Searches for package x apt install x Installs a package x apt remove x Removes a package x apt purge x Removes package x with configuration apt show x Shows package x details apt update Refreshes repository index apt upgrade Upgrades all upgradable packages

Activity 3: Update your Ubuntu

  • use apt to update your Ubuntu, using the following
    • sudo apt update
    • sudo apt upgrade

Manage software using GUI

  • Synaptic is a GUI for apt, which may be installed:
    • sudo apt install synaptic