Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 having trouble installing a favorite game (this Tron clone for the curious http://armagetronad.net/downloads.php) and experienced a major problem. Specifically, I don't know how. I tried to install the rpm but get a list of failed dependencies (including /bin/bash and /bin/sh), and ended up googling this for hours with no help. I've considered converting the rpm to use pkgtool, but I don't know how that would help. I have a basic knowledge of Linux, and I don't mind doing my research, but I've googled for 3 hours with out yield, though I'm betting that it's because I'm not sure what to look for.
Full list of failed dependencies:
Code:
error: Failed dependencies:
/bin/bash is needed by armagetronad-0.2.8.2-1.final.1
/bin/sh is needed by armagetronad-0.2.8.2-1.final.1
libGL.so.1 is needed by armagetronad-0.2.8.2-1.final.1
libGLU.so.1 is needed by armagetronad-0.2.8.2-1.final.1
libSDL-1.2.so.0 is needed by armagetronad-0.2.8.2-1.final.1
libSDL_image-1.2.so.0 is needed by armagetronad-0.2.8.2-1.final.1
libc.so.6 is needed by armagetronad-0.2.8.2-1.final.1
libc.so.6(GLIBC_2.0) is needed by armagetronad-0.2.8.2-1.final.1
libc.so.6(GLIBC_2.1) is needed by armagetronad-0.2.8.2-1.final.1
libc.so.6(GLIBC_2.1.3) is needed by armagetronad-0.2.8.2-1.final.1
libgcc_s.so.1 is needed by armagetronad-0.2.8.2-1.final.1
libgcc_s.so.1(GCC_3.0) is needed by armagetronad-0.2.8.2-1.final.1
libm.so.6 is needed by armagetronad-0.2.8.2-1.final.1
libm.so.6(GLIBC_2.0) is needed by armagetronad-0.2.8.2-1.final.1
libpng.so.3 is needed by armagetronad-0.2.8.2-1.final.1
libpthread.so.0 is needed by armagetronad-0.2.8.2-1.final.1
libpthread.so.0(GLIBC_2.0) is needed by armagetronad-0.2.8.2-1.final.1
libstdc++.so.5 is needed by armagetronad-0.2.8.2-1.final.1
libstdc++.so.5(CXXABI_1.2) is needed by armagetronad-0.2.8.2-1.final.1
libstdc++.so.5(GLIBCPP_3.2) is needed by armagetronad-0.2.8.2-1.final.1
libxml2 >= 2.6.12 is needed by armagetronad-0.2.8.2-1.final.1
libxml2.so.2 is needed by armagetronad-0.2.8.2-1.final.1
It looks like whatever distro the RPM was packaged for keeps all those files in a different place and so can't find them. Probably the easiest thing to do would be to get the source and build it for Slack.
Also, I don't think Slackware's RPM database is pre-rolled with all the standard system software. I've always just used rpm2tgz to convert RPMs to Slackware TGZs and then just used installpkg to get them running. Compiling from source is definitely an option if that doesn't work.
After messing with the .rpm for too long, I ended up looking for source code, but found a .package file. Went to autopackage.org and had it working in 5 minutes after that.
I read that Slackware isn't .rpm friendly, because they are compiled for each distro, and Slackware happens to have very few. If so, what are the differences between using .rpm files or pkgtool? And why is compiling from source presented as a secondary option?
RPM and TGZ files are simply different formats for packages. The TGZs are simpler because they don't handle dependencies (users need to figure that out on their own). The pkgtool program and the other SDlackware package utilities support TGZs, but the rpm copmmand is included. Howeverthe RPM databases is not AFAIK ever built to contain the depndencies provided by Slackware packages, hence some of your problems.
Compiling from source is always about the safest way to get something going, since source code is compatible with all distros. However, if you compile from source you won't be able to get the system package tools to 'see" the software, unless you use checkinstall or similar software.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.