LinuxQuestions.org
Help answer threads with 0 replies.
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 03-18-2023, 09:20 PM   #31
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,020

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208

Quote:
Originally Posted by lostintime View Post
The way you continually belittle and berate people is growing old.
LuckyCyborg is not a native English speaker and to make matters worse, he lives in a culture that is famous for "sounding offensive" when translated somewhat directly into English.

But that does not mean that he is a malevolent person. On the contrary, as far as I know him, he did a lot for Slackware and Slackers without having any personal interest.

So please be kind to be easier with the labels. If you don't like the way he talks, just don't answer him.
 
1 members found this post helpful.
Old 03-18-2023, 09:59 PM   #32
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Quote:
Originally Posted by youni View Post
I am not figuring out how to count how heavy my slackware is?
Here's a script I worked out for that. Give it a package search term for one package, a series name for a series or "BASE" to get the total size of all installed packages from the base system.
Attached Files
File Type: txt howbig.sh.txt (4.0 KB, 26 views)

Last edited by pghvlaans; 03-18-2023 at 09:59 PM. Reason: clarity
 
5 members found this post helpful.
Old 03-18-2023, 10:08 PM   #33
lostintime
Member
 
Registered: Dec 2021
Posts: 192

Rep: Reputation: Disabled
@ZhaoLin1457

Points taken, thank you.

I do not believe I wrote that LuckyCyborg is malevolent and even commented that he is skilled and knowledgeable. The Slackware change logs note his technical contributions. I apologize if I insinuated otherwise.

There is the old adage about only getting one chance to provide a first impression. New comers to the Slackware forum seek help rather than snarky replies. People do not like having their intelligence and motives challenged. Especially when many new comers are not native English speakers. Helping and patience creates a positive impression. Answer the person's question rather than judging or jumping a soap box.

Slackware is not exactly a favored distro these days. Positive first impressions and actually helping people might improve that status.

Treating people with dignity and respect is not a difficult skill to learn, regardless of what culture a person lives. I have been online for a very long time and am well aware of language challenges. More than a few of LuckyCyborg's posts have nothing to do with cultural differences.
 
4 members found this post helpful.
Old 03-19-2023, 04:18 AM   #34
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by pghvlaans View Post
Here's a script I worked out for that. Give it a package search term for one package, a series name for a series or "BASE" to get the total size of all installed packages from the base system.
it counts packages size, but there are libs and some other files.

Code:
root@slack:~# ./howbig.sh BASE

BASE SYSTEM:
9.34 GiB

root@slack:~# du -sh /usr
12G	/usr
 
Old 03-19-2023, 05:20 AM   #35
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 953

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
Quote:
Originally Posted by youni View Post
Please, advice something to restore Xfce4?
The quick and easy way is to reinstall all Slackware packages, a full install is the recommended way to install Slackware.

Quote:
Originally Posted by youni View Post
How to check xfce4 dependencies?
As you have already noticed, Slackware packages does not contain any dependency information. Removing some packages might break things so you will need to know what you are doing when removing packages. You will need to be comfortable using tools like ldd to see which dynamic libraries binaries are using. You will also need to be comfortable reading different log files and using tools like strace.

It might also be worth noting that removing some of the original Slackware packages might not only break other original Slackware packages. When installing software from third party providers like slackbuilds.org it is assumed that you have a full install of Slackware.

You will need to consider if the disk space saved by removing packages is worth the time you will need to spend tracing down why things go wrong.

An installation with some packages removed will be a non-standard installation. It will also make it harder for you to get help at forums like this when you report something like "Application Y does not seem to work" and only get replies like "works fine here".

Many years ago, at my first installation of Slackware, during the installation process I carefully selected the packages I would need. Among those packages that I didn't select was a package named groff intended for formatting text. As I would not be working with text formatting but programming my choice was easy to not install that package. It then turned out that I got a system where I couldn't read any man-pages. Since then I have always made full Slackware installations.

regards Henrik
 
2 members found this post helpful.
Old 03-19-2023, 05:30 AM   #36
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,771

Rep: Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455
Quote:
Originally Posted by youni View Post
Code:
bash-5.1# df -h /dev/sda4
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         12G     0   12G   0% /dev
That's the size of the special file system in RAM, where the device nodes are. Only names like "/dev/sda4", not the contents of that partition.

Try this, instead, to see the size of your Slackware install:
Code:
df -h /
Quote:
Code:
du -sh /usr
12G	/usr
There is stuff outside of /usr, too.
 
1 members found this post helpful.
Old 03-19-2023, 05:52 AM   #37
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,771

Rep: Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455
Quote:
Originally Posted by youni View Post
4 partitions for different os, each 20Gb, need to save space.
If you really need to save space, it could be a good idea to look at those packages which are the largest.

Code:
$ cd /var/adm/packages
$ grep UNCOMPRESSED *
For example, do you need kernel-source?
 
