LinuxQuestions.org
Review your favorite Linux distribution.
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 11-29-2014, 01:52 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Introducing StripSlack, a minimal configuration of Slackware


Hi,

I've recently built a LiveCD based on Slackware, which actually works quite well, except for the fact that there is way too much bloat included. So I started to give a sane minimal configuration for Slackware some thought.

Vincent Batts has a page about a minimal Slackware configuration, and the french Slackware users site sports an outdated article on the subject. I fired up a VM, bookmarked the LFS and BLFS documentation and then spent a few rainy afternoons reading and experimenting.

Here's a first version of StripSlack:

http://www.microlinux.fr/slackware/stripslack-14.1/

Here's a detailed introduction with a HOWTO:

http://www.microlinux.fr/slackware/s...lack-HOWTO.txt

I'd say this is a usable beta. Everything is working fine, there don't seem to be any showstoppers, though there are still some rough edges and some missing things.

In the past, the need for a "basic" Slackware installation has repeatedly been voiced in this forum. I hope my little project can answer these requests.

Test it and feel free to report your findings and suggestions, so we can work on making it perfect.

Cheers,

Niki

Last edited by kikinovak; 11-29-2014 at 01:56 AM.
 
Old 11-29-2014, 03:31 AM   #2
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Thanks for the effort Kikinovak!

Just one comment: it might be worth making clearer what exactly is included in your stripslack as I don't think you include a desktop seeing your tagfiles and this might not be everyones understanding of a minimal enterprise desktop, so better to be clearer about this on your webpage. In particular as determining which packages need to be installed to get a minimal XFCE + some specific applications isn't obvious.

I for example do this by using Salix's dependency repository with a bash-script to generate a specific tagfile for a XFCE desktop with only the applications I use, which works well enough for me.
 
1 members found this post helpful.
Old 11-29-2014, 04:00 AM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Nice work Kikinovak! Might check this out in a VM soon myself.
 
Old 11-29-2014, 04:16 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by moesasji View Post
Thanks for the effort Kikinovak!

Just one comment: it might be worth making clearer what exactly is included in your stripslack as I don't think you include a desktop seeing your tagfiles and this might not be everyones understanding of a minimal enterprise desktop, so better to be clearer about this on your webpage. In particular as determining which packages need to be installed to get a minimal XFCE + some specific applications isn't obvious.
At the moment this is only useful for someone who wants a minimal console-system. Desktop users definitely don't want to use this.

That being said, I have an idea that's slowly growing at the back of my head. Something similar to 'yum groupinstall <package_group>' on RHEL/CentOS or 'tasksel --install <package_group>' on Debian, only for Slackware. This will take some time, though, since my skills to do that aren't sufficient for the moment. But I'm working on it.
 
1 members found this post helpful.
Old 11-29-2014, 06:10 AM   #5
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by moesasji View Post
Just one comment: it might be worth making clearer what exactly is included in your stripslack as I don't think you include a desktop seeing your tagfiles and this might not be everyones understanding of a minimal enterprise desktop, so better to be clearer about this on your webpage.
I didn't understand at first that you were referring to the h1 page title. I just changed it to avoid any further confusion.

http://www.microlinux.fr/slackware/

Thanks for the heads-up.
 
Old 11-29-2014, 08:01 AM   #6
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by kikinovak View Post
That being said, I have an idea that's slowly growing at the back of my head. Something similar to 'yum groupinstall <package_group>' on RHEL/CentOS or 'tasksel --install <package_group>' on Debian, only for Slackware. This will take some time, though, since my skills to do that aren't sufficient for the moment. But I'm working on it.
Not sure what you aiming for, but generating the appropriate packages to install for a given minimal desktop system is not difficult to do using the salix dependency tree.

What I typically do is start with a similar file as you have as your stripslack.sh then add the package-names of things I know I want to add and run this through a simple script that fills in the missing packages using Salix's hard work. This gives me a complete list of packages to install on that system. With that list I can generate the tagfile using gust.

Initially I thought it would be hard to add packages, but in reality I find slackpkg sufficient to deal with the things I need to add. As a result I never extended the quick and dirty script for step 1 although in reality it would be no more than taking a diff between the list of installed and to_install packages.
 
Old 11-29-2014, 08:19 AM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by moesasji View Post
Not sure what you aiming for.
That's why I wrote a detailed document about the subject and linked to it in my initial post. Please take at least one minute to read it before starting to speculate.

http://www.microlinux.fr/slackware/s...lack-HOWTO.txt

