redhat - CentOS - installing jdk

08
2014-07
  • user42992

    I run the command

    yum search jdk
    

    Output:

    So I run yum install ldapjdk.1686 IT says: No package ldapjdk.1686 available

  • Answers
  • Sathya

    Pacakge is ldapjdk.i686 not ldapjdk.1686 (notice i not 1)


  • Related Question

    centos - How to view history of Yum commands (update, install, remove)?
  • Chris

    I'm seeing some errors in my apache logs and they may (or may not) be related to some packages that I recently installed/removed using Yum.

    Is there a way to view the history of Yum packages that have been updated/installed/removed ?

    I could use the "history" command from unix, but some installations may have been done with different accounts. I've tried searching the web and reading the man page too but haven't found anything.


  • Related Answers
  • MDMarra

    I believe you can find what you are looking for in the Yum log files, located in /var/log/yum.log

  • lzap

    Well,

    yum history
    

    does the job as well.

  • Community

    also try

    grep yum < ~/.bash_history