SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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 ?
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
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.
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.
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.
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.
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.
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 ?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.