Here's what it says:

Code:
Minimal system
--------------

When two users are talking about a "minimal system", chances are they don't
refer to the same thing. Embedded Linux systems will consist in barely more
than a kernel, a C library, a shell and a very reduced set of tools. On the
other side of the scale, installing the "Base System" package group on a
RHEL/CentOS system will leave you with several hundred packages and a complete
collection of shells and text editors as well as a full set of administration
tools.

A task-oriented approach will help us in finding the right balance between
these two extremes. Here's a few things we want to be able to do with our
minimal installation of Slackware:

  * Boot in multi-user console mode
  * Use the Bash shell
  * Edit text files using Vim
  * Display man and info pages
  * Manage disks and filesystems
  * Build an initrd
  * Manage users
  * Connect to a network
  * Install and upgrade packages through a network
  * Work remotely using SSH
  * Work with the Git revision control system
  * Compile applications
  * Browse the Web using a text-mode browser

StripSlack simply aims to provide all these functionalities while leaving out
all the stuff that's not strictly needed.
Cheers,

Niki
 
2 members found this post helpful.
Old 11-29-2014, 08:46 AM   #8
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
I am glad you kept bsd-games.
 
Old 11-29-2014, 08:49 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,272
Blog Entries: 61

Rep: Reputation: Disabled
Got it running OK in VirtualBox. Thanks, Niki.
It's been on my ToDo list for ages: setting up a minimal Slack in VBox, but I'm afflicted with chronic laziness.
 
Old 11-29-2014, 08:52 AM   #10
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Rep: Reputation: 14
This is great. Would it be possible to include a blacklist for slackpkg so updates don't undo it all ?
 
Old 11-29-2014, 08:55 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,272
Blog Entries: 61

Rep: Reputation: Disabled
Slackpkg only updates whatever you've got installed.
 
Old 11-29-2014, 09:01 AM   #12
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
Nice work.

If you aren't aware there is tracepkg, a great tool to track package dependencies.
Last time it was discussed here http://www.linuxquestions.org/questi...on-4175490991/.
And that's the version I use http://www.bisdesign.ca/ivandi/slackware/PAM/tracepkg/

BTW you don't need any X libs. Groff is used only by man and it works fine w/o X. And I am not sure why you need the netkit stuff. You have to add portmap and eventually inetd to make use of it. Telnet and tftp-hpa make me wonder too.

Cheers
 
2 members found this post helpful.
Old 11-29-2014, 09:21 AM   #13
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
And here is a simple script I use in conjunction with slackpkg and tracepkg to get rid of the bloat in /l.

Code:
#!/bin/bash

grep -w /slackware64/l /var/lib/slackpkg/pkglist | cut -f6 -d ' ' | \
while read p ; do
    [ -f /var/log/packages/$p ] || continue
    grep -q $p /var/log/dependencies/* || echo $p
done
Cheers
 
1 members found this post helpful.
Old 11-29-2014, 09:30 AM   #14
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by kikinovak View Post
That's why I wrote a detailed document about the subject and linked to it in my initial post. Please take at least one minute to read it before starting to speculate.

http://www.microlinux.fr/slackware/s...lack-HOWTO.txt
For clarity: I referred to the "idea" that was "growing" in your head, not what you now posted, hence the quote above. Bottomline, please be careful in misreading replies...

Just for clarity: what you currently have is in itself very useful for many already, which is why I thanked you for this effort!
 
Old 11-29-2014, 10:38 AM   #15
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by moesasji View Post
For clarity: I referred to the "idea" that was "growing" in your head, not what you now posted, hence the quote above. Bottomline, please be careful in misreading replies...

Just for clarity: what you currently have is in itself very useful for many already, which is why I thanked you for this effort!
Right, sorry, it was a misunderstanding indeed.

Cheers,

Niki
 
  


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
Minimal configuration to run XWindows client software? FeyFre Slackware 4 03-06-2012 12:11 PM
Need minimal Samba configuration with guest r/w share instructions daggett Linux - Server 1 11-09-2011 03:22 PM
help plz, redhat entreprise 3 minimal hardware configuration akadidm Linux - Hardware 3 06-12-2006 05:35 AM
Minimal Slackware hsimah Linux - Newbie 5 01-06-2006 09:03 PM
Minimal Slackware? Allen614 Slackware 26 03-21-2004 03:17 AM

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

All times are GMT -5. The time now is 10:36 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
Open Source Consulting | Domain Registration