Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm just a newbie to Linux and I'm trying to install a Java 1.5.0 SDK to my newly-installed slackware 10. I've extracted the RPM file needed for the installation, but everytime that I run it, using the command "rpm -iv <file>.rpm" I get the following error message:
----------
<eplacepkgs '//root/java_inst/jdk.rpm';echo RESULT=$?
error: Failed dependencies:
glibc >= 2.1.2-11 is needed by jdk-1.5.0-fcs
sh-utils >= 2.0-1 is needed by jdk-1.5.0-fcs
fileutils >= 4.0-8 is needed by jdk-1.5.0-fcs
gawk >= 3.0.4-1 is needed by jdk-1.5.0-fcs
textutils >= 2.0-2 is needed by jdk-1.5.0-fcs
/bin/sh is needed by jdk-1.5.0-fcs
RESULT=1
----------
Help me to resolve this so i can istall the java sdk?!?!?!
A couple of things you can use the --nodeps to have it ignore dependancies. If you don't have these files that may cause it to not work though. When you su up to install do you use su - so that your paths are correct? You can also try ldconfig as root befor eyou try to install if you had just installed some stuff if all else fails make sure you have those files installed. oh you have slack 10. Don't use the rpm. Use the bin. chmod a+x javafile.bin then unpack either in you /usr/lib directory or anywhere and move to /usr/lib then make a symblic link from /usr/lib/java to your java-1.5 directory then when you want to upgrade just delete and recreate the symlink to your new directory. That way you don't have to reset up your paths and what not. If you insist on using the rpm then do rpm -iv --nodeps java-1.5.rpm to install the file
Thanks a lot, I just included the "--nodeps" option on the rpm command, it worked so far, I have now my J2SE 1.5.0 on my slack 10, and i hope it will behave properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.