Linux Package Management | Linux YUM, DNF, RPM | Rollback Patches

preview_player
Показать описание
#linux #mprashant #linuxtutorial #linuxtutorialforbeginners #linuxtraining @MPrashant

In this video, I'll be covering Linux package management using the popular tools yum, rpm, and dnf. I'll also be discussing how to create and use rollback patches.

Package management on Linux is a essential part of system administration, and this video will give you a solid understanding of the different tools available and how to use them effectively. By the end of the video, you'll be able to manage your Linux packages using the most popular package management tools!

00:00 Intro
01:10 What is Linux Package Management?
02:22 How to use Yum in Linux?
07:55 What is difference between Upgrade & Update?
10:00 Rollback Updates using Yum history undo
12:20 Linux RPM Command
14:18 How to install .rpm file using rpm command
18:15 How to use DNF in Linux?
21:15 How to use APT command in Linux?

Link of slide

-------------------------------------------------------------
Linux Tutorial for beginners in Hindi
Linux Tutorial in Hindi
Linux Course in Hindi
What is Linux Package Management in Linux in Hindi?
yum update
Linux yum tutorial
Yum linux Tutorial
How to use Yum command for beginners
Linux yum

--------------------------------------------------------------------

Learn to manage software using YUM/DNF and RPM for your Red Hat-based Linux systems.

Package management is a method of installing, updating, removing, and keeping track of software updates from specific repositories (repos) in the Linux system.

Yellow Dog Updater, Modified (YUM)
DNF or Dandified YUM is the updated default since Red Hat Enterprise Linux 8, CentOS 8, Fedora 22, and any distros based on these.
YUM is the primary package management tool for redhat.
YUM performs dependency resolution when installing, updating, and removing software packages.
YUM can manage packages from installed repositories in the system or from .rpm packages.

you can see all the options using
#yum -option

To see the past work done related to packages, which will show you the activity with date and time
#yum history

We can simply undo or redo any action using
#yum history undo/redo d

How to install and remove a package
yum install ksh -y
yum remove ksh

RPM (RPM Package Manager)
RPM is a popular package management tool redhat based distros
Using RPM, you can install, uninstall, and query individual software packages.
Issue: It cannot manage dependency resolution like YUM.
RPM maintains a database of installed packages, which enables powerful and fast queries.
Some commonly used modes

RPM
-i install
-U upgrade
-e erase
-V verify
-q query

Example:
To install or upgrade an .rpm package using RPM, issue this command:
You need to first download .rpm package

rpm -i package-file
rpm -U package-file

rpm -ivh package-file (v-verbose, h for hash to show progress)
rpm -evh package-file

================================
To query all the installed packages
rpm -qa

================================
More info about the package
rpm -qi package_name

================================
Info about config files for a package
rpm -qc package_name

Example for the rpm download and install
Go to google, type ksh for linux download

Then under download, get the link for binary package and download in Linux using wget
then rpm -ihv ksh....rpm will install

-----------------------------------------------------------------
For Ubuntu
We can use apt
apt-get is for older version but we can directly use apt
sudo we need to use only for other user not for root

apt install package_name
apt remove package_name
apt autoremove (to remove the dependencies)
apt update (to update the repo)
apt-cache search apache

apt install apache2

sudo dnf list available
sudo dnf update/upgrade
sudo dnf list installed
sudo dnf search package
Рекомендации по теме
Комментарии
Автор

Diff between rpm and yum
1)RPM- required full path while install or upgrade packages.
YUM - does not required full path while install or upgrade packages.
2) RPM - can install only single at a time.
YUM- can install multiple at a time.
3) RPM - can't rollback
YUM - can rollback any changes.
4)RPM - it can't resolved dependencies automatically by using rpm.
YUM- can be resolved dependencies automatically by using yum.

Ankit_Chopade
Автор

I'm from medical domain.... Learned Linux from your channel....
And got placement as system administrator in IT company.... Lots of thanks.... Always rise and shine bright.... ❤you're the fuel for fire for Linux 🎉God bless 😊

yeshukalda
Автор

You are really such a great teacher. I am very proud to learn you.

worldhistory
Автор

Bhot hi easy language m aur har ek chiz bhot ache se pdhae ho sir.... aaj is video k baad pura smjh agya... thankyou sir, , , aage sb isi se sikhunga mai...

shailns.
Автор

Remarkable Platform M Prashant for Linux

mohammadsaifullah
Автор

Thank You sir, kal mera linux administration ka exam hai, apke video se bohot help huya hai, thanks once again 💟

MahiLover-ft
Автор

Thank you very much for such a nice video on YUM and RPM

techwaala
Автор

Keep doing more videos sir, very helpful

aadhiharidas
Автор

Sir, sorry to bother you again, kindly upload videos on 4 important topics, log, firewall, selinux and network management.

awssoorinje
Автор

Your educational videos on Linux are wonderful and easy to understand .please make more vedios

FlavorFrames
Автор

Very very knowledgeable video thanks bro

vivekkumaryadav
Автор

Sir, once again thanks a lot, short and sweet, kindly upload video related to Linux log management.

awssoorinje
Автор

Thank you brother for making this vedio

mellowpeers
Автор

Nice👏 sr aap bahot saral tarike se batate ho
source file or . / file me kya difference hai bataye sr plz

techDN
Автор

Hi, please make a vedio on Linux patch, kernal patch it would be great thank you 😊

FlavorFrames
Автор

Bhai Could you please make a video on Patch management. Package Mangement is awsome lecture.

sunilraula
Автор

Local repository configuration ka bhi ek vedio dalo na bahut acche shikate ho app sir

yogirajkalel
Автор

Could you please create videos on Yum installation step by step it will be helpful for us

sanketthorat
Автор

Hi can your please make a video on explaining when and why are these files used in simple terms /etc/resolve.conf, /etc/hosts, /etc/nsswitch.conf if you can show a practical usage it will be great. Please its a request. Please do reply

anand-nbbb
Автор

Vere good explanation sir... If we want to install some packages among the list ... How we perform the patching.... Please help me.... Thank you

susmithachinka