2 members found this post helpful.
Old 03-19-2023, 06:34 AM   #38
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,061

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
It's all about your needs and preferences.
As others have pointed out already, removing stuff from a full install might lead to nasty surprises due to slackware's lack of dependency management. But there are a few huge packages (or groups of packages) that in my experience can be removed without disastrous dependency issues:

Petri Kaukasoina has already mentioned kernel-source (1.3 GB installed). Some programs are dependent on rust for compiling, but if you don't need it, rust takes up almost 1 GB. Texlive is another space consumer (>400 MB). And of course everything KDE related. There are a few packages in the xap section that can be removed without creating serious issues, e.g. Firefox, Thunderbird, Seamonkey, Gimp.

Even so, a 20 GB partition is on the small side. If you do compiling, you might sometimes need a few GB of /tmp files with the risk of running out of space.

Replacing your HDD/SSD or adding another with more space might be the best option if you really want to keep four or more OSs running.

Last edited by kgha; 03-19-2023 at 07:06 AM.
 
Old 03-19-2023, 07:10 AM   #39
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,341

Rep: Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052
Quote:
Originally Posted by pghvlaans View Post
Here's a script I worked out for that. Give it a package search term for one package, a series name for a series or "BASE" to get the total size of all installed packages from the base system.
FYI I added LC_NUMERIC=C on top of the script, to avoid warning at line 21

Mine is fat
Code:
BASE SYSTEM:
19.76 GiB

Last edited by marav; 03-19-2023 at 10:02 AM. Reason: typo
 
3 members found this post helpful.
Old 03-19-2023, 07:18 AM   #40
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
If you paid yourself $3 an hour when fidling with your OS, you could hours ago have bought a nice 250GB second-hand SSD...

20GB is only asking for trouble later on...
 
2 members found this post helpful.
Old 03-19-2023, 07:23 AM   #41
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,341

Rep: Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052Reputation: 4052
Quote:
Originally Posted by Jan K. View Post
If you paid yourself $3 an hour when fidling with your OS, you could hours ago have bought a nice 250GB second-hand SSD...

20GB is only asking for trouble later on...
second-hand ?

a brand new 250GB SSD costs 20$ ...

Last edited by marav; 03-19-2023 at 07:55 AM.
 
1 members found this post helpful.
Old 03-19-2023, 09:38 AM   #42
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
@youni
You could try Salix.

https://www.salixos.org/

P.S.
Code:
BASE SYSTEM:
12.47 GiB
That's a full install + some SBo stuff + some alien packages.
Code:
brian@slackdesk:~$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       457G  170G  264G  40% /
That's plus loads of downloaded YouTube stuff & other junk.

Last edited by brianL; 03-19-2023 at 10:06 AM.
 
Old 03-19-2023, 09:55 AM   #43
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
A clean install of Slackware 15.0 doesn't take up a lot of space, probably 10-20 GB on your SSD. Select XFCE during the installation process. It is a benefit to have the KDE applications, such as K3B and okular.

Last edited by hitest; 03-19-2023 at 10:26 AM. Reason: Typo
 
1 members found this post helpful.
Old 03-19-2023, 10:21 AM   #44
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448Reputation: 4448
My Slackware-15 root partition contains 13G with 7.2G in /usr. Yes, it took me quite a bit of work to get there but, as a retired person, I have plenty of time to get things just the way I like them. Slackware-14 took up only 12G, but there are quite a lot more dependencies in -15.

I don't know though if it can be done by working down from a full install. I tried that once with Ubuntu, which does have dependency checking, and it was a disaster. I found it easier to work upwards from zero with -14.2, then copied that setup to -15.0 and added whatever was needed to make everything work.

Last edited by hazel; 03-19-2023 at 10:22 AM.
 
1 members found this post helpful.
Old 03-19-2023, 10:21 AM   #45
biker_rat
Member
 
Registered: Feb 2010
Posts: 368

Rep: Reputation: 220Reputation: 220Reputation: 220
Install a/ ap/ d/ l/ n/ x/ xap/ xfce/ subtract out seamonkey and thunderbird, if they are useless to you (maybe you only use webmail client for email and are happy with it). Add k/ if you need to compile drivers that require it (famously and commonly nvidia, but there are others) or want to tweak your kernel config. Add f/ if you will be offline and want extra help pages offline. Mostly this should work. Notably you will have no office suite, but could easily add libreoffice from alienbob to get that back. There are many other nice to have apps in kde, but many people use none of them.
 
2 members found this post helpful.
  


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
[SOLVED] Slackware remove unnecessary packages dalacor Slackware 19 03-19-2023 05:59 PM
[SOLVED] how to use 'apt-get autoremove' to remove unnecessary packages Gregg Bell Linux - Newbie 6 12-05-2014 01:44 AM
Ubuntu Netbook - remove all unnecessary packages to run a server role fantasygoat Linux - Server 5 11-25-2010 12:55 PM
remove unnecessary contents divyashree Linux - Newbie 4 06-15-2009 06:20 AM
Remove unnecessary packages on a Fedora 10 install Roflcopter Linux - Software 5 04-12-2009 11:01 AM

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

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