friendica.eskimo.com

Slim Down Debian Install

I've installed debian on an old laptop and am wondering if the 10 gig base system size can be slimmed down by deleting unneeded files.

I ran the commands to look for any runaway logs or other obviously large files and nothing popped out.

Is there a group of folders full of stuff I don't need or is this just the size of modern distros?

EDIT: I ended up doing a netinstall and got a 6ish gig system so I'm pretty happy with that. The netinstall image was able to detect my wifi card even though the debian live installer was not.

This entry was edited (5 months ago)
16 1 1
@Magister @WhiteOakBayou There are a lot of things to like about MX, nice interface, I really like that you can boot up using either systemd or sys-V, since systemd tends to be a lot faster but also tends to break it makes it really nice to have a sys-v fallback when things do break. Support has been excellent, I've yet to have it take them more than three days to fix anything broken I've reported, contrast that with Ubuntu where if it happens within the next three major releases you're doing good.
1 1
if xfce is what you want, try a custom install (using dvd1) and just pick xfce instead of the gnome default during tasksel. you will get a few desktop applications like libreoffice and firefox esr, but those are easily removed if you don't want or want to replace them. using dvd1 as my install source, wired and wireless drivers were set up during install, were available during install, and were ready to go on first boot to xfce (on an am3 pavilion desktop test system).
This entry was edited (5 months ago)
1

You can start with dpigs. Then start marking packages automatically installed with apt-mark. aptitude may be a good frontend when removing a lot of packages, you can mark entire categories, like libraries, as automatically installed.

Pay attention to the package headers when removing packages. You don't want to remove essential packages.

2 1
@ouch @WhiteOakBayou If you try to remove essential packages, it will not allow you without an extra flag, even as root.
1

Install the headless version, no GUI:

${EDITOR} /etc/apt/apt.conf.d/99noRecommends
APT::Install-Recommends "0";
APT::Install-Suggests "0";

and then run apt update.

Then install fluxbox session manager, oughta be enough.

2 1
I've tried several distros to fit on my repurposed Chromebooks that came with 16 GB emmc storage. Debian was the smallest one, using by default about 5.5 GB of data, plus 1 GB for swap, plus the boot partition. I had about 9 GB left after installing, with XFCE. After I installed a few apps and games, I ended up with 6 GB free space. It works fine and it updates fine.
2 1
i'm also using a chromebook with 16 gb emmc storage. my installs keep being about 10 gigs with xfce. i was thinking i would end up with just about your numbers but there is almost 5 gigs of other stuff i ended up with from the live disk installer.
1 1

apt install localepurge

to delete translation files not needed

1 1 1
Things in this vein were exactly what i was looking for wwhen i made the post. thanks. Freed up almost a gig.
1

deborphan was removed from development, but if you are using current stable you still can use it. It's awesome.
It identifies packages installed but probably not needed.

apt install deborphan

1 1