Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: Day 5 formatting #9

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions linux/day-5/package-management.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
- [Introduction](#introduction)
- [What is Package Management ?](#what-is-package-management-)
- [Package Managers](#package-managers)
- [High and low-level package tools](#high-and-low-level-package-tools)
- [Common Usage of Low-Level Tools](#common-usage-of-low-level-tools)
- [Common Usage of High-Level Tools](#common-usage-of-high-level-tools)
- [CentOS and Fedora Helpful Information](#centos-and-fedora-helpful-information)
- [What is Package Management ?](#what-is-package-management-)
- [Package Managers](#package-managers)
- [High and low-level package tools](#high-and-low-level-package-tools)
- [Common Usage of Low-Level Tools](#common-usage-of-low-level-tools)
- [Common Usage of High-Level Tools](#common-usage-of-high-level-tools)
- [CentOS and Fedora Helpful Information](#centos-and-fedora-helpful-information)
- [Conclusion](#conclusion)
- [More Helpful YouTube Video Resources](#more-helpful-youtube-video-resources)

Expand All @@ -14,15 +14,15 @@ Welcome to Day 5 of the linux fundamentals from Zero to Hero DevOps Roadmap seri

Let's have a overview of what package management is.

### What is Package Management ?
## What is Package Management ?

_Package management_ in Linux involves the installation, updating, and removal of software packages on a system. These packages typically contain precompiled binaries, libraries, and configuration files required for various applications to run smoothly.

In a nutshell, package management is a method of installing and maintaining (which includes updating and removing as well) software on the system.

Let's dive into the world of package management in Linux and learn how to install, update, and remove software packages effectively.

### Package Managers
## Package Managers

_Package managers_ are programs that automate software management tasks, ensuring consistency and efficiency across systems while resolving dependencies and conflicts.

Expand All @@ -31,7 +31,7 @@ The two prominent ones are [APT (Advanced Package Tool)](https://en.wikipedia.or
Because different distribution families use different packaging systems (Debian: *.deb / CentOS: *.rpm / openSUSE: *.rpm built specially for openSUSE), a package intended for one distribution will not be compatible with another distribution.


#### High and low-level package tools
### High and low-level package tools

In order to perform the task of package management effectively, you need to be aware that you will have two types of available utilities: low-level tools (which handle in the backend the actual installation, upgrade, and removal of package files), and high-level tools (which are in charge of ensuring that the tasks of dependency resolution and metadata searching -”data about the data”- are performed).

Expand All @@ -45,7 +45,7 @@ In order to perform the task of package management effectively, you need to be a
> **INFO:** ref to `rpm` man page at [here](https://man7.org/linux/man-pages/man8/rpm.8.html "rpm man page"))


#### Common Usage of Low-Level Tools
### Common Usage of Low-Level Tools


1. Installing a package from a compiled (*.deb or *.rpm) file.
Expand Down Expand Up @@ -90,7 +90,7 @@ $ dpkg --search file_name ## [Debian and derivative]

> **INFO:** `sudo` rights might be required if permissions are missing.

#### Common Usage of High-Level Tools
### Common Usage of High-Level Tools

Before we start using the high-level tools, let’s learn some essential terminology:

Expand Down Expand Up @@ -183,7 +183,7 @@ $ sudo apt show birthday

```

#### CentOS and Fedora Helpful Information
### CentOS and Fedora Helpful Information

The `yum` command is the same as the `apt` command. They use the same syntax for updating, searching, installing, removing and upgrading the system. Instead of usign apt (as we use in Ubuntu and Debian) for Centos, Red Hat, Fedora etc. we use the `yum` command. For example, `sudo yum search htop` or `sudo yum install htop` etc.

Expand Down