How to use a package management system to install, update, and remove software in Linux distribution
Packages are used to package software for linux, like an installer
Some package formats:
Some package formats:
- Ubuntu – deb/dpkg
- Red Hat – RPM and YUM
- Solaris – pkgadd
- Set of tools/utilities to make it easier to install, upgrade, remove and configure software packages.
- Typically connect to the internet and download packages from remote servers
- Package managers that do not recursively get dependencies are more difficult to use.
Ubuntu uses APT (Advanced Packaging Tool)
- Synaptic and aptitude are Front End interfaces
- Synaptic has GUI
- aptitude has text based GUI
- Can add more servers and more packages
- Can setup your own repositories (repos) for package distribution - this is a must in high security environments
There are 3 steps to installing software on Ubuntu
First step, always update your sources:- apt-get update
- apt-get upgrade
- apt-get install "package name" such as apt-get install openssh-server
Red Hat uses YUM
YUM uses /etc/yum.repos.d/ to list which servers to download the packages from- Can add more servers and more packages
- Can setup your own repositories (repos) for package distribution - this is a must in high security environments
There are 2 steps to installing software on Red Hat
First step, always update your sources:- yum update
- yum install "package name" such as yum install openssh-server
Comments
Post a Comment