Skip to main content

Command Palette

Search for a command to run...

Day 7 Task: Understanding package manager and systemctl

#devops#linux

Updated
2 min read
Day 7 Task: Understanding package manager and systemctl
M

An professional with 5+ years of experience in devops and good knowledge of Automation Testing Python Programming Language and HTML,CSS. DevOps Tools : Jenkins,Docker,Git,artifatory,Sonar,ansible, monitoring tools like grafana and Prometheus. Proficient in understanding the requirements specification, analysing the existing process and writing automation scripts using Python, Experience in Agile Methodology,Scrum. Good knowledge on Test Development Life Cycle (SDLC). Well acquainted with Atlassian Support tools (Jira, confluence, bitbucket, Artifactory), also hands of experience on jira data migration and upgradation Hands on experience on Linux (CentOS) ,Linux administrator. Good knowledge about AWS cloud computing,SQL

What is a package manager in Linux?

In simpler words, a package manager is a tool that allows users to install, remove, upgrade, configure and manage software packages on an operating system. The package manager can be a graphical application like a software center or a command line tool like apt-get or pacman.

You’ll often find me using the term ‘package’ in tutorials and articles, To understand package manager, you must understand what a package is.

What is a package?

A package is usually referred to an application but it could be a GUI application, command line tool or a software library (required by other software programs). A package is essentially an archive file containing the binary executable, configuration file and sometimes information about the dependencies.

Different kinds of package managers

Package Managers differ based on packaging system but same packaging system may have more than one package manager.

For example, RPM has Yum and DNF package managers. For DEB, you have apt-get, aptitude command line based package managers.

  1. You have to install docker and Jenkins in your system from your terminal using package managers

systemctl and systemd

systemctl is used to examine and control the state of “systemd” system and service manager. systemd is system and service manager for Unix like operating systems(most of the distributions, not all).

Tasks

  1. check the status of docker service in your system (make sure you completed above tasks, else docker won't be installed)

  2. stop the service docker and post before and after screenshots

  • sudo systemctl start docker

  • sudo systemctl status docker

  • sudo systemctl stop docker

Thank you for reading this Blog. Hope you learned something new today! If you found this blog helpful, please like, share, and follow me for more blog posts like this in the future😊😊

I would like to connect with you at linkedin.com/in/madhuri-patil-278b19118