Lecture 5 Package Manager in Linux
Lecture 5 Package Manager in Linux
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.
⚬ 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)