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
  •  


Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$90.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$39.99



Samsung 2.5

Samsung 2.5" MZ-ZLN512C 512GB SATA III 6Gbps SSD MZ7LN512HAJQ-000H1

$49.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health

$24.00



Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive picture

Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive

$42.99



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.00



Timetec MS10 1TB SSD NVMe PCIe Gen3x4 3D NAND SSD 35TTFP6PCIE-1TB picture

Timetec MS10 1TB SSD NVMe PCIe Gen3x4 3D NAND SSD 35TTFP6PCIE-1TB

$89.99



WD Blue DRIVE SSD 250gb Internal SATA Solid State Drive for Laptops picture

WD Blue DRIVE SSD 250gb Internal SATA Solid State Drive for Laptops

$39.99