Day 7 💻Journey Through Linux Mastery: Package Managers and Systemctl🛠️

Day 7 💻Journey Through Linux Mastery: Package Managers and Systemctl🛠️

Discovering the Essence of Linux Package Management 📦

My exploration into the Linux ecosystem introduced me to the concept of package managers, the ultimate tool for managing software on a Linux system.

What's a package? 📦 To me, a package isn't just an application; it's the building block of Linux functionality, encompassing:

  • GUI applications

  • Command-line tools

  • Software libraries essential for other programs

Each package is a neatly compiled archive with binaries, configuration files, and essential information on dependencies.

The World of Package Managers 🌐

Depending on your Linux distribution, you encounter different package managers. RPM-based distributions like Fedora use Yum or DNF, while DEB-based systems like Ubuntu rely on apt-get or aptitude.

My Task: Installing Docker and Jenkins 🚀

On Ubuntu, I executed:

sudo apt update sudo apt install docker.io sudo apt install jenkins

Switching over to CentOS, my commands were:

sudo yum check-update sudo yum install docker sudo yum install jenkins

Systemctl vs. systemd: The Controllers of Linux Services 🎮

I learned that systemctl is a tool to manage the state of systemd, a system and service manager for Unix-like operating systems.

Checking Docker's Status:

systemctl status docker

Stopping Jenkins:

Before and after stopping Jenkins, I captured screenshots to document the service state changes.

Comparing systemctl and service commands:

systemctl offers a more verbose and informative output, while service remains a simplistic alternative for quick checks.

Conclusion: My Continuous Linux Adventure 🧗

Every day brings new challenges and learning opportunities in Linux. Whether it’s grasping the intricacies of package management or controlling services with systemctl, each step forward is a leap towards becoming a Linux aficionado. Join me as I continue my journey, and feel free to share your own experiences with these powerful Linux tools.

You can connect with me at: https://www.linkedin.com/in/davendersingh/