#90daysofdevops { Day -7}


📦Unveiling Package Managers🔐 and System Control with systemctl🎩💻
Today we will unravel the intricacies of Package Managers and system control using systemctl
in Linux. 🚀 Discover the power behind Package Managers, from APT and YUM to Pacman and ZYpp, ensuring your software is organized and up-to-date. Master the art of system control with systemctl
, empowering you to manage services and processes with ease. Whether you're a Linux enthusiast or a newcomer, join us on this concise yet exciting journey into the heart of Linux. 🌐🐧✨
📦 Package Manager in Linux:
A package manager in Linux is like a digital librarian for your system. It helps you efficiently manage software by handling the installation, removal, and updating of programs. It's a crucial tool for maintaining a well-organized and smoothly running Linux system.
📁 Package:
A package is a bundled collection of files, scripts, and metadata that make up a software application or library. Think of it as a neatly wrapped box containing everything needed for a particular piece of software to work seamlessly on your system.
🔄 Types of Package Managers:
APT (Advanced Package Tool):
Distribution: Debian, Ubuntu
Example Commands:
sudo apt-get install [package]
sudo apt-get update
YUM (Yellowdog Updater Modified):
Distribution: Red Hat, CentOS, Fedora
Example Commands:
sudo yum install [package]
sudo yum update
Pacman:
Distribution: Arch Linux, Manjaro
Example Commands:
sudo pacman -S [package]
sudo pacman -Syu
DNF (Dandified YUM):
Distribution: Fedora
Example Commands:
sudo dnf install [package]
sudo dnf update
ZYpp (ZENworks Package Management):
Distribution: openSUSE
Example Commands:
sudo zypper install [package]
sudo zypper update
🕵️ Additional Tips:
📤
install
: Adds a package to your system.🔄
update
: Refreshes the package list to get the latest versions.🗑️
remove
: Uninstalls a package from your system.🕵️
search
: Helps you find packages available for installation.
Remember, package managers simplify software management, ensuring a smooth and harmonious Linux experience! 🐧✨
📦Here is How you Install Docker and Jenkins to your ubuntu
Installing Docker on Ubuntu:
bashCopy codesudo apt update
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
Installing Jenkins on Ubuntu:
bashCopy codewget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install jenkins
sudo systemctl start jenkins
sudo systemctl enable jenkins
To check whether Docker and Jenkins are installed on your Ubuntu system, you can use the following commands:
docker --version
= For Docker
sudo systemctl status jenkins
= For Jenkins
Connect with me on LinkedIn👔🌐:https://www.linkedin.com/in/nikhil-kathale-27544a1b5/
Subscribe to my newsletter
Read articles from Nikhil Kathale directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
