Results 1 to 10 of 10

Thread: [ Experiment ] Stripping Down KNOPPIX 7.4.2 DVD to Mimic KNOPPIX 7.2.0 CD

  1. #1

    [ Experiment ] Stripping Down KNOPPIX 7.4.2 DVD to Mimic KNOPPIX 7.2.0 CD

    Hi, folks:

    A list of packages in 7.4.2 DVD which may be able to be purged in order to mimic 7.2.0 CD is included in the attached tar ball. They are arranged based on their reversed dependency, the results of ' apt-cache -i rdepends ', relative to the ones at the adjacent level above; the packages on Level 1 don't have any packages which depend on them. At the same level, packages don't reply on each other, unless they are joined by the ampersand signs and are in dependency cycle.

    So far, after purging these packages with ' dpkg --purge --force-all ' when the persistent overly was in place, the mimic is still bootable and functional; the cheatcode of knoppix64 hasn't been tested. There is also no broken package listed in apt-get/aptitude. The total number and installed size, shown by dpkg, are 1547 and about 3GB (w/o compressed).

    As I'm new to Linux and Knoppix, this purge list probably contains some critical packages (related to 64bit stuff, maybe?) and some surplus. If you spot them, shear them, please!


    PS: A list of packages from 7.4.2 DVD which are in dependency cycle is also attached; the base system, the packages tagged with important and required and the ones which they depend on, were excluded when the list was built. Both lists in the tar ball are plain text files, not scripts.
    Attached Files Attached Files

  2. #2
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Nice use of apt-cache! I'm very curious about the size of a remastered image - I could have checked it out myself, but I'm busy with Debian live 8.0.0 - which btw has a squashfs footprint of ca 870 MB in the comparable LXDE version. Might take the package list (1354 packages, got upload error when I tried to upload it) from that as a starting/goal point too.
    Last edited by Capricorny; 05-10-2015 at 09:44 AM.

  3. #3
    In my experience, using Aptitude to make everything as auto-installed and than marking just the meta-packages you need does a pretty good job for removing the bulk of the bloat. One downside is that, even if you have Aptitude configured to not autoinstall recommends, it won't autoremove recommends. Do note that if you start manually removing packages, an important package might have to be added to your list of manually installed packages to avoid it being autoremoved(for example, at some point a linked dependency that kept busybox from being autoremoved got removed and now I have to mark busybox as manually installed to keep my system so it will boot to the Adriane Menu with speech in-tact). For what it's worth, I've only got 476 packages installed on my primary workstation and could get rid of another 200 if I could find a suitable text-mode replacement for Iceweasel. Then again, I'm far from a typical user and have basically gutted my xserver to the point it would be useless to a sighted user.

  4. #4
    @ Capricorny and Jeffery (in alphabetical order)

    Many thanks to you both for the feedbacks and sharing the first-hand experience. After purging the packages listed in one of the files attached previously, the uncompressed size of the main knoppix folder (/KNOPPIX) is 3089MB. By refreshing the icon-theme.cache files (gtk-update-icon-cache -i -f) and downgrading Iceweasel from version 32 to version 24, the size of the uncompressed folder can be reduced by 82MB and 75MB, respectively. Overall, the sizes of the main knoppix are 2932MB in the form of uncompressed folder (on ext4 partition), 2781MB for the uncompressed iso file and 1015MB for the file compressed with level 9 argument. The final compressed file is nowhere near being fitted in a CD or its size being comparable to Debian Live 8.0.0. If I am able to find more time later on, I will try to repeat the same procedure on KNOPPIX 7.2.0 DVD to see if I have missed something.

    Just for a side note, an upside of compressing the main knoppix folder with level 6 argument is (obviously) to reduce the compressing time significantly but a downside to have a approx. 6MB larger file.


    @ Jeffery

    It seems to being getting harder for the console-based browsers to cope with the modern websites, and I also miss the era when the web pages looked fairly primitive by today's perspectives. By the way, for a linux novice like me, your main workhorse seems to have a barebone linux setup. I would appreciate if a list of installed packages could be shared only if it is not too troublesome. Many thanks.


    ATB,

  5. #5
    If anyone knows how to generate a plain-text list of installed packages, I'd be glad to share it, though I doubt it would be of much use to the average user. For example, my install of X has been gutted to the point I doubt it would be useful to any sighted user. Regarding console web browsers, for the one's I've tried(elinks and a few of it's derivatives), I can't really judge their rendering do to being unable to figure out their interfaces. Last time I selected the WWW option from the Adriane menu, I couldn't even figure out how to load a page from a URL, and when I've tried in the past, I couldn't figure out how to get SBL to read anything other than links. By comparison, Iceweasel+Orca combined with Adriane's ability to launch a stripped down x session just for those two applications works so well, I'd think I was using a web browser built specifically for the blind if I didn't know better. Anyways, at present, my own set-up has: A 420-something mb /usr A ~30 mb /var that balloons to ~140 mb with files generated by the operation of Aptitude(files I make sure to clean out before making backups of my root filesystem). 457 installed packages, the bulkiest things(both in terms of disk usage and number of packages) being Iceweasel+everything I need to use it and mpv(wish I could find something with the same simplicity of use and audio support(including from video containers) minus the video codecs I have no use for. I don't even need compression to fit my entire root filesystem on a CD, though I still use bzip on my partimage backups.

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    If anyone knows how to generate a plain-text list of installed packages
    https://wiki.debian.org/ListInstalledPackages

  7. #7
    @ Jeffery and Werner (in alphabetical order)

    Many thanks for your time!


    @ Jeffery

    It is so true that your root filesystem does not even need to be compressed to fit on a CD. Besides, the direct output of the dpkg command with -l argument will be more than good enough for my need. Please don't bother with the formatting. Thanks again.


    ATB,

  8. #8
    Below is the list of packages I have installed. Some notes: If you need a full Graphical Desktop, it will need to be installed in addition to the below. Vanilla Knoppix includes Gnome, KDE, and LxDE, all 3 of which I have purged as much as I can while retaining the ability to launch Iceweasel with Orca from Adriane's Graphical Applications menu. If you don't need blind accessibility, you can probably remove the Adriane packages without any problems. If you need blind accessibility for someone unfamiliar with the Linux command line, you might want to add the Adriane metapackage. Of the Adriane packages included in the below list, Adriane-config gives you the Adriane menu with the help, www, and shell options, adriane-screenreader gives you text-mode screen reader support, and Adriane-x adds the Graphical Applications option to the Adriane menu and install the Orca screenreader and Compiz along with a core xserver. Busybox-static isn't anywhere in Adriane's dependency tree, but is still required for successfully booting into Adriane with screenreader. Network manager is, best I can tell, required to maintain internet access. sudo is required to maintain the ability to do administrative tasks. Ctorrent(command line bittorrent client), Fdupes(find duplicate files), iceweasel(Adriane's default graphical web browser), mpv(mediaplayer), nano(text-mode text editor), pmount(Wrapper for mount that doesn't require sudo and tends to making mounting external volumes simple from the command line), and tofrodos(convert plain text files between Dos and Unix formats) are all applications that can be safely removed if you don't need there functionality. Except for Iceweasel and MPV, they are self-contained command-line utilities with few if any dependencies. Any package I didn't mention by name is somewhere in a named aboue package's dependency tree if I haven't forgotten anything. My sources.list only has two lines: debian testing/main and the knoppix repository which I generally leave commented out, and where possible, I have force installation of a version from Debian Testing. There are cases of package having a knoppix specific version that is older than the Debian version, but uses a non-standard version number to appear newer, sometimes requiring a forced downgrade to get the newest version. I have done some other hacks that may not be appropriate to recommend for general use, but whose absence may require installing additional packages. For example, the vanilla copy of gconf2 requires python2.7 while orca requires python 3.4, and I hacked gconf2 to allow me to remove the older python version. Anyways, the list itself: adduser adriane-common adriane-config adriane-screenreader adriane-x adwaita-icon-theme alsa-utils apt aptitude aptitude-common at-spi2-core base-files base-passwd bash bsdutils busybox-static compiz compiz-core compiz-gnome compiz-plugins-default:i386 coreutils ctorrent dash dbus dbus-x11 debconf debian-archive-keyring debianutils dh-python dialog diffutils dmsetup dpkg e2fslibs:i386 e2fsprogs elinks elinks-data espeak-data:i386 fdupes findutils fontconfig fontconfig-config fonts-liberation gcc-5-base:i386 gconf-gsettings-backend:i386 gconf-service gconf2 gconf2-common gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-freedesktop:i386 gir1.2-gdkpixbuf-2.0:i386 gir1.2-glib-2.0:i386 gir1.2-gtk-3.0:i386 gir1.2-pango-1.0:i386 gir1.2-wnck-3.0:i386 glib-networking:i386 glib-networking-common glib-networking-services gnome-orca gnupg gpgv grep gsettings-desktop-schemas gzip hicolor-icon-theme hostname iceweasel init init-system-helpers initscripts insserv iproute2 isc-dhcp-client isc-dhcp-common keyboard-configuration kmod knoppix-startorca libacl1:i386 libao-common libao4 libapparmor1:i386 libapt-pkg4.12:i386 libasound2:i386 libasound2-data libass5:i386 libasyncns0:i386 libatk-adaptor:i386 libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatk1.0-data libatspi2.0-0:i386 libattr1:i386 libaudio2:i386 libaudit-common libaudit1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavcodec56:i386 libavdevice55:i386 libavfilter5:i386 libavformat56:i386 libavresample2:i386 libavutil54:i386 libblkid1:i386 libbluetooth3:i386 libbluray1:i386 libboost-iostreams1.55.0:i386 libbrlapi0.6:i386 libbs2b0 libbz2-1.0:i386 libc-bin libc6:i386 libcairo-gobject2:i386 libcairo2:i386 libcanberra-gtk3-0:i386 libcanberra0:i386 libcap-ng0:i386 libcap2:i386 libcap2-bin libcdio-cdda1 libcdio-paranoia1 libcdio13 libcolord2:i386 libcomerr2:i386 libcroco3:i386 libcryptsetup4:i386 libcups2:i386 libcwidget3:i386 libdatrie1:i386 libdb5.3:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libdc1394-22:i386 libdebconfclient0:i386 libdecoration0:i386 libdevmapper1.02.1:i386 libdns-export100 libdotconf0:i386 libdrm-intel1:i386 libdrm2:i386 libdvdnav4:i386 libdvdread4:i386 libegl1-mesa:i386 libenca0:i386 libepoxy0 libespeak1:i386 libevdev2:i386 libevent-2.0-5:i386 libexpat1:i386 libfdisk1:i386 libffi6:i386 libflac8:i386 libflite1:i386 libfontconfig1:i386 libfontenc1:i386 libfreetype6:i386 libfribidi0:i386 libfsplib0 libgail-common:i386 libgail18:i386 libgbm1:i386 libgcc1:i386 libgconf-2-4:i386 libgcrypt20:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-common libgirepository-1.0-1:i386 libgl1-mesa-swx11:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglibmm-2.4-1c2a:i386 libglu1-mesa:i386 libgmp10:i386 libgnutls-deb0-28:i386 libgpg-error0:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgtk-3-0:i386 libgtk-3-bin libgtk-3-common libgtk2.0-0:i386 libgtk2.0-common libgtop-2.0-10:i386 libgtop2-common libgudev-1.0-0:i386 libguess1:i386 libharfbuzz0b:i386 libhogweed4:i386 libhunspell-1.3-0:i386 libice6:i386 libidn11:i386 libirs-export91 libisc-export95 libisccfg-export90 libjack0:i386 libjasper1:i386 libjbig0:i386 libjpeg62-turbo:i386 libjson-c2:i386 libjson-glib-1.0-0:i386 libjson-glib-1.0-common libk5crypto3:i386 libkeyutils1:i386 libkmod2:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 liblocale-gettext-perl liblouis-data liblouis2:i386 libltdl7:i386 liblua5.2-0:i386 liblzma5:i386 libmetacity-private3 libmm-glib0:i386 libmng1:i386 libmount1:i386 libmp3lame0:i386 libmpdec2:i386 libmtdev1:i386 libncurses5:i386 libncursesw5:i386 libndp0:i386 libnettle6:i386 libnewt0.52:i386 libnl-3-200:i386 libnl-genl-3-200:i386 libnl-route-3-200:i386 libnm0:i386 libnspr4:i386 libnss3:i386 libnuma1:i386 libogg0:i386 libopencv-core2.4:i386 libopencv-imgproc2.4:i386 libopenjpeg5:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6:i386 libp11-kit0:i386 libpam-modules:i386 libpam-modules-bin libpam-runtime libpam-systemd:i386 libpam0g:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpangoxft-1.0-0:i386 libpciaccess0:i386 libpcre3:i386 libpcsclite1:i386 libperl5.20 libpixman-1-0:i386 libpng12-0:i386 libpolkit-agent-1-0:i386 libpolkit-backend-1-0:i386 libpolkit-gobject-1-0:i386 libportaudio2:i386 libprocps3:i386 libproxy1:i386 libpulse0:i386 libpython3-stdlib:i386 libpython3.4-minimal:i386 libpython3.4-stdlib:i386 libqt4-dbus:i386 libqt4-xml:i386 libqtcore4:i386 libqtdbus4:i386 libqtgui4:i386 libraw1394-11:i386 libreadline6:i386 librest-0.7-0:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386 libsamplerate0:i386 libsasl2-2:i386 libsasl2-modules-db:i386 libschroedinger-1.0-0:i386 libsdl2-2.0-0:i386 libseccomp2:i386 libselinux1:i386 libsemanage-common libsemanage1:i386 libsepol1:i386 libsigc++-2.0-0c2a:i386 libslang2:i386 libsm6:i386 libsmartcols1:i386 libsndfile1:i386 libsonic0:i386 libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libspeechd2:i386 libspeex1:i386 libsqlite3-0:i386 libss2:i386 libssl1.0.0:i386 libstartup-notification0:i386 libstdc++6:i386 libswscale3:i386 libsystemd0:i386 libtasn1-6:i386 libtbb2 libtdb1:i386 libteamdctl0:i386 libthai-data libthai0:i386 libtheora0:i386 libtiff5:i386 libtinfo5:i386 libtre5:i386 libudev1:i386 libusb-0.1-4:i386 libusb-1.0-0:i386 libustr-1.0-1:i386 libuuid1:i386 libva-x11-1:i386 libva1:i386 libvdpau1:i386 libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386 libvpx2:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libwnck-3-0:i386 libwnck-3-common libwrap0:i386 libx11-6:i386 libx11-data libx11-xcb1:i386 libx264-146:i386 libx265-59:i386 libxapian22 libxau6:i386 libxaw7:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-render0:i386 libxcb-shape0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-util0:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxfont1:i386 libxft2:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxkbfile1:i386 libxml2:i386 libxmu6:i386 libxmuu1:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxres1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386 libxvidcore4:i386 libxvmc1:i386 libxxf86vm1:i386 linux-image-3.16.3 locales login lsb-base metacity-common mime-support mount mpv multiarch-support nano ncurses-base ncurses-bin netbase network-manager ntpdate original-awk passwd perl perl-base perl-modules pmount policykit-1 procps psmisc python3 python3-brlapi python3-cairo python3-gi python3-louis python3-minimal python3-pyatspi python3-speechd python3-xdg python3.4 python3.4-minimal qdbus qt-at-spi:i386 qtchooser qtcore4-l10n readline-common sbl sed sensible-utils sgml-base shared-mime-info speech-dispatcher speech-dispatcher-audio-plugins:i386 startpar sudo systemd sysv-rc sysvinit sysvinit-utils tar tofrodos tzdata ucf udev util-linux wpasupplicant x11-common x11-xkb-utils xauth xinit xkb-data xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-video-intel zlib1g:i386

  9. #9
    @ Jeffery

    Many thanks for your time to upload the list of packages currently installed in your system. I have tried to strip down the regular KNOPPIX to a similar extent to your version of Vanilla KNOPPIX. I reckon your setup is quite awesome and the included packages are kind of enough to boot up the regular KNOPPIX with X Window environment. At the moment, I only know two packages, hwsetup and pciutils, are missing from the list and will find some time later on to figure out the rest once I finish downgrading the X11 from 1.16 to 1.12. Sorry for the late reply.

  10. #10
    Junior Member
    Join Date
    Oct 2015
    Posts
    11
    Wow. I'm really amazed that you were able to make this work Superman. You mentioned it may be possible a while ago, but it's quite a feat to have accomplished. I'm afraid this newbie is even having problems finding how to purge the list. But you've made it posssible Superman. Thanks. This is an important treasure for me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Fortinet FortiGate 60F | 10 Gbps Firewall Security Registered (FG-60F)- Open Box picture

