Select Java Version. Have any Question or Comment? Vihag Gupta January 14, at am Great! Thanks a ton! Leave a Reply Cancel reply Your email address will not be published. Copyright Tech Transit. All rights reserved. Terms of Use - Privacy Policy.
In this example, we first check to see the names of the new RPM packages with the ls command. Then we query the RPM database to see which kernel packages are already installed. Note the -v option will show verbose output and the -h will show the hash marks, which represents action of the progress of the RPM upgrade.
Lastly, we run another RPM query to verify the package will be available. EL kernel EL kernel-smp EL rpm -ivh kernel In this example, we verify the new package name with the ls command.
If you try to install one without the other, you would get an error similar to the following: rpm -Uvh httpd Log in to comment. SM Newbie 5 points. Syed Massi. PD Newbie 7 points. Pawan Dewangan. SD Newbie 19 points. Susan Diller. Where do I get the rpm files??? JK Newbie 9 points. John Kelty.
NG Newbie 7 points. Nikhil Garg. GN Active Contributor points. Georgi Naydenov. Looking for Public key for rhncfg BM Community Member 64 points. The -devel packages will pull in -headless packages as a dependency. This means a system administrator can switch the system java or javac to be something other than the default, JDK 8. But we are getting ahead of ourselves. First, lets see which binaries are managed by alternatives:.
We see that java and javac are managed by alternatives. Next, we are going to switch to JDK 11, using the alternatives --config command:. This will switch the system java binary to JDK
0コメント