Understanding Package Managers in Linux ๐Ÿ“ฆ๐Ÿš€

ยท

1 min read

Understanding Package Managers in Linux ๐Ÿ“ฆ๐Ÿš€

What is a package?

A package is essentially an archive file containing the binary executable, configuration file and sometimes information about the dependencies.

Different Types of Package Managers in Linux

  • APT (Advanced Package Tool): Used by Debian and Ubuntu-based systems.

  • YUM (Yellowdog Updater Modified): Used by Red Hat, CentOS, and Fedora.

  • Pacman: Used by Arch Linux and its derivatives.

  • zypper: Used by openSUSE and SUSE Linux Enterprise.

Installing Docker on Ubuntu using APT ๐Ÿณ
sudo apt update sudo apt install docker

Installing Jenkins on Ubuntu using APT โ˜•
sudo apt update sudo apt install jenkins

check the status of the docker service in your system:

systemctl status docker

stop the service, Jenkins:

sudo systemctl stop jenkins

systemctl: It is used to control the state of systemd and the service manager.

service: This is a simple command-line tool for interacting with systemd services.

ย