LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-28-2011, 04:23 AM   #1
mout4peace
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: Disabled
Package management online


Hello everybody, sorry for my english, I'm french.

I'm newbie on Slackware distribution, I'm reading the 3rd official handbook in beta version and I learn that the automated tool "slackpkg" exists only since Slackware 12.1.

Before that, how did users install new packages and their libraries ? Did they search each package with their web browsers and then install manually ?

For me, it seems tedious because I usually work with distributions like Fedora, Debian which use an online package management.

Is there another way to download it from console and without web browser?
 
Old 05-28-2011, 05:25 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
Maybe you could try slapt-get or gslapt. It's a apt-get like packagemanager that exists longer. But I don't know what version of Slackware you are using. Slap-get and gslapt (the gui for the packagemanager) are no official slackware packages though.
 
1 members found this post helpful.
Old 05-28-2011, 06:18 AM   #3
mout4peace
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Hannes Worst View Post
Maybe you could try slapt-get or gslapt. It's a apt-get like packagemanager that exists longer. But I don't know what version of Slackware you are using. Slap-get and gslapt (the gui for the packagemanager) are no official slackware packages though.
Thanks but I would like to use official packages. Did you use your web browser to download packages ?
 
Old 05-28-2011, 07:26 AM   #4
nivieru
Member
 
Registered: Feb 2008
Posts: 78

Rep: Reputation: 14
slackware official packages all come on the install cd/dvd, you usually install them all when first installing slackware,
so there isn't much sense in an official automated package manager.
that being said, slackpkg does make it more convenient to install security patches or to keep track with slackware-current.
if you want to install software that isn't provided by official packages, you should check sbopkg, which helps building packages from source with slackbuild scripts, or look for unofficial reporitories such as alien bob's packages
 
1 members found this post helpful.
Old 05-28-2011, 07:26 AM   #5
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
I have been using Slackware since Slackware 9. There were several different sites on the internet where one would look for packages, download them, and install them.

The main danger with those sites was that the package was the compressed .tgz. And, they were unofficial packages, so you didn't know how the submitter had built the package.

That is very unlike SlackBuilds.org, where you download the code to build the package, download the program source, build the package, and install the package.

Here are some of the old sites from my bookmarks: Package finder http://slak.homelinux.org/pkgs/, LinuxPackages (the major resource) http://www.linuxpackages.net/, http://slacky.it, Jay The Obscure's Slackware Packages (last updated Oct. 16, 2006) http://www.slackages.com/linux/slackages/. Jay's has a warning that to use his packages you might have to update other packages on your system because of dependencies.
 
1 members found this post helpful.
Old 05-28-2011, 07:35 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
For SlackBuilds (from slackbuilds.org), get sbopkg. You can either use it from the ncurses GUI, or commandline. It more or less automates the download, build, and install process.
 
1 members found this post helpful.
Old 05-28-2011, 07:38 AM   #7
slack_them_all
LQ Newbie
 
Registered: Apr 2011
Posts: 20

Rep: Reputation: 2
As nivieru said, Slackware doesn't behave like many other Linux distributions. When you install it by default you get all official packages. They are around 1000 when Debian has more than 30000. There is no need then to grab packages through Internet apart from security updates (slackpkg may be used to do this).

If you don't do a complete install, then slackpkg is useful to add more official packages that you didn't choose first. Anyway you should install all packages from the A, AP, D, K, L, X (if you use it) series. All needed libraries (for official packages) are installed then.

To add unofficial packages, slackbuilds (and sbopkg) is the best direction to take. You would have to add dependencies yourself by reading the packages README file from the slackbuild site or from sbopkg.

Last edited by slack_them_all; 05-28-2011 at 01:21 PM.
 
1 members found this post helpful.
Old 05-28-2011, 02:21 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
http://wiki.linuxquestions.org/wiki/...ependencies.3F
 
1 members found this post helpful.
Old 05-28-2011, 03:51 PM   #9
mout4peace
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok, thanks for all this advices, it's more lucid for me now.

Must I have developer competence to understand concept of slackbuilds and compile software easily ?
 
Old 05-28-2011, 03:54 PM   #10
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Quote:
Originally Posted by mout4peace View Post

Must I have developer competence to understand concept of slackbuilds and compile software easily ?
No, you do not have to. I am not a programmer and have no problems using the slackbuilds to compile my own packages. Usually I sightly modify them to adjust them for my needs.
 
1 members found this post helpful.
Old 05-28-2011, 04:04 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by mout4peace View Post
Must I have developer competence to understand concept of slackbuilds and compile software easily ?
You can install sbopkg on your machine, and then download the queue-files for that program. Than you can use sbopkg for installing software, this way it will handle dependencies, build and install the software for you. Isn't more difficut then using yum or apt-get.
 
2 members found this post helpful.
Old 05-28-2011, 06:30 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by mout4peace View Post
Must I have developer competence to understand concept of slackbuilds and compile software easily ?
No.

http://slackbuilds.org/howto/
 
1 members found this post helpful.
Old 06-04-2011, 05:54 AM   #13
mout4peace
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
OK, I tried it, and it's easier than the traditional .configure/make/make install and probably cleaner.
I have another a question :

How keep the system clean, since dependencies are not resolved, when I remove packages ? How can I remember a package's dependence if I installed it one years ago ? Must I have to note it myself ?
 
Old 06-04-2011, 12:11 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Yes, you have to take notes. Don't forget that a package that was installed as dependency may be also a dependency for other packages you have installed later.
 
1 members found this post helpful.
Old 06-04-2011, 01:09 PM   #15
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
The way I do it is I keep the package in a folder with the deps.
As root I nav into the folder and do:
upgradepkg --install-new *.t?z <--- to install
and
removepkg *.t?z <--- to remove
 
1 members found this post helpful.
  


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
Online School Management Software AQG Linux - Software 3 11-06-2013 10:35 AM
online project management stripe21 Linux - Software 2 01-18-2008 05:51 AM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:44 AM.

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