0
0
Linux CLIscripting~15 mins

yum/dnf (RHEL/CentOS) basics in Linux CLI - Mini Project: Build & Apply

Choose your learning style9 modes available
Basic Package Management with yum/dnf on RHEL/CentOS
📖 Scenario: You are managing a Red Hat Enterprise Linux (RHEL) or CentOS server. You need to install, update, and check packages using the yum or dnf package manager.This project will guide you through basic commands to handle packages safely and efficiently.
🎯 Goal: Learn to list installed packages, install a new package, update existing packages, and check package info using yum or dnf.
📋 What You'll Learn
Use yum or dnf commands to manage packages
List installed packages
Install a specific package
Update all packages
Show detailed info about a package
💡 Why This Matters
🌍 Real World
System administrators often need to manage software packages on RHEL or CentOS servers to keep systems secure and functional.
💼 Career
Knowing basic package management commands is essential for Linux system administrators and DevOps engineers working with RHEL-based systems.
Progress0 / 4 steps
1
List installed packages
Run the command yum list installed to display all installed packages on the system.
Linux CLI
Need a hint?

This command shows all packages currently installed on your system.

2
Install the 'nano' text editor package
Use the command yum install nano -y to install the nano text editor without asking for confirmation.
Linux CLI
Need a hint?

The -y option automatically answers yes to prompts.

3
Update all packages
Run the command yum update -y to update all installed packages to their latest versions without confirmation prompts.
Linux CLI
Need a hint?

Updating keeps your system secure and up to date.

4
Show detailed info about the 'nano' package
Use the command yum info nano to display detailed information about the installed nano package.
Linux CLI
Need a hint?

This command shows version, repository, and description of the package.