LinuxQuestions.org
Review your favorite Linux distribution.
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 10-25-2017, 10:48 AM   #1
bsmile
Member
 
Registered: Oct 2017
Posts: 98

Rep: Reputation: Disabled
Talking how to thin the installed slackware?


I basically use slackware to learn linux, I was intrigued by its completeness, stability and speed as learned from the internet, but, man, it is big! I just need a command line interface with minimum size, I have removed KDE and hadn't installed XFCE, and now I am left with 6.0G, which is still way too big. Is there anything else I can remove to get a slim yet complete linux so that I can play with on command line?
 
Old 10-25-2017, 11:04 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Slackware is intended to be installed in full. Many others have tried to slim it as much as possible, but you will waste spend a lot of time just doing that. Better install an already trimmed down derivative like Salix Xfce-14.2. You will be offered a choice of three installation modes. Choose the Core one.

This being said, if you use the runlevel 3 in Slackware you will get a similar experience and none of the additional installed software will get in your way. But you already know that, right?

Last edited by Didier Spaier; 10-26-2017 at 06:34 AM.
 
1 members found this post helpful.
Old 10-25-2017, 11:45 AM   #3
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
If you don't really want a GUI (according to another thread you started) you can also remove the "x" and "xap" package sets. If you don't want to do any development or compile software either, then you can remove the "d" set and the kernel source as well. On the other hand, to be on the safe side I would keep all the other sets fully installed.

Of course you will do the above at your own risk. LQ members on the Slackware forum generally assume, for very good reasons, that people coming for help do have a full install of all package sets.

Last edited by Philip Lacroix; 10-25-2017 at 11:56 AM.
 
Old 10-25-2017, 12:01 PM   #4
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by bsmile View Post
I basically use slackware to learn linux, I was intrigued by its completeness, stability and speed as learned from the internet, but, man, it is big! I just need a command line interface with minimum size, I have removed KDE and hadn't installed XFCE, and now I am left with 6.0G, which is still way too big. Is there anything else I can remove to get a slim yet complete linux so that I can play with on command line?
The problem here is that you're defining two fundamentally contradictory properties for the system you want: "slim" (i.e., consuming as little space as possible) yet "complete" (i.e., containing as much software as possible). You appear to have a target installation size in mind that you're trying to work back to by 86ing packages you think you don't need: I'd argue that you're thinking about this backwards, and that you ought to think about what you want your installation to be able to do (serve web pages? read mail? run a desktop environment?) and install packages that achieve those objectives on top of an installation that does almost nothing useful.

The best starting point is probably the Slackware LXC template in -current: if you created a Slackware LXC container, this is what would be installed. There are some packages missing from that list that you'll need to install in order to boot Slackware outside of a containerised environment, but you'll need to figure out what that list is by yourself. That'll give you a system that boots and connects to the network, but not much else. From there, install packages until your system contains both the software with the functionality you want and the libraries needed to run that software.

And don't do this on a live system, obviously. Treat it like an academic exercise. If you do this on a live system, it will all end in tears, as it has so many times before for people in this forum.
 
3 members found this post helpful.
Old 10-25-2017, 01:26 PM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Newegg currently has 8gb thumb drives on sale for $5.99. For the price of a sandwich, you could upgrade your storage and have plenty of space for a full install of Slackware.
 
4 members found this post helpful.
Old 10-25-2017, 01:58 PM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Philip Lacroix View Post
LQ members on the Slackware forum generally assume, for very good reasons, that people coming for help do have a full install of all package sets.
Thank you. A full install of Slackware works out of the box with all dependencies met. You are of course free to tinker with, and or pare down your install to meet your individual needs. We of course assume that you know what you're doing when you remove package sets.
As a rule we support full installations of Slackware.
 
Old 10-25-2017, 06:04 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
for a minimal install without X, I usually install only a,ap,l,n. I have gone through each one and removed things I knew I wouldn't need, but that is usually a lot of work for what little extra space you get.
 
Old 10-25-2017, 09:16 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I agree with Didier Spaier. Do the full install, then just use the CLI.

One reason Slackware is "big" is that includes lots of stuff, including kernel headers, kernel sources, multiple text editors, and many programming and development tools.

Having wanted to compile from sources on other distros and then having discovered that, in order to do so, I needed to install kernel headers, compilers, and so on and so forth, I think the robustness of Slackware is a positive thing.
 
Old 10-25-2017, 10:33 PM   #9
bsmile
Member
 
Registered: Oct 2017
Posts: 98

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Newegg currently has 8gb thumb drives on sale for $5.99. For the price of a sandwich, you could upgrade your storage and have plenty of space for a full install of Slackware.
Thanks, I have a virtualbox installation, thus cannot spare too much space for this system along with several other vb installed on my computer.
 
Old 10-26-2017, 12:42 AM   #10
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by bsmile View Post
I basically use slackware to learn linux, I was intrigued by its completeness, stability and speed as learned from the internet, but, man, it is big! I just need a command line interface with minimum size, I have removed KDE and hadn't installed XFCE, and now I am left with 6.0G, which is still way too big. Is there anything else I can remove to get a slim yet complete linux so that I can play with on command line?
Run the live DVD. No disk space needed.
 
1 members found this post helpful.
Old 10-26-2017, 01:46 AM   #11
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
I would also suggest a full install when possible. There is no performance benefit to a minimal Slackware install (as many people seem to think) and disk space is very cheap these days. If however, you have some reason why adding disk space is hard or you are doing this as a learning exercise, then this will give you some clues.

Last edited by ruario; 10-26-2017 at 02:50 AM. Reason: Updated the guide slightly and updated the URL to the new location
 
2 members found this post helpful.
Old 10-26-2017, 09:46 AM   #12
bsmile
Member
 
Registered: Oct 2017
Posts: 98

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by ruario View Post
I would also suggest a full install when possible. There is no performance benefit to a minimal Slackware install (as many people seem to think) and disk space is very cheap these days. If however, you have some reason why adding disk space is hard or you are doing this as a learning exercise, then this will give you some clues.
Thanks, Ruario, I will give it a try. 2G size would be perfect for my purpose. But seeking help might be a bit hassle as I really don't know whether it is because I hadn't installed something or I made a mistake. But let's wait and see as it is a learning process for me.
 
1 members found this post helpful.
Old 10-26-2017, 09:46 AM   #13
bsmile
Member
 
Registered: Oct 2017
Posts: 98

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by Gerard Lally View Post
Run the live DVD. No disk space needed.
Wouldn't that mean I cannot upgrade or change the kernel or anything to do with the operation system?
 
Old 10-26-2017, 10:21 AM   #14
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by bsmile View Post
Wouldn't that mean I cannot upgrade or change the kernel or anything to do with the operation system?
Use Crux then.
 
Old 10-26-2017, 10:46 AM   #15
bsmile
Member
 
Registered: Oct 2017
Posts: 98

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gerard Lally View Post
Use Crux then.
This sounds interesting, is Crux and Slackware designed under a similar philosophy? Slackware is indeed more familiar to my very old unix impression than other distro like ubuntu etc.
 
  


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
what to remove to thin out slackware 12 install? slack*****user Slackware 4 03-21-2008 10:27 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Installed Slackware, but don't see everything that installed alpinewonder Slackware 4 07-17-2003 10:51 PM

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

All times are GMT -5. The time now is 10:33 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