What is the difference between Yum and RPM?
Answer
The major differences between YUM and RPM are that yum knows how to resolve dependencies and can source these additional packages when doing its work. Both tools can perform an install, and RPM will even allow you to install multiple versions simultaneously, but YUM will tell you that that package is already installed.
Photo in the article by “Flickr”
How to install Oracle Java JDK 7 on Ubuntu 14.04
Answer
The major differences between YUM and RPM are that yum knows how to resolve dependencies and can source these additional packages when doing its work. Both tools can perform an install, and RPM will even allow you to install multiple versions simultaneously, but YUM will tell you that that package is already installed.
Photo in the article by “Flickr”
Code:
https://www.flickr.com/photos/xmodulo/11721418513
- Step 1: Install python-software-properties. sudo apt-get install python-software-properties.
- Step 2: Add the java repository to your list and update the list. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update.
- Step 3: Install Oracle JDK 7. sudo apt-get install oracle-java7-installer.