PACKAGE MANAGER
- Every Linux Distro have a package manager.
- Used to install,uninstall,update and many other function related to programs in the system
- Download from OS project repositories of packages
- Secure provider
- Dependencies resolution
- Common Installation and configuration location
- Standard format
Package manager
Debian/Ubuntu
- backend : dpkg
- frontend : apt
- GUI for apt : aptitude
ADVANCE PACKAGING TOOL (apt)
apt-get
- Installing : apt-get install [package name]
- Uninstalling : apt-get remove [package name]
- Remove downloaded pkg files : apt-get clean
- Purge : apt-get purge [package name]
- Update : apt-get update
- Search : apt-cache search [package name]
- Show : apt-cache show[package name]
- Check if a package is install or not : apt-cache policy [package name]
- List currently installed packages : apt-cache [package name]
/etc/apt/sources.list
- Contains the repositories from which apt constructs its database.
- Format : deb [location of resource] [distribution][components]
- Distribution:
squeezy (testing)
sid (unstable)
etch (old-stable)