Click to See Complete Forum and Search --> : Can slackware use RPMS?


armando86
11-25-2000, 11:55 PM
I finally got a cable modem today and I'm itching to set it up in linux so I can share the connection over my network. The only problem is that instead of a NIC I got a stupid USB ethernet linking thing, I did a search to see if it was supported in linux and it turns out that it is. But the company who made the driver made it in a src.rpm, my question is how do I compile srr rpms in slackware? If I compile the RPM on my mandrake box is there a chance I can use it on my slack box? Thanks!



------------------
majorpayne201@yahoo.com
"In a world without walls who needs windows?"

Calvin_1976
11-25-2000, 11:57 PM
Check out http://freshmeat.net/projects/alien/?highlight=alien

I havent used it but I hear it works ok.

linuxraver
11-26-2000, 12:05 AM
i read that slack has rpm support limited but it does have it

armando86
11-26-2000, 12:18 AM
Thanks calvin I'm going to try alien right now.

------------------
majorpayne201@yahoo.com
"In a world without walls who needs windows?"

pbharris
11-26-2000, 12:30 AM
rpm2tgz - should work for src rpms.

jbstew32
11-26-2000, 12:32 AM
Slack actually comes with a program called RPM2TGZ which turns RPMS into Slack packs. I haven't used it yet. Slackware does come with RPM installed though. You might try installing a package that way, but for the most part, it doesn't work at all. If you do try to install by RPM, DO NOT force it to install. Very very bad things will happen to your system!

If it is a src rpm, try doing a rpm --rebuild <filename> If that doesn't work then, go to your mandrake box, and I believe you can enter a special parameter that will cause it to build a tarball from that src.rpm file. (maybe rpm --rebuild -t <filename> or something similar)

Just play with it. If you do try to compile things on one box and use it on another, make sure that you keep that architectures that same (no SPARC programs on an i386 http://www.linuxnewbie.org/ubb/smile.gif

Hope that is of some help to you.

http://www.linuxnewbie.org/ubb/cool.gif Slackware http://www.linuxnewbie.org/ubb/cool.gif

X_console
11-26-2000, 12:33 AM
You can install RPM if you like. It's on the Install CD, but keep in mind that it's unsupported and you may encounter problems.

armando86
11-26-2000, 01:33 AM
Thanks for all your help, I'm going to try RPM2TGZ and if that doesn't work I'll go to the mandrake box and rebuild the RPM into a tarball. Once again thank you all. BTW the company also has the the code for the driver in a .c format is there any way I can compile that into a module and use that for the driver?


------------------
majorpayne201@yahoo.com
"In a world without walls who needs windows?"