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

Share:
149

Related videos on Youtube

Prashanth Chiluka
Author by

Prashanth Chiluka

Updated on September 18, 2022

Comments

  • Prashanth Chiluka
    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
      Sambit almost 5 years
      You can use multi threading to achieve.
    • AK47
      AK47 almost 5 years
      What do you mean call multiple URLs ?
    • Turtle
      Turtle almost 5 years
      Hello 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
      Mark Rotteveel almost 5 years
      Why do you think prepareStatement.equals("true") would ever evaluate to true? prepareStatement is a PreparedStatement, so it will never be equal to the String "true". What are you trying to do?
  • officeboi101
    officeboi101 over 10 years
    Just want to add another way to make a list of installed software: yum list installed