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.
Kommentare