Adding Software on a Linux System:
- All Linux distributions share the same Linux kernel lineage
but the details are different.
- Main distributions: Debian, Red Hat, SUSE
- Ubuntu has been called a 'cleaned-up' version of Debian.
- Additional packages or updates to installed software are maintained by distros at repositories.
- Packages available at http://packages.ubuntu.com
- A repository is a location that serves as a software archive
for a distribution
- Package managers include RPM, yum, and APT.
- Our Ubuntu system offers APT, dpkg, aptitude and Synaptic
Package Manager
- Synaptic simply adds a GUI front end to aptitude
- Advice: if you are browsing, you might want to use
Synaptic, if you know the package name, you might want to
use APT.
Advanced Packet Tool (APT): apt-get,
apt-cache, apt-config
- Your packages are managed by apt-cache
- apt-cache stats //to see stats on
all packages installed
- apt-cache pkgnames //list all packages install
- apt-cache search keyword
- To install new packages, we use apt-get
- sudo apt-get install package
- To see how much disk space a package will require:
- apt-cache --no-all-versions show iperf | grep '^Size: '
- apt-config provides an interface to configure APT on you
system.
Example: after a Ubuntu install, you might find you
don't have 'make' ....
- sudo apt-get install xutils-dev
Last update: 1/29/17