LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-18-2008, 05:11 PM   #1
klapaucius
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
3rd party repos / compiling


Hi,
This is kind of a general question but I am new to Slackware (I am coming from Debian), and would like the learn the `Slackware way', which, obviously, is quite different from the `Debian way'.

I know there are quite a few 3rd party repos around, and as I am a Debian person, it would be natural for me to use them. Still, I am curious if it is generally recommended to use them or to compile and build packages yourself. I am sure the opinion is bound to be divided but I would like to hear your opinions on that. Let me also say that I would not like to use packages managers, at least not before I learn the system relatively well.

Thanks!
 
Old 07-18-2008, 05:41 PM   #2
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,277

Rep: Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587
Welcome to the LQ Slackware forum!
You can compile and build your own packages, but, I prefer using official Slackware packages. If I want to install applications not offered with the Slackware install CDs/DVD I will download and build packages using the build scripts at slackbuilds.org.
 
Old 07-18-2008, 08:48 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,298

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
You *should* use the package manager in Slackware, and I would recommend it above anything else. However, the package manager included with Slackware is much simpler (and very different) than the Debian package manager. It does not resolve dependencies and cannot be set up to automatically download packages. The best way (in my opinion only, of course) to install applications in Slackware is to compile applications and create Slackware packages that can be installed with Slackware's package manager (`installpkg packagename` should do the trick).

I have posted several times about this and won't type it out again (check this post, for example), but I prefer either writing SlackBuilds manually (see here) or using SlackBuilds from slackbuilds.org (or, to a lesser extent, slacky.eu). You can also try gnashley's src2pkg if you want, which I haven't tried but has been extremely highly rated from basically everyone that has used it (I haven't seen a negative review yet). It attempts to automatically compile applications and create a Slackware package that you can install (but you can also pass parameters to the application as well if you want to customize it).

Using Slackware's package manager together with Slackware packages makes it easy to install, upgrade and remove packages. If you just perform a blind `./configure; make; make install`, it could be difficult to upgrade or remove the application, and it makes it difficult to track which files on your system are from which packages. If you use the package manager, almost all of your files can be traced to one package based on the listings in /var/log/packages. It's very convenient.

Last edited by T3slider; 07-18-2008 at 08:50 PM.
 
Old 07-19-2008, 05:25 AM   #4
klapaucius
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hitest
Welcome to the LQ Slackware forum!
Thanks!

Quote:
Originally Posted by T3slider View Post
You *should* use the package manager in Slackware, and I would recommend it above anything else. However, the package manager included with Slackware is much simpler (and very different) than the Debian package manager. It does not resolve dependencies and cannot be set up to automatically download packages. The best way (in my opinion only, of course) to install applications in Slackware is to compile applications and create Slackware packages that can be installed with Slackware's package manager (`installpkg packagename` should do the trick).
Sorry for the misunderstanding. When I said I did not want to use package managers, I was thinking about things like Slapt-get (here are my Debian habits showing again). Of course, I *do* use installpkg, upgradepkg etc. It most definately is a package manager, and, from what I have noticed so far, a very good one indeed.

Thanks for all the remarks. Wish me luck with Slackware ;-)
Klapaucius
 
Old 07-19-2008, 07:21 AM   #5
thekore
Member
 
Registered: Oct 2003
Location: Scotland
Distribution: Debian 6.0 | Crunchbang Statler
Posts: 34

Rep: Reputation: 16
I personally use Slapt-get at this moment in time with my 12.1 install. The slackware pkgtool is a very simple and effective method however. Occasionally you will need to build from source when you cant find a .tgz slackware package. But generally it all works out well.
 
Old 07-20-2008, 05:07 PM   #6
klapaucius
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Many thanks for the feedback. I am currently learning how to build packages with SlackBuild scripts, and I must say it looks rather promising.
Best,
Klapaucius
 
Old 07-20-2008, 06:13 PM   #7
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,277

Rep: Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587
Smile

Quote:
Originally Posted by klapaucius View Post
Many thanks for the feedback. I am currently learning how to build packages with SlackBuild scripts, and I must say it looks rather promising.
Best,
Klapaucius
Please post back here if you have any questions. As I previously mentioned I highly recommend the slack build scripts at slackbuilds.org. Robby et al have scripts for lots of interesting programs.

http://www.slackbuilds.org/

Last edited by hitest; 07-20-2008 at 06:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Adding 3rd Party Yum Repos carlosinfl Red Hat 1 06-26-2008 06:59 PM
RHEL 5 and 3rd Party Repositories. zcrxsir88 Linux - Security 2 02-18-2008 08:58 PM
3rd party package managers? crontab Slackware 3 10-06-2007 11:34 AM
how to install 3rd party .deb SlipAway172 Ubuntu 1 05-12-2005 10:53 PM
Safety of 3rd party cd's robby737 Linux - Security 5 06-16-2004 12:04 PM


All times are GMT -5. The time now is 03:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration