Just a forewarning, I'm incredibly new to UNIX in general, so if you could keep all answers relatively simple that would be great
I am trying to install java on my machine, and when I try to install the .rpm file, I get an error that tells me I am missing dependencies.
Any suggestions?
These are the errors:
root@cole-ThinkPad-T440s:/home/cole/java# rpm -ivh jdk-8u111-linux-x64.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/basename is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/cat is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/cp is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/gawk is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/grep is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/ln is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/ls is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/mkdir is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/mv is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/pwd is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/rm is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/sed is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/sort is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/bin/touch is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/cut is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/dirname is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/expr is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/find is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/tail is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/tr is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/bin/wc is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
/usr/sbin/update-alternatives is needed by jdk1.8.0_111-2000:1.8.0_111- fcs.x86_64
/bin/sh is needed by jdk1.8.0_111-2000:1.8.0_111-fcs.x86_64
root@cole-ThinkPad-T440s:/home/cole/java#
Once I install java, I also want to set the jdk so that eclipse can locate it. I could also use a bit of help on how to do that