Fortinet FortiGate 60F | 10 Gbps Firewall Security Registered (FG-60F)- Open Box

$160.00



Cisco ASA 5508-X ASA5508-K9 w/ FirePOWER Services 8GE AC 3DES/AES Next Gen Fire picture

Cisco ASA 5508-X ASA5508-K9 w/ FirePOWER Services 8GE AC 3DES/AES Next Gen Fire

$70.00



SonicWALL TZ300 Network Security Appl FirewallRouter5pt 01-SSC-0215TransferReady picture

SonicWALL TZ300 Network Security Appl FirewallRouter5pt 01-SSC-0215TransferReady

$45.00



Fortinet Fortigate-50E FG-50E Network Security Firewall w/Adapter picture

Fortinet Fortigate-50E FG-50E Network Security Firewall w/Adapter

$40.00



Fortinet FortiGate FG-40F Network Security Firewall picture

Fortinet FortiGate FG-40F Network Security Firewall

$100.00



Cisco ASA 5506-X V07  8-Port Network Security Firewall Appliance + AC Adapter picture

Cisco ASA 5506-X V07 8-Port Network Security Firewall Appliance + AC Adapter

$67.77



Fortinet Fortigate-60E Network Security Firewall Initialized FG-60E Tested picture

Fortinet Fortigate-60E Network Security Firewall Initialized FG-60E Tested

$69.99



pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC picture

pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC

$91.00



High-Performance Palo Alto PA-850 Firewall – Advanced Security in Modern Network picture

High-Performance Palo Alto PA-850 Firewall – Advanced Security in Modern Network

$300.00



pfSense 2.7.2 Gigabit Firewall + Router + VPN Security Appliance w/ 6 Ports picture

pfSense 2.7.2 Gigabit Firewall + Router + VPN Security Appliance w/ 6 Ports

$149.00