On Tue, Jan 04, 2022 at 06:37:53PM -0800, David Christensen wrote: > debian-user > > I installed debian-live-11.1.0-amd64-xfce+nonfree.iso and updated onto a > amd64 computer for graphical desktop usage (e.g. "daily driver"): > > 2022-01-04 17:57:07 root@laalaa ~ > # cat /etc/debian_version ; uname -a > 11.2 > Linux laalaa 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 > GNU/Linux > > > I noted that the install was larger (11+ GB) than previous installs using > *-xfce-CD-1.iso Debian installers (~6 GB). > > > I like to keep my root partition small (~13 GB) and have been looking ways > to free up space -- e.g 'apt clean', 'apt-get autoremove', 'apt-get purge > ...', etc.. > > > I have previously removed libreoffice language packages: > > 2021-12-05 17:36:22 root@laalaa ~ > # dpkg-query -l 'libreoffice*' | egrep '^ii.+language' | perl -ane 'print > $F[1], "\n"' | xargs apt-get -y remove > ... > After this operation, 874 MB disk space will be freed. > > > Using dpkg-query(1), It appears that an ARM toolchain was installed, which I > do not expect to use. If I purge it, will I lose something I need? > > 2022-01-04 17:58:02 root@laalaa ~ > # dpkg-query -W -f '${Installed-Size}\t${Package}\n' '*arm-*' 2>&1 | sort > -rn > 755527 libstdc++-arm-none-eabi-newlib > 576828 libnewlib-arm-none-eabi > 507111 gcc-arm-none-eabi > 17027 binutils-arm-none-eabi > 109 arm-trusted-firmware-tools > > 2022-01-04 18:35:54 root@laalaa ~ > # apt-get --dry-run purge libstdc++-arm-none-eabi-newlib > libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi > arm-trusted-firmware-tools > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > The following package was automatically installed and is no longer required: > libnewlib-dev > Use 'apt autoremove' to remove it. > The following packages will be REMOVED: > arm-trusted-firmware-tools* binutils-arm-none-eabi* gcc-arm-none-eabi* > libnewlib-arm-none-eabi* libstdc++-arm-none-eabi-newlib* > 0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded. > Purg arm-trusted-firmware-tools [2.4+dfsg-2] > Purg gcc-arm-none-eabi [15:8-2019-q3-1+b1] > Purg binutils-arm-none-eabi [2.35.2-2+14+b2] > Purg libstdc++-arm-none-eabi-newlib [15:8-2019-q3-1+13] > Purg libnewlib-arm-none-eabi [3.3.0-1] > > > Are there other packages that I should consider purging? >
You've hit a problem: the live DVDs include a whole bunch of "stuff": much of itshould be de-installed on clean up but there are a few changes that stick, I think - desktop background may be subtly different. The installer is also prepared by different folk from those in the normal CD/DVD images team. I don't know exactly what's in there: maybe contact the team responsible for debian-live? > > David > If you've not got much data copied across yet, I'd suggest a reinstall with the non-free firmware netinst / DVD as you can control this much better. If you only want XFCE, then an expert install will enable you to deselect/uncheck Debian graphical environment as you work through. There is no longer an XFCE install medium on CD - as of Bullseye it became too big to fit. All the very best, as ever, Andy Cater