System updates and repose report stands for repositories.
This is a very important lesson for installing new packages to your systems.
So there are two major commands that are used in system updates and repos.
Installation is the first one is yum yum.
Command is mostly used in Centaurus or in RedHat environment, whereas Atget is another similar command
is used in other Linux distribution servers.
Jum Command installs a package from the repositories that are defined in your Linux system.
Those repositories and those configuration files has that you are a link for repositories.
So when you run Jume, it's telling the system, go online with this URL and get the package that I'm
asking you to install.
So in other words, Jume does need an Internet access to go online and install a package to your system.
Then the next command we have is R.P.M., R.P.M. stands for RedHat Package Manager now R.P.M., of course,
was first developed by RedHat and is still in use by RedHat.
But nowadays, many other Linux distributions have carried over the same command r.p.m. that never changed.
Now, what's the purpose of R.P.M.?
Before I tell you about R.P.M., let me tell you a difference between R.P.M. and Jume this.
It would be much easier for you to understand what R.P.M. is.
R.P.M. is used when you already have a package downloaded in your system and then you could install
it locally by running the command r.p.m. malware as yum yum does all the things for you.
It downloads the package, it installs the package as well.
So R.P.M. is mostly used in an environment where they don't have Internet access.
So let's get into our links with Shinoda Triad, both of these commands.
OK, I'm logged into my Linux machine as root
directory.
I'm and I'm in root directory and there are different commands.
And of course what is my hostname.
My hostname is my first Linux machine.
Linux.
Oh of course.
Now we know we are not in the wrong system.
When you are installing packages, please also make sure you run a hostname so you don't install packages
to a wrong system.
OK, so now the next step, the first command we will learn is jump.
If I wanted to install a package, let's say A.P., all I have to do is type youm A.P. so young installed
A.P. it will go outside to the mirrors or whatever the euro has been specified and it will look for
our A.P. package now before it goes outside.
It looks for within itself, within it since its own system and see whether the entity package has been
installed already or not.
In this case, I try to install A.P. package and what would happen.
It says A.P. package has already been installed with the latest version.
So nothing to do.
Okay, perfect.
So I don't have to install it.
I don't have to update it.
Now, what about if I wanted to install Apache and Apache package name is HTP.
It will do again the same thing.
And if I have the system, if I have the packet install, it will give me the same message that it gave
me before.
It says no package is available, I believe is HTP deep.
OK, yes, same message HPD sent to us already installed and with the latest version.
OK, so now before we go ahead and try a third package to install, I wanted to check if that package
has already been installed in my system or not and to check that I have to run the command R.P.M. minus,
which is the option queue for Kurri Kurri.
All the package that I have installed in my system with minus eight with eight option when you hit Enter,
it went into my list of packages that installed.
It is giving me every single packages.
Of course there's so many of them.
What if I wanted to know how many packages I have installed?
I will do simply W.S. minus avil.
This will give me the total number of packages that installed.
Of course W, C minus L in this case is not actually counting the packages.
It actually count counting the lines, the output of R.P.M. minus keyway.
This telling me the 313 150 packages installed.
Now I want to see I want to install a package for DNS.
Now, before I installed a packet for DNS, I wanted to check if that package is installed.
So I'll do R.P.M. promiscuity grep and a package that needs to install association associated with DNS.
It's called blind.
I'll do R.P.M. minus Kiewa and for bind only.
And you will see here it has the BI libraries, carbines, Bine Libraries, Pilot License, RBC Byne
and by utilities.
So there is no package with just BINDE.
So it means I don't have DNS installed.
So what I will do is I will install by running a companion install binde and I hit enter.
Now it's doing the same thing, it's going outside on the Internet to all the repositories that are
defined in my configuration files and it's coming back with the package saying, hey, I found this
package called Bine and it's architecture version that I find which matches to your system a 64 bit.
The version that you will be installing of mine is this repositories is the updates repository and the
size is one point eight megabyte.
The transaction summary is right here.
Install one package.
Total download size is going to be one point eight meg.
So I'll go ahead and it will say, is it OK?
I'll say yes, go ahead.
Install the package.
And if you see the progress, depending on the speed of your computer, how fast it is connected to
the Internet, that's what matters in doing the download and install.
So right now, if you see that the regime is doing two things for us.
One, it's downloading the package.
Once his completed downloading, then right here, it's installing the package, it's installed, once
it's installed, it verified it and it has confirmed that it has installed the package.
Now, how do I verify again, manually by running the command R.P.M. minus keyway grep or BINDE.
OK, and now this time you will see.
Right here.
Yes, the third or fourth line, this one is just simply behind without any Lib's license or any other
extra packages that needed for mine.
So Jume also installs any dependencies, meaning if there is any other packages that is required with
this package, it does it for for yourself.
Whereas R.P.M., if you have one R.P.M. package you and you run the command, it will tell you, hey,
I don't have that dependency, so you have to install that package as well.
So two, again, to go back to our RPM command to install a package, you have to use a command rpm
minus I h we are.
You could change that to HIV via H, whichever the way you want space the location of your R.P.M..
So if you have downloaded your RPM and lets it temp then you will specify slash temp slash package,
whatever the name of the packages and usually the package ends but dot r.p.m. then when you run this
command it will install that package for you.
Now you could also do R.P.M. minus E to remove a package.
So let's say if I want to remove this package, bind the one we just installed, so I will have to type
here now.
Bind.
Our package is not so I did some kind of mistake, so hard to see, let me see if I could copy and paste
should be able to do that.
Yes, copy and paste
it, it's gone now, can I verify it?
R.P.M. minus Kuai or find.
OK, you see, it's not there.
So what do we do now if I want to install the back of illusion installed by.
Click here to install it, yes, it is downloading again, same process and it's downloading now, you
probably thinking, hey, didn't it download when we when we did the same command before?
Yes, it did download.
But Jum is very smartwool what it does.
It downloads, installs, it verifies and it also cleans up your download so they see your space disk
space is used more efficiently so it doesn't keep the old downloads on your system.
OK, so now the download is completed.
Let's check again if you have the package.
Yes, we do have the package and package is right here, the first one now, we used R.P.M. minus Eckermann
to remove that package and we could also do Jume remove Binde and it will do the same thing as if I
would do R.P.M. minus eight.
So it says remove one package.
Yes.
Go ahead and remove it.
So it's gone.
So anyway, guys, I hope you know, now that how R.P.M. and Jamkaran works, you will be working a
lot with this these two commands if you're going to be in sys administration capacity.