LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-25-2021, 08:20 PM   #1
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Rep: Reputation: Disabled
Full install now takes 16GB (amd64)


I was bored last night and wanted to play with qemu and have a look at some of the stuff I don't use like plasma (much better than the last kde but still a bit pants).

I created a 16GB cow2 disk and booted from the usb install image. I setup a single partition (no swap) and ran through a full install using defaults from my local mirror of slackware64-current. It installed fine but when starting up kde it warned me of a full disk. I was surprised to see 100% usage in df - although there was still a few hundred megabytes left.

The biggest package is grub2 but that's a bug fixed in 2.06 which is still in beta. Next are kernel-source, rust, and kernel-firmware.

Anyway I just thought it was a point of interest.

PS little perl script to find installed package sizes. Handles hardlinks but assumes one filesystem.

Code:
#!/usr/bin/perl

$root='/';
$pkgs='/var/log/packages';
my %inodes;

opendir(DIR,$pkgs);
while (my $name = readdir(DIR)) {
    next if ($name =~ m/^\./);

    #print $name."\n";
    open (PKG, $pkgs.'/'.$name);
    while (my $line = <PKG>) {
	last if ($line =~ m/^FILE LIST:/);
    }
    my $total = 0;
    while (my $path = <PKG>) {
	chop $path;
	next if ($path =~ m@/$|^install@);
	my @s = lstat($root.$path);
	
	$total += $s[7] if !defined $inode{$s[1]};
	$inode{$s[1]} = 1;
    }
    print $total."\t".$name."\n";
    close(PKG);
}
closedir(DIR);
 
Old 04-26-2021, 12:29 AM   #2
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
No need to use grub in VM's. Like shooting a fly with cannon.
 
Old 04-26-2021, 01:04 AM   #3
kukibl
Member
 
Registered: Jun 2008
Distribution: Gentoo
Posts: 88

Rep: Reputation: 28
That is for me personally one of the "painful" issues on Slackware.
 
Old 04-26-2021, 01:05 AM   #4
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
I noticed that recently setting up a laptop for Wife's friend,
(a Slackware64) - w/o KDE, installed size is 13G!
Friends, we're rolling in the deep :-D
 
Old 04-26-2021, 01:05 AM   #5
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by kukibl View Post
That is for me personally one of the "painful" issues on Slackware.
Here's a nickle kid, go buy yourself a better computer!
 
Old 04-26-2021, 01:28 AM   #6
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Now, I give to OP this homework:

put this 16GB Slackware full installation on a 8GB device, as big is the eMMC from two of my netbooks - and to remain enough space for a light web-browsing.

I for one I did this, but I am curious about on what design will go the OP.

Last edited by LuckyCyborg; 04-26-2021 at 01:34 AM.
 
Old 04-26-2021, 03:39 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,489

Rep: Reputation: Disabled
Yeah, Slack installs everything.....the main reason I changed (to Debian/Debian based) distros - I don't need everything - just what I use on a daily basis, even now it's less than 3GB installed.

I started out using Linux when RedHat 4.2 installed only 45MB, (OK, it was just command line, but even so)....
 
2 members found this post helpful.
Old 04-26-2021, 03:48 AM   #8
kukibl
Member
 
Registered: Jun 2008
Distribution: Gentoo
Posts: 88

Rep: Reputation: 28
Quote:
Originally Posted by STDOUBT View Post
Here's a nickle kid, go buy yourself a better computer!
I am trying to find any sense in your answer, but without success. Is this supposed to be funny?
 
Old 04-26-2021, 04:28 AM   #9
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
put this 16GB Slackware full installation on a 8GB device, as big is the eMMC from two of my netbooks - and to remain enough space for a light web-browsing.
For a full installation, I'd have to cheat and use the current live slack (assuming the netbook can do 64bit which I imagine it won't). Just use persistence on the USB stick and put a swap partition and a data partition on the eMMC.

Otherwise it is a partial choice, as discussed for 14.2 here

Do I get 6/10 for effort?

Last edited by keithpeter; 04-26-2021 at 04:30 AM. Reason: clarify first para
 
1 members found this post helpful.
Old 04-26-2021, 04:35 AM   #10
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by STDOUBT View Post
Here's a nickle kid, go buy yourself a better computer!
I was trying to see the relevance in your answer. It does not make sense. You must be one of those blabbering buffoons that just need to generate some noise every now and then.
 
1 members found this post helpful.
Old 04-26-2021, 05:19 AM   #11
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by keithpeter View Post
For a full installation, I'd have to cheat and use the current live slack (assuming the netbook can do 64bit which I imagine it won't). Just use persistence on the USB stick and put a swap partition and a data partition on the eMMC.

Otherwise it is a partial choice, as discussed for 14.2 here

Do I get 6/10 for effort?
Well, my take was a F2FS partition for root (aka /) because the old generation of eMMC device, and putting the /usr content on a squashfs file generated on another system (and reference rysnc tree prepared on a portable USB hard drive) . This required also modifications on initrd, of course.

I chosen this solution because this way the /etc content was editable as usual, I can freely test different kernels (without /usr/src/linux-x.y.z which is not included anyway) because the /lib was also natively writable, and more important: the /home was just standard and writable.

BTW, this way I got around 5GB occupied by system (including the Plasma5 from KTown), leaving around 3GB for user data - more than enough for web browsing and watching YouTube.

Last edited by LuckyCyborg; 04-26-2021 at 05:30 AM.
 
1 members found this post helpful.
Old 04-26-2021, 05:56 AM   #12
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
BTW, this way I got around 5GB occupied by system (including the Plasma5 from KTown), leaving around 3GB for user data - more than enough for web browsing and watching YouTube.
That is impressive and I'll do some reading out of interest.

I imagine that the use of a compressed file system means higher processor load as parts of the compressed file system are uncompressed when being loaded into RAM so a trade off (as always).
 
Old 04-26-2021, 06:05 AM   #13
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by keithpeter View Post
That is impressive and I'll do some reading out of interest.

I imagine that the use of a compressed file system means higher processor load as parts of the compressed file system are uncompressed when being loaded into RAM so a trade off (as always).
Yes, of course there's a CPU load trade off, BUT it's lighter than when using also an UNION FS (in the USB live style), and in other hand, overall, the system feels much more responsive, as those old eMMC have only around 50MB/s read rate, then the compressed data is loaded much faster.

Around 3 times faster, in my subjective opinion.

Last edited by LuckyCyborg; 04-26-2021 at 06:10 AM.
 
1 members found this post helpful.
Old 04-26-2021, 06:17 AM   #14
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by STDOUBT View Post
Here's a nickle kid, go buy yourself a better computer!
I'm a poor Eastern European and cannot afford a better computer. What shall I do, man?
 
Old 04-26-2021, 06:20 AM   #15
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by notzed View Post
Anyway I just thought it was a point of interest.
Yeah, but you won't find another OS that is anywhere near as complete out of the box.

The size of Slackware is a point of excellence, IMO... It's the same size as Windows, but significantly more capable.
 
  


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
how to install ubuntu on a 16gb ram 16gb msata and 1tb hdd pc marc berk Ubuntu 7 10-23-2015 08:31 PM

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

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