LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   where to download software I need under slackware (http://www.linuxquestions.org/questions/slackware-14/where-to-download-software-i-need-under-slackware-4175425431/)

hgdcjq 09-03-2012 10:46 AM

where to download software I need under slackware
 
well, slackware has no package manager like apt or rpm ,so I have a question that where can we download software I need ? how to deal with dependency ?
are there some books on slackware?

willysr 09-03-2012 10:56 AM

Try slackbuilds project

Didier Spaier 09-03-2012 11:01 AM

Go to http://docs.slackware.com/

hitest 09-03-2012 11:19 AM

Quote:

Originally Posted by hgdcjq (Post 4771527)
well, slackware has no package manager like apt or rpm ,so I have a question that where can we download software I need ? how to deal with dependency ?
are there some books on slackware?

1. Three good sites for trusted Slackware software .

http://www.slackbuilds.org/

http://rlworkman.net/pkgs/

http://slackware.com/~alien/

2. As the system administrator you are responsible for resolving software dependency issues if and when they arise. A full install of Slackware works out of the box with all dependencies met. If you add third party applications from the above mentioned websites peruse the read-mes and how-tos for dependency information.

3. http://www.slackbook.org/

ReaperX7 09-03-2012 12:47 PM

Salix's packages are compatible with Slackware's packages also.

ftp://slackware.org.uk/salix/

There's always the source option as well.

I tend to store source builds in /usr/src and use this general build command only edited if necessary:

Code:

./configure --prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --build=$ARCH-slackware-linux --host=$ARCH-slackware-linux && make install clean

caduqued 09-03-2012 01:27 PM

All links in previous posts are really good for getting software for Slackware.

However, I assume that if you are asking about the dependency matter, you are new to Slackware. The short answer to this specific point is: not. Slackware does not manage dependencies per-se or by itself. If you are used to that kind of package management, at the beginning Slackware-approach can be a bit baffling (even intimidating?). Anyway, the good news are that is actually just a matter of few executions in CLI and that's it. Besides, the help that you can get from the lot of LQ's members, just to mention one source, is great and sometimes enough to get your system running. In any case, forget about "sudo apt-get install" or "yum package", in Slackware-world that just won't work.

In short, the (easy) steps are:

- Find/Download the appropriate SlackBuild source for <package_to_install>
- adjust (if necessary) the <package_to_install>.SlackBuild
- run as root
- install with "installpkg <package_to_install>.tgz"

and that's it. Of course, given that dependencies are not solved, you just need to be sure you have any required package already installed.

Happy slacking

mrascii 09-03-2012 01:30 PM

Slackware comes with a lot of software out of the box if you do the full install that is recommended so you may find that you don't need much else. For additional software check slackbuilds as others have suggested. The Slackbuilds site will list any dependencies you need to install. Spent some time reading the Slackware book and become comfortable with Slackware. Come back here when you have questions or need help. Slackware will grow on you. Guaranteed. :)

DNA
AKA mrascii

NyteOwl 09-03-2012 01:51 PM

All the above is good. I'll add that Slackware does indeed have package management. it does not however have dependencies management.

ruario 09-03-2012 02:47 PM

Quote:

Originally Posted by hgdcjq (Post 4771527)
well, slackware has no package manager like apt or rpm

Umm ... what? It has Pkgtools!

damgar 09-03-2012 06:12 PM

Here are a bunch of good links regarding package management in Slackware, but some of them are quite dated.

Personally I like Eric's packages first, then SBo and once you get the hang of SlackBuilds (Slackware build scripts) then sbopkg is just super great.

The most common commands for package management are installpkg, upgradepkg, and removepkg which have a few options and for system updates there is a program/command slackpkg which if you look around you will find plenty of good information on. Happy Slacking!

Habitual 09-03-2012 06:33 PM

Code:

wget http://slackware.com/~alien/slackbuilds/openjdk/pkg/13.37/openjdk-7u7_b30-i486-1alien.txz
installpkg ./openjdk-7u7_b30-i486-1alien.txz

Pretty damn easy, if you ask me. :)

Knightron 09-03-2012 06:41 PM

Quote:

Originally Posted by hgdcjq (Post 4771527)
well, slackware has no package manager like apt or rpm

Quote:

Originally Posted by ruario (Post 4771706)
Umm ... what? It has Pkgtools!

And Rpm. :rolleyes:

hgdcjq 09-03-2012 08:42 PM

thanks,I will have a try!

Ramurd 09-03-2012 11:14 PM

hmm... reminds me; since rpm is evil incarnate :p How hard would it be to tweak the rpm that comes with slackware to use /var/log/packages as its database? :-)

StreamThreader 09-03-2012 11:58 PM

I have a FTP server with my packages - ftp://ifconfig.com.ua/pub/Software/Linux/Slackware/


All times are GMT -5. The time now is 06:23 AM.