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
  •  


Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS picture

Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS

$3599.00



Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR picture

Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR

$80.00



CISCO SFP-10G-ER 10-2531-02 10GBASE-ER SFP+ 10G 1550nm 40km 1PCS picture

CISCO SFP-10G-ER 10-2531-02 10GBASE-ER SFP+ 10G 1550nm 40km 1PCS

$135.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$83.00



Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch picture

Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch

$34.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.99



Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS picture

Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS

$99.99



Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested picture

Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested

$799.99



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W Network Switch picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W Network Switch

$41.64