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.
May I ad few cents to this too?
1. Install a and n series, this will allow to boot and download any other, package management will be available too.
2. Therefrom try find a dependencies resolver for Slackware (3rd party software) or go "by foot".
this would be around 1GB or a bit more, i guess You could squeeze 14.2 to a 4-5GB with X but that just depends. a is just not enough, less than a is just asking for trouble (=fun)
I recently did a minimal installation and I enjoyed it ;-)
As for the reason why, well, people do worse things ;-)
Word of advice; consider inspecting doinst.sh before installing the package.
Sometimes it might contain commands that are not available due to missing dependency and it will fail silently.
(Pat redirects stderr to /dev/null in most [all?] of the doinst.sh scripts).
... I would like to know if there is a guide or tutorial to install a completely stripped version of Slackware 14.2. ...
'Minimal install' always implies context of required functionality, which is why there is no pre-configured minimal install. Instead of removing packages post-install, minimize up front by filtering what is downloaded. Using rsync '--exclude-from' option makes it easy.
Most libraries are installed which eliminates most dependency fixups. An application will complain about missing components and it is easy to add them back one by one until runtime requirements are met.
you might want to try salixOS instead. it's more noob friendly than native slackware.
although I had some dependency problems too when installing basic. like the power manager icon didn't show up in the start menu.
but that was a minor case.
salixOS is fully backward compatible with native slackware. it's unlike zenwalk or slax or vectorlinux, salix is 100% mimicking slackware's original releases.
salix is so easy to install and use. comes with the slapt-get package manager, and sourcery GUI for slackbuilds.
although the salix repo already has almost all the binaries you might need.
Last edited by sanmarino-london-axis; 05-26-2017 at 12:09 AM.
The most minimal system I have installed consisted of just a ap l n series. However, this was for upgrading to -current purpose. Otherwise, I install everything except e kde kdei y. I install all packages, only from the xap series I deselect what I do not need.
I've played around with trimming down my Slackware install, but nowadays, I just install everything except E KDE XFCE and XAP, then add back Imagemagick, MPlayer and Firefox. That's from a lot of installs and trial and error, and trying to save a few megabytes slashing and burning never worked well for me. I've never had a problem with my current installs, but I don't use DE's and only one GTK app, so your milage may vary.
Not installing most of a distro that handles all the dependencies doesn't help much if you leave too much of it out, so I'm with the others in advising to just install everything except the groups you know you don't need and won't miss.
I know that this thread is really old, but in case it helps someone ...
My use case is a homebrew server which uses a 2GB CF card as IDE Primary Master and a bunch of encrypted SATA drives.
Installing everything isn't a very good solution for me as it must fit into the 2GB CF card!
I just installed Slackware 14.2 using 'expert' mode to install a very cut down set of A, AP and N.
I moved var, tmp and home to a ramdisk to save wear on the CF card, but that's another story.
For the next 20 minutes or so I systematically tried all the programs that I needed.
I got plenty of '.so missing' errors so copied the name of the lib into https://packages.slackware.com/ with it set to mode=content
and then eg 'installpkg /mnt/cdrom/slackware/l/libname-1.2.3.4.txz' (having mounted the cd)
I even managed to originally exclude ifconfig but easily fixed it after consulting packages.slackware. (n/net-tools-1.60.20120726git-i486-1.txz)
The ONLY thing I had difficulty with was cryptsetup, which would hang after typing in the password.
A bit of googling revealed that I needed 'installpkg /mnt/cdrom/slackware/a/lvm2-2.02.154-i586-1.txz' and then all was sweet.
The server runs Samba, Httpd, Logitech Media Server, SSHD, has LUKS encrypted drives and when the drives spin down, takes just 20 watts of power.
I also installed GraphicsMagick and all the necessary libs to run it. (that took about half the time!)
I did it and quite a few old slackers were sniffy about it but I have a perfectly workable system in 8.6 GB. Yes, of course it's not necessary because we all have more disk space than we know what to do with, but it's a nice feeling all the same.
I had one advantage in that I had done a lot of LFS/BLFS builds, so I knew the names of many essential libraries and made sure they were present before I started installing applications. The first launch of any application was from a terminal so that if it crashed, I could see why. Typically it couldn't find a library so I installed that. If it happened more than once, I used ldd to get a list of what was missing at one stroke. The search and file-search options of slackpkg were very useful too.
In the end, there was only one missing file that stumped me. I can't remember the name that came up in the error message but I know I appeared to have that file. So I asked for help and someone told me the message came from Python, which meant that the missing file must have a .py suffix. Then I was able to track it down and install it.
So I say go for it, but don't expect it to be quick.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
sometime ago I did a really mininal Slackware installation: 20 packages
----------------------
aaa_base-14.2-i586-2
aaa_elflibs-14.2-i586-28
aaa_terminfo-5.9-i486-1
bash-4.4.005-i586-2
coreutils-8.27-i586-1
devs-2.3.1-noarch-25
e2fsprogs-1.43.4-i586-1
etc-14.2-i586-9
eudev-3.1.5-i586-8
glibc-solibs-2.24-i586-2
grep-3.0-i586-1
kernel-huge-smp-4.4.38_smp-i686-1
kernel-modules-smp-4.4.38_smp-i686-1
kmod-24-i586-1
shadow-4.2.1-i586-2
sysvinit-2.88dsf-i486-4
sysvinit-scripts-2.0-noarch-33
tar-1.29-i586-1
util-linux-2.29.2-i586-1
xz-5.2.3-i586-1
--------------------------
could be updated with slackware-current.
I provide a little memo of different kind of mini slackware installation (2018)
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
For my understanding, a minimal system is a bare system able to boot and to grow.
Up to you, after you've your minimal system to include what's missing to you to do what you need.
When you've to much packages, you don't know what there are for.
When you've the barest system you need to think, that's the way I understood Slackware: I shrinked it to have as less as possible.
I normally install most packages from a, d and l, and few packages from n (just enough to get dhclient and httpd working). For X, I install most packages in x, except the fonts and the xf86- drivers I don't need. Then I install packages or build slackbuilds, see if there is anything missing, and install the missing dependency. The MANIFEST file in the slackware/ dir has everything that every package installs on the system.
Sorry, these files are not actually tagfiles. The reason for that is that I can't work with one-package-per-line files which say e.g.
Quote:
<name>:ADD
I want instead a list of packages that will be EXCLUDED from the install. Why is that? Because then when -current adds a new package (or renames one) it will get added by default and I don't want current to be broken by that. My requirement for 'minimal' is a loose one. 'Working' is much more important.
There are sub-files named after specific versions of Slackware which give supplemental packages which will be added to the list of excluded packages, for example all versions of Slackware should exclude these packages from the l series for minimal install: https://github.com/bifferos/vagaslac...ter/tags/l.skp
That won't equate to disk usage because Vagrant compression reduces that, but it should give a vague idea. You can always pull the image down to VirtualBox and take a look if you want to try it out. https://www.vagrantup.com/intro/getting-started/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.