Results 1 to 9 of 9

Thread: How to remove unwanted components

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    7

    How to remove unwanted components

    Hi I am new to Knoppix and I have just installed it to Hdd with knoppix-installer it went great. Now my question is I want to remove some components like, different locales media players I dont like etc. because I am low on hd space and I want to free as much as possible.

    So, How should I go about this??

  2. #2
    Junior Member
    Join Date
    Nov 2003
    Posts
    3
    You use Debian package management system for removal of components.

    You can do this via the command line, using the commands apt-get and apt-cache. But it is easier if you use one of the graphical front-ends.

    I'd recommend you to use synaptic. It's not included by default, but you can install it by running "apt-get install synaptic" on the command line (it occupies less than 1Mb of space). Then just run synaptic as root, select "Installed" from the combo box, and you'll get a list of all installed packages for you to do what you want with them. If removing a package would break dependencies, you'll be informed and asked about what to do.

    With other package managers (I think Knoppix includes kpackage, but I don't recall for sure) the process is similar, I'd say.

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

    Re: How to remove unwanted components

    Quote Originally Posted by pinku
    Hi I am new to Knoppix and I have just installed it to Hdd with knoppix-installer it went great. Now my question is I want to remove some components like, different locales media players I dont like etc. because I am low on hd space and I want to free as much as possible.

    So, How should I go about this??
    To remove the locales you need to install the program localepurge when installing it will ask you to choose which locales you want to remain on the system choose the ones you want and say yes in the setup to remove the man pages as well. then after having installed the program edit the file /etc/locale.gen and remove all the lines for the locales in the file except the locales you choose to keep. Next time you install a program localepurge should run and remove all the excess locales still left on the system.

    Then try Kano's remove- scripts you want the server, startup-services and wine. Then after you are done with that then:
    Code:
    apt-get --purge remove xserver-3dlabs xserver-8514 xserver-agx xserver-common-v3 xserver-i128 xserver-mach32 xserver-mach64 xserver-mach8 xserver-p9000 xserver-s3 xserver-s3v xserver-s3v xserver-svga xserver-vga16 xserver-w32
    To remove the excess xservers that are included but not used you are most likely using the xserver-xfree86 if you are using one of the above servers do not remove the one you are using.

    Then to get rid of the KDE i18n:
    Code:
    apt-get --purge remove kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-es kde-i18n-fr kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-ru kde-i18n-tr
    Same again here do not remove a localization if you are using it. Now to get localepurge to do it's job and make yours easier add this line to your /etc/apt/sources.list :
    Code:
    ## Kio-apt sources for unstable
    deb http://lpnotfr.free.fr/debian/ ./
    Then dselect update to update both the apt and dselect databases at the same time and apt-get install kio-apt which will give you a nice little apt:/ and then enter key you can put into the location bar of Konqueror to allow you find what packages you have installed what they depend on without having to do it all at the command line. To start to use the new feature effectively dpkg --get-selections > selections.txt gets you a list of packages that you can open with an editor and use to find out if you need them. When doing apt-get remove package_name you should use the purge option to get rid of the configuration files and the first time you go to remove the package use the -s option to simulate the action apt will perform eg. apt-get -s --purge remove package_name then if the output looks good then remove the -s from the line to actually remove the program.

    Note: To use the Kano scripts you need to download to a directory and chmod +x script_name to make executable and then ./script_name to execute it. All steps except the apt:/ in konqueror, downloading of the scripts and the dkpg --get-selections and reading of file to be done as root.

  4. #4
    Junior Member
    Join Date
    Jan 2004
    Posts
    7
    Hi thx..

    Especially synaptic came to rescue and I have stripped off all the locales next step will be removing xservers i dont use..

    Off topic here I have one question..

    I have read that for videos on linux mplayer is really great but when I try to apt-get it I get this error:
    depends on libavcodec and libvorbis0 which will not be installed..

    When I tried to install libvorbis0 with synaptic it said that i will have to remove a very large no. of packages..Is it not possible to install mplayer onto debian??

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    It's possible. This thread may help:

    http://www.knoppix.net/forum/viewtopic.php?t=5192#23825

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by pinku
    Hi thx..

    Especially synaptic came to rescue and I have stripped off all the locales next step will be removing xservers i dont use..

    Off topic here I have one question..

    I have read that for videos on linux mplayer is really great but when I try to apt-get it I get this error:
    depends on libavcodec and libvorbis0 which will not be installed..

    When I tried to install libvorbis0 with synaptic it said that i will have to remove a very large no. of packages..Is it not possible to install mplayer onto debian??
    You do not want that package it is from stable apt is trying to downgrade the install.
    Code:
    HappyTux:/home/stephen# apt-cache policy libvorbis0
    libvorbis0:
      Installed: (none)
      Candidate: 1.0rc3-1
      Version Table:
         1.0rc3-1 0
            500 http://ftp2.de.debian.org stable/main Packages
            100 /var/lib/dpkg/status
    You want to install the mplayer package from sarge or sid:
    Code:
    HappyTux:/home/stephen# apt-cache policy mplayer-k7
    mplayer-k7:
      Installed: 1:1.0-pre2-sarge0.1
      Candidate: 1:1.0-pre2-sarge0.1
      Version Table:
     *** 1:1.0-pre2-sarge0.1 0
            100 /var/lib/dpkg/status
    But you not going to get the package today anyway unless the mirror comes back (by my count down at least two days) on line for the marlliat line in your sources.list.

  7. #7
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    http://marillat.free.fr/ has announced a new home for the packages.

    You can put this in your sources.list:

    deb http://hpisi.nerim.net/ unstable main

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Markus
    http://marillat.free.fr/ has announced a new home for the packages.

    You can put this in your sources.list:

    deb http://hpisi.nerim.net/ unstable main
    And so they did even had an upgrade waiting for me, I never thought to check the old site was down so many times I guess that's why they moved it, thanks for the tip.

  9. #9
    Junior Member
    Join Date
    Jan 2004
    Posts
    7
    Quote Originally Posted by fingers99
    It's possible. This thread may help:

    http://www.knoppix.net/forum/viewtopic.php?t=5192#23825
    This thread actually helped me..

    I was able to install mplayer with unstable install and it worked. I didnt use Xine long enough but quite few files failed for me to render in Xine. But now with additional codec packages which were needed by mplayer everything is running smooth

    Ok one more question??
    I was running xmms and then I wanted to view a video. Gmplayer gave me an error saying it couldnt open audio stream so no sound but once I stopped xmms I was able to get sound. Is there neway I can change this behaviour so that when more than one sound stream are to be sent all get played i mean morphed or something

Similar Threads

  1. Unwanted Desktop Icons Keep Appearing
    By jimbo-62 in forum Hardware & Booting
    Replies: 13
    Last Post: 05-26-2005, 07:02 PM
  2. how to remove a packae without using apt-get remove?
    By DimGR in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-09-2004, 05:34 PM
  3. Removing unwanted files in Knoppix
    By Dooley in forum Customising & Remastering
    Replies: 3
    Last Post: 05-26-2004, 02:33 PM
  4. Uninstall Mozilla and Mozilla components
    By turbines in forum General Support
    Replies: 2
    Last Post: 04-28-2004, 08:51 PM
  5. monitor goes standby during work (unwanted)
    By rrud in forum Hardware & Booting
    Replies: 0
    Last Post: 02-22-2003, 08:42 PM

Posting Permissions

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


Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW picture

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW

$13.89



V3 Robot Vacuum and Mop Combo,Self-Charging,5000pa Strong Suction,WiFi/Alexa NIB picture

V3 Robot Vacuum and Mop Combo,Self-Charging,5000pa Strong Suction,WiFi/Alexa NIB

$82.00



Trucozie Cordless Vacuum Cleaner, Self-Standing Lightweight Stick Vacuum New Ope picture

Trucozie Cordless Vacuum Cleaner, Self-Standing Lightweight Stick Vacuum New Ope

$89.00



Compressed Air Duster & Vacuum, 320000RPM Rechargeable Mini Electric Blower picture

Compressed Air Duster & Vacuum, 320000RPM Rechargeable Mini Electric Blower

$44.99



US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits picture

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits

$13.89



🔥 OEM Shark Cordless Vacuum Charger DK33-248080H-U for Shark Rocket picture

🔥 OEM Shark Cordless Vacuum Charger DK33-248080H-U for Shark Rocket

$18.75



Paladone USB Desk Vac Novelty Upright Mini Computer Vacuum Retro Vintage picture

Paladone USB Desk Vac Novelty Upright Mini Computer Vacuum Retro Vintage

$59.99



KARDV Cordless Vacuum Cleaner, 500W/40Kpa Vacuum Cleaners for Home, 60Mins St... picture

KARDV Cordless Vacuum Cleaner, 500W/40Kpa Vacuum Cleaners for Home, 60Mins St...

$64.99



Gel-Pak Vacuum Release Gel-Paks VR-44-16CC-00B-X4-P0175 – Qty 25 Sets picture

Gel-Pak Vacuum Release Gel-Paks VR-44-16CC-00B-X4-P0175 – Qty 25 Sets

$109.99



WeePro Compressed Air Duster 180000RPM Cordless Mini Turbo Fan, 3-Speed Vacuum picture

WeePro Compressed Air Duster 180000RPM Cordless Mini Turbo Fan, 3-Speed Vacuum

$149.99