I am not from System admin background, however due to some reasons I need to perform some tasks as described below:
I need to install some packages in RHEL in 4-5 nodes, using "yum" in RHEL 7.x OS. To do so, I came across various terms like: yum
, .repo
, .rpm
.
I somewhat understood that using yum
we can install a software, but I am having difficult in how yum
gets the software from internet.
Can anyone help me understand the following points:
1) Is yum
the program which does the software installation?
2) What is .rpm
? Does .rpm
have the actual software which gets installed? Is .rpm
somewhat similar to .tar
?
3) How does yum
get / download the software from internet? Does it consult the .repo
file?
4) When we write yum - y install some_program
, does it first download the binaries from internet and then install or do we need to do some rsync
.
I am confused, I did try finding the answers online, however my doubts still remain there. Can anyone help me in simple words?