0% found this document useful (0 votes)
16 views20 pages

Lecture 5 Package Manager in Linux

Uploaded by

Abdullah Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views20 pages

Lecture 5 Package Manager in Linux

Uploaded by

Abdullah Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Package Manager and Software

Installation in Ubuntu
Package Manager
• A collection of software tools that automates the process of
installing, upgrading, configuring, and removing computer
programs for a computer in a consistent manner.

• A package manager deals with packages, distributions of


software and data in archive files
Package Manager
Package Managers
• apt: Advanced Package Tool (Ubuntu, Debian)

• yum: Yellowdog Updater, Modified (CentOS)

• rpm: Red Hat Package Manager (RehHat)

• homebrew: package manager for MacOS


Package Manager
• apt: Advanced package tool.
Package Manager
• Yum: primary tool for getting, installing, deleting, querying,
and otherwise managing Red Hat Enterprise Linux RPM
software packages from official Red Hat software
repositories.
Package Manager
• dpkg: Install, remove and manage Debian packages.
Package Manager
• brew: free macOS package manager that allows you to
install, update, or remove software by running commands
in the terminal.
Advanced Package Tool
• apt-get vs apt

⚬ apt-get
■ apt-get is lower-level and "back-end", and
supports other APT-based tools.

⚬ apt
■ apt is designed for end-users (humans) and its
output may be changed between versions
Repository
• collection of deb packages with metadata that is
readable by the apt family
• In Debian or Ubuntu, the software repositories are
defined in /etc/apt/sources.list
• Third-party repositories can be added in Ubuntu, add
its link to the file mentioned above
• Personal Package Archives (PPAs) are software
repositories designed for Ubuntu users and are easier
to install than other third-party repositories
• PPAs are often used to distribute pre-release software
so that it can be tested.
Software Listing
• apt
list
Software Search
• apt search [package name.
apache2}
Software Update
• apt
update.
Software Upgrade
• apt
upgrade.
Software Install
• apt install {package
name. vlc}
Software Details
• apt show {package
name. vlc}
Software Reinstallation
• apt reinstall [package-name.
skype]
Software Deletion
• apt remove [package-
name.vlc]
Software Deletion
(With all dependencies removed)

• apt purge [package-


name.vlc]
All Unnecessary Softwares
Deletion
• apt
autoremove.

You might also like