top of page

YUM

Writer's picture: easSylinuxeasSylinux

1) How to check the installed software (rpm’s) on Redhat Linux ?


Ans:- rpm -qa package_name

        (or) rpm -qa | grep package_name*


For example:-

[root@eassylinux ~]# rpm -qa yum

yum-3.2.27-14.el7.noarch


2) How to install  specific software package using rpm command on Redhat Linux ?


Ans:- rpm –ivh package_name 

3) How to remove the software package from on Redhat  Linux ?


Ans:- rpm -ev package_name

4) How to upgrade the existing Redhat package using rpm command ?


Ans:- rpm –Uvh  package_name

5) How to display the list of installed software package’s files ?


Ans:- rpm -ql package_name 


6) How to get the installed software information like package version and short description of package ?


Ans:- rpm -qi package_name


7) How to find files belongs to which rpm package ?


Ans:- rpm –qf  location_of_file  


8) How to display a list of recently installed software ?


Ans:- rpm -qa –last


9) How to get the list of dependencies for specific rpm file?


Ans:- rpm -qpR rpm_file


10) How to get the list of dependencies for specific package?


Ans:- rpm -qR package_name


11) How to remove the package without checking the dependencies on Redhat Linux ?


Ans:- rpm -ev –nodeps package_name


Yum – Yellow update manager


1) What is yum?


Ans:- yum is yellow update manager which is a front end tool for package management. 

Yum allows automatic updates, package and dependency management, on RPM-based distributions. Yum mechanism will automatically resolve the dependencies unlike rpm commands.


2) How to install packages using yum?


Ans:- yum install package_name


3) How to configure yum repository in Redhat Linux?


Ans:-Here is the step by step guide

4) How to update the package using yum?


Ans:- yum update package_ name

5) How to search the package in yum?


Ans:- yum search package_name

6) How to remove the package using yum?


Ans:- yum remove package_name

7) How to check the updates for yum repository ?


Ans:- yum check-update

8) How to update the yum repo ?


Ans:- yum update

9) How to get the package information using yum ?


Ans:- yum info package_name

10) How to list the installed packages on Redhat linux using yum  command ?


Ans:-yum list installed


11) How to know the particular files belongs to which package?


Ans:- yum provides file_path


12)How to list the enabled repositories ?


Ans:-yum repolist 


13) What are the Advantages of Yum Server?


Ans: -

1st - Automatic resolution of software dependencies.                                                                 

2nd -  Command-line and graphical versions.                        

3rd - Multiple software locations at one time.  

             

 GOOD LUCK !

25 views0 comments

Recent Posts

See All

HTTPD

1) What does Apache server mean? Ans:- Apache Web Server is designed to create Web servers that have the ability to host one or more...

NFS

1) Why we use NFS server? Ans :- we used NFS (Network File Sharing) server to share a file or a directory over the network but we can...

FTP

1) Why we use FTP server? Ans :- The File Transfer Protocol (FTP) is used to downloads and upload the files over a network. 2) On which...

Kommentare


Never Miss a Post. Subscribe Now!

connect with us and stay in loop with easSylinux

© easSylinux
bottom of page