How to find out all installed software in our RedHat Enterprise 5 server?
149
Solution 1
To get a list of all installed rpms, you can do rpm -qa
. To find out which config files have changed, you can again use rpm: rpm -qa | xargs sudo rpm -q --verify --nosize
Anything that was installed without using rpms is a wild guess, but you should get a good idea from looking at /opt
, /usr/local
and /home
Solution 2
If you install all rpm packages then you can type rpm -qa
to give you a list.
There are other ways to install software (like tarballs) and those aren't tracked ( by the rpm database or any other method that I'm aware of.).
Related videos on Youtube
Author by
Prashanth Chiluka
Updated on September 18, 2022Comments
-
Prashanth Chiluka over 1 year
DBConn dBConn = new DBConn(); PreparedStatement prepareStatement; Connection con = dBConn.getDBConnectionForPro(); prepareStatement = con.prepareStatement("SELECT * FROM TBL_MASCONFIGTTB WHERE SERVICE_NAME=GUPSHUP AND VALUE=TRUE"); if (prepareStatement.equals("true")) { System.out.println(GenerateLinkDaoImpl.sendOTP("90xxxxxxxx", smsBody)); } else { System.out.println(GenerateLinkDaoImpl.SendSms("90xxxxxxxx", smsBody)); }
-
Sambit almost 5 yearsYou can use multi threading to achieve.
-
AK47 almost 5 yearsWhat do you mean call multiple URLs ?
-
Turtle almost 5 yearsHello and welcome on stack overflow! Your code seems functionnal to me, perhaps you could add some info on the functionality you are trying to implement?
-
Mark Rotteveel almost 5 yearsWhy do you think
prepareStatement.equals("true")
would ever evaluate totrue
?prepareStatement
is aPreparedStatement
, so it will never be equal to the String"true"
. What are you trying to do?
-
-
officeboi101 over 10 yearsJust want to add another way to make a list of installed software: yum list installed