LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11:48 AM   #1
bsmile
LQ Newbie
 
Registered: Oct 2017
Posts: 27

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, 12:04 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,870

Rep: Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783
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 07:34 AM.
 
1 members found this post helpful.
Old 10-25-2017, 12:45 PM   #3
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, *BSD
Posts: 398

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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 12:56 PM.
 
Old 10-25-2017, 01:01 PM   #4
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 288

Rep: Reputation: 270Reputation: 270Reputation: 270
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, 02:26 PM   #5
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
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, 02:58 PM   #6
hitest
LQ Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, Debian, FreeBSD, OpenBSD
Posts: 5,244

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
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, 07:04 PM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,220

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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, 10:16 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,877
Blog Entries: 18

Rep: Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343
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, 11:33 PM   #9
bsmile
LQ Newbie
 
Registered: Oct 2017
Posts: 27

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, 01:42 AM   #10
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware, Crux, NetBSD
Posts: 1,318

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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, 02:46 AM   #11
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,271

Rep: Reputation: 1298Reputation: 1298Reputation: 1298Reputation: 1298Reputation: 1298Reputation: 1298Reputation: 1298Reputation: 1298Reputation: 1298
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 03: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, 10:46 AM   #12
bsmile
LQ Newbie
 
Registered: Oct 2017
Posts: 27

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, 10:46 AM   #13
bsmile
LQ Newbie
 
Registered: Oct 2017
Posts: 27

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, 11:21 AM   #14
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware, Crux, NetBSD
Posts: 1,318

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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, 11:46 AM   #15
bsmile
LQ Newbie
 
Registered: Oct 2017
Posts: 27

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


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

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

All times are GMT -5. The time now is 01:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration