[SOLVED] why cannot I install jdk-6u26-linux-i586-rpm.bin on slackware?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
why cannot I install jdk-6u26-linux-i586-rpm.bin on slackware?
Hello guys,
As you know, there is no JDK in Slackware 13.37, there's just JRE. So I wanna install the latest JDK in Slackware. But when I was installing, I failed. The output is as fellow:
rootuser# ./jdk-6u26-linux-i586-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-6u26-linux-i586.rpm
inflating: sun-javadb-common-10.6.2-1.1.i386.rpm
inflating: sun-javadb-core-10.6.2-1.1.i386.rpm
inflating: sun-javadb-client-10.6.2-1.1.i386.rpm
inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm
inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm
inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm
error: Failed dependencies:
/bin/basename is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/cat is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/cp is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/gawk is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/grep is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/ln is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/ls is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/mkdir is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/mv is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/pwd is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/rm is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/sed is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/sort is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/touch is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/cut is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/dirname is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/expr is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/find is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/tail is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/tr is needed by jdk-2000:1.6.0_26-fcs.i586
/usr/bin/wc is needed by jdk-2000:1.6.0_26-fcs.i586
/bin/sh is needed by jdk-2000:1.6.0_26-fcs.i586
Installing JavaDB
error: Failed dependencies:
/bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386
Done.
It looks like a little wired. The commands it cannot find such as cp, basename and so forth are system standard ones. How cannot the installation app find?
And you can't install that rpm because slackware is not rpm based.
Slackware is not rpm based, that's right. However, Slackware includes rpm. So in theory you can install rpm packages, but those installations probably won't work as expected, different startup scripts, diferent locations for manpages, etc. In practice, I have never installed an rpm package in my Slackware system, and I probably won't.
If you are going to install an rpm package it would be better to convert it to a Slackware package first.
If you are lucky, you can simply use rpm2tgz and installpkg.
More likely, you will need to use rpm2targz, unpack the newly created tarball, make the necessary changes to the files/structures, run makepkg followed by installpkg.
One more question. We all know the slackware don't have official repo, if you wanna setup a new app, where are you going to find it? Is it the ftp of slackware?
One more question. We all know the slackware don't have official repo, if you wanna setup a new app, where are you going to find it? Is it the ftp of slackware?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.