Results 1 to 4 of 4

Thread: streamlining after hd-install

  1. #1
    Member registered user
    Join Date
    Jun 2003
    Posts
    34

    streamlining after hd-install

    After an hd install on a system with limited disk space I thought I'd clean off the bits of Knoppix that I don't actually need... most of this went fine, just a couple of probs.
    (1) How do I purge the system of openoffice.org - nice tool, just too bulky in this case - it gets installed in /opt/openoffice and while I could just delete this directory it won't purge the system of the config files and remove openoffice.org from the 'KDE menu'.
    (2) What about getting rid of KDE...? It's eating too much memory and I'm quite happy in something like evilwm. I've tried apt-get --purge remove kde*, but that wants to remove a whole chunk of other things that I'd rather not lose like hotplug, initrd-tools, pcmcia-cs, and others... I've removed bit by bit a bunch of KDE apps, but that's a pretty time consuming and not particularly helpful... surely there's a neater way of doing this?
    (3) I guess I also don't need the knoppix specific stuff... it's a great installer, but some of that stuff ain't necessary if a hd-install is supposed to be just plain ole' Debian!
    Many thanks...

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: streamlining after hd-install

    Quote Originally Posted by todsr1
    After an hd install on a system with limited disk space I thought I'd clean off the bits of Knoppix that I don't actually need... most of this went fine, just a couple of probs.
    (1) How do I purge the system of openoffice.org - nice tool, just too bulky in this case - it gets installed in /opt/openoffice and while I could just delete this directory it won't purge the system of the config files and remove openoffice.org from the 'KDE menu'.
    apt-get --purge remove openoffice-de-en
    (2) What about getting rid of KDE...? It's eating too much memory and I'm quite happy in something like evilwm. I've tried apt-get --purge remove kde*, but that wants to remove a whole chunk of other things that I'd rather not lose like hotplug, initrd-tools, pcmcia-cs, and others... I've removed bit by bit a bunch of KDE apps, but that's a pretty time consuming and not particularly helpful... surely there's a neater way of doing this?
    apt-get --purge remove kdelibs4
    (3) I guess I also don't need the knoppix specific stuff... it's a great installer, but some of that stuff ain't necessary if a hd-install is supposed to be just plain ole' Debian!
    Many thanks...
    dpkg -l | grep knoppix* then remove the packages listed.

  3. #3
    Member registered user
    Join Date
    Jun 2003
    Posts
    34
    Thanks. This pretty much gets rid of everything. But why don't the directory and config files all get removed.

    ap-get --purge remove openoffice-de-en got rid of most of the openoffice stuff, though I also found ttf-openoffce lurking around. I still have an openoffice directory in my home directory...

    apt-get --purge remove kdelibs4 also does a reasonable, but incomplete job. Testing apt-get -s --purge remove kde* still lists a number of kde programs that I had to remove by hand I still can'T remove hotplug-knoppix and mkdesktophdicons-knoppix

    dpkg -l | grep knoppix* was pretty helpful but also lists usleep-knoppix, which I can't remove. All three of these flag sysvinit as an additional package to be removed that shouldn't be....

    So, how do I deal with this dependency and getting rid of final config files and the like.

    Thanks...

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Once the programs are removed and you just have the directory for them left just open a console and rm -f /Path_to_directory__for_removal you may have to use -rf if there are sub-directories.

    The KDE programs are the ones that do not depend on the kdelib4 so they would not have been removed anyway so you have no choice but to remove them by hand as for the knoppix leftovers that depend on the sysvinit your best off leaving them alone it may not be the best solution but unless you want to try a fresh install of some other flavour of Debian then you will never end up with just the packages you want on the machine.

Posting Permissions

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


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.50



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK picture

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK

$799.00



32GB KIT SAMSUNG M393A2K43CB2-CVFC0 PC4-2933Y-RE2-12-DC1/MH1 RDIMM ECC 16GBX2 picture

32GB KIT SAMSUNG M393A2K43CB2-CVFC0 PC4-2933Y-RE2-12-DC1/MH1 RDIMM ECC 16GBX2

$195.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



TEAMGROUP T-Force Zeus 64GB (2x32GB) DDR4 2666MHz PC4-21300 Desktop RAM Kit picture

TEAMGROUP T-Force Zeus 64GB (2x32GB) DDR4 2666MHz PC4-21300 Desktop RAM Kit

$199.99



HYNIX HMA84GR7AFR4N-VK 32GB PC4-2666V 2RX4 RDIMM MEMORY HMA84GR7AFR4N-VK picture

HYNIX HMA84GR7AFR4N-VK 32GB PC4-2666V 2RX4 RDIMM MEMORY HMA84GR7AFR4N-VK

$189.99



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$378.00