LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-02-2005, 08:09 PM   #1
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Rep: Reputation: 15
Does Slackware RPM?


Hi everybody.

Just a simple question: Can I use rpm packages with Slackware?
 
Old 07-02-2005, 08:24 PM   #2
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
You can use the "rpm2tgz" utility that comes with Slackware, but it's probably better to find a Slackpkg (not too common) or the source code for the program (almost always available).
 
Old 07-02-2005, 08:44 PM   #3
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks jrdioko.

The main reason I ask is that I'm having problems with Mandrake and I'm thinking of changing distros to Slackware/SUSE and I've got a lot of rpms (for things like Celesia, some games, like prboom etc.

Any suggestions?
 
Old 07-02-2005, 08:57 PM   #4
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
I believe SUSE has its own packaging system so I'm not sure how it would work for that. For Slackware, I have had some luck with rpm2tgz and it's worth a try (it's just not 100% effective). It might take some time to redownload everything, but most applications do provide source code and it's not that difficult to install that way once you get used to the process. In fact, that's one of the things I like best about Slackware. I install almost everything from source which gives me control and shows me exactly what's being done, and then use checkinstall instead of make install so that it is installed as a package that can easily be viewed and removed.
 
Old 07-02-2005, 10:23 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ. If you are interested in finding a specific package for Slackware, *definitely* bookmark LinuxPackages -- J.W.
 
Old 07-03-2005, 01:46 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
As well as rpm2tgz, you can install rpm as well although it is "unsupported".
 
Old 07-03-2005, 03:46 AM   #7
OhMyAchingGut
Member
 
Registered: May 2004
Location: Ohio
Distribution: Slackware-current/10.1/10.0, Splack 10, Suse 9.2, NetBSD 2.0, OpenBSD 3.6, Solaris 8
Posts: 85

Rep: Reputation: 15
tools like rpm2tgz and alien are great as last-ditch alternatives. The situation I have used them in is where someone provides a binary RPM, and no source code. In any other case, there is always a better alternative.

In other words, converting all your old RPMs to TGZs and trying to use them in slack is going to be a mess. Truthfully, even taking them into a distro like Red Hat or SuSE which natively uses RPMs would be messy too.

Chances are good that you will find slack packages if what you need, especially at linuxpackages.net. If not, in almost all cases you can find source. Its really not as hard as you might think to compile from source, and truth be told, you'll need to learn eventually. They usually come with instructions. I reccomend using the tool "checkinstall" which i believe is in slackware /testing or /extra when compiling from source, as it makes for a cleaner system...which means its easier for you to remove things later
 
Old 07-03-2005, 07:16 AM   #8
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
HI again.

Had a look at all the rpms/stuff I downloaded. A lot of it (~75%) is source code and of the rest I seem to remember that the source is available.

Any other tips, like on installation/cofiguration?

I have, at one time, had both Mandrake and Slackware installed, on different partitions, and seem to remember that I couldn't get the sound, samba or LAN to work properly. Also, It apparently didn't see the DVD drive.

Regards
k
 
Old 07-11-2005, 09:23 PM   #9
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by OhMyAchingGut
I reccomend using the tool "checkinstall" which i believe is in slackware /testing or /extra when compiling from source, as it makes for a cleaner system...which means its easier for you to remove things later
Hi
Tell me, would I have to recompile the kernel to use "checkinstall"?
 
Old 07-11-2005, 09:49 PM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
Quote:
Originally posted by kriidler
Hi
Tell me, would I have to recompile the kernel to use "checkinstall"?
I don't think so
 
Old 07-11-2005, 09:56 PM   #11
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Hi mrcheeks.
If I don't have to recompile the kernel, then how do I make use if it? I tried "checkinstall" in bash and bash couldn't find it.
k
 
Old 07-11-2005, 10:50 PM   #12
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
No need to recompile the kernel unless you're making major changes. To use checkinstall you just need to download and install it like any other program.

http://asic-linux.com.mx/~izto/checkinstall/
 
Old 07-11-2005, 11:20 PM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
I'd recommend using the checkinstall from a slackware mirror, the other one will work, but I've found at least in my exp. it seems to sometimes screw up the symlinks created during install, also the one from the slackware mirror has been modified to only make slackware packages:

http://slackware.cs.utah.edu/slackwa.../checkinstall/
 
Old 07-11-2005, 11:36 PM   #14
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
thanks.
will give it a try.
 
Old 07-12-2005, 08:15 PM   #15
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Quote:
Originally posted by __J
I'd recommend using the checkinstall from a slackware mirror, the other one will work, but I've found at least in my exp. it seems to sometimes screw up the symlinks created during install, also the one from the slackware mirror has been modified to only make slackware packages:

http://slackware.cs.utah.edu/slackwa.../checkinstall/
I had no idea there was a different version. Time for me to update I guess.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running rpm on slackware djgerbavore Slackware 7 06-01-2005 02:44 PM
slackware and rpm xviddivxoggmp3 Slackware 4 03-31-2004 03:57 PM
RPM on slackware Rum Slackware 4 03-26-2003 06:52 PM
rpm+slackware Juno-106 Slackware 4 02-04-2003 09:03 PM
.rpm on Slackware? mikeshn Linux - General 2 12-22-2002 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration