RPM command learning

To install jdk in centos today, it was originally to follow jdk1.7, but it turned out to be pure 1.8, using the rpm installation package.
  • install command
  • rpm -ivh jdk-8u65-linux-x64.rpm

  • query command
  • The results of the rpm -qa|grep jdk
    query are as follows:


  • uninstall command
  • rpm -e --nodeps 


Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326920167&siteId=291194637