Reducing number of installed packages.
New year and a little house cleaning. I ran ls -1 /var/log/packages|wc -l and it's over 1000! Many I had never heard of so I am removing them.
What I really need is to have a monitor watching the system and creating a list of files that have been loaded/used in the last 6-8 months or so. Does anyone know if such a monitor exists? I was thinking back to tripwire or something like that. How many does ls -1 /var/log/packages|wc -l does your -current show? It will save me a lot of time updating -current to have fewer packages. |
Reducing number of installed packages.
Slackware is expected to be fully installed. You might run in dependencies troubles unless being very careful removing packages...
|
Quote:
|
Some of us still enjoy using a more minimal install and being able to remove and recompile packages as needed is a great learning experience. Sure it may not make much difference in system upgrades except for potentially complicating them and hard drive space is not a concern for most people, but benefits in learning how your system works are well worth it.
On my system I use this script I found in an old arch forum post and modified slightly for slackware to make sure I did not remove anything important or to track down what extra packages need to be recompiled after an update. It works for my use case, but it probably needs a little work to be made more portable. Code:
#!/bin/sh Code:
# This one will blacklist all SBo packages: |
OT, but orbea, you may want to add bluez-firmware to that list :) Somehow we missed it for several months, so the very early versions of the list omitted it.
|
Quote:
Are you on a slow connection? Are you not using slackpkg? |
Yes, the trimming procedure can be time consuming and is unsupported. I could have full install on my build machine, but not on my netbook, where I can only spare 3,5G
Problem is when I compile something on full install, makefile will sometimes autodetect, and then depend on wide variety of things that don't exist on netbook. So one could say trimming does save some time in the long run, because packages build much faster on desktop, and I won't have to define deps manually if the two systems are identical. I'd say stable 14.1 is a much better target for discarding packages, because -current requirements change all the time. These are just some of the things I build custom for both -curent and stable: Code:
MPlayer cairo gtk-engines libvdpau opentyrian thunar-archive-plugin Apart from that small inconvenience, and kde being a standard tentackled freedesktop mess, it all works nicely on top of 2G base system with X. |
I'm not fussy about removing packages as I used to be. I still dump sendmail though, most of the text editors, and am leaning away from KDE in favour of XFCE.
I certainly wouldn't recommend anyone remove stuff willy-nilly, but there's a fair amount of duplication of tools. |
Quote:
|
Quote:
I also removed any that were for KDE. BTW How many does ls -1 /var/log/packages|wc -l does your -current show? |
Quote:
I will look at this script. I haven't used the blacklist feature as you have. This makes sense to do it this way. Another question, can't you just comment out the SBo mirrors so ou don't get those packages? Also Orbea is a high-end bike maker in the Basque country of Spain. Not that well known by most. At least that is how I know the word orbea. |
Quote:
The other way to achieve some minimalism here would be to start from a base list of packages (e.g. something like what I did for building my Docker slackware image and add the packages you need, instead of pruning from a full Slackware install. |
Quote:
|
Quote:
Quote:
|
Quote:
I guess it's a viable option still. Has the technology changed at all? i.e. data densities, materials, speed, etc.? I wish I had a DAT drive still. I have some data on DAT but no drive. Will have to take them somewhere. |
All times are GMT -5. The time now is 06:00 AM. |