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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$189.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$400.00



AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad picture

AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad

$355.99



AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4 picture

AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4

$279.99



Apple Macbook Pro 13

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good

$464.99



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused

$395.95



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11 picture

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11

$250.00



Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST picture

Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST

$159.99