LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting rid of multiple programs of the same type (https://www.linuxquestions.org/questions/linux-software-2/getting-rid-of-multiple-programs-of-the-same-type-736939/)

ansatedmemninja 07-01-2009 08:00 AM

getting rid of multiple programs of the same type
 
Hi was wondering if you could help. Seem to have downloaded multiple programs of the same type by mistake. Is there anyway i can filter these and get rid of the ones that already exist or do i have to reinstall again there's too many to get rid of one by one.

running debian kde

jdkaye 07-01-2009 08:57 AM

Quote:

Originally Posted by ansatedmemninja (Post 3592897)
Hi was wondering if you could help. Seem to have downloaded multiple programs of the same type by mistake. Is there anyway i can filter these and get rid of the ones that already exist or do i have to reinstall again there's too many to get rid of one by one.

running debian kde

It might help if you gave a few details. How did you install the programs? Which programs? Stuff like that.
Since you're running Debian then
Code:

sudo aptitude remove {package name}
will remove the packages you don't want.
cheers,
jdk

ansatedmemninja 07-01-2009 09:14 AM

I started by installing gnome on debian because i couldn't find the iso for kde on debian.
then (apt-get install kde) which didn't work. Then downloaded a german version which took me an age to figure out how to change the language. You can obviously guess i am very new to this but was wondering if i could somehow filter out the multiple applications otherwise an address for kde on debian iso.

amd 64x2

jdkaye 07-01-2009 09:21 AM

Quote:

Originally Posted by ansatedmemninja (Post 3592996)
I started by installing gnome on debian because i couldn't find the iso for kde on debian.
then (apt-get install kde) which didn't work. Then downloaded a german version which took me an age to figure out how to change the language. You can obviously guess i am very new to this but was wondering if i could somehow filter out the multiple applications otherwise an address for kde on debian iso.

amd 64x2

I don't really understand what you're doing and why you're doing it.
Can you post the contents of your /etc/apt/sources.list file? Then we can see what your problem is. If you didn't put in kde in the course of your installation of Lenny then normally
Code:

sudo aptitude install kde
should be enough.

Here's the description of the kde meta-package:
Quote:

Description: the K Desktop Environment official modules
KDE (the K Desktop Environment) is a powerful Open Source graphical desktop
environment for Unix workstations. It combines ease of use, contemporary
functionality, and outstanding graphical design with the technological superiority
of the Unix operating system.

This metapackage includes all the official modules released with KDE that are not
specific to development. In addition to the core KDE modules, this includes
multimedia, networking, personal information manager (PIM), graphics, education,
games, web development, system administration tools, and other artwork and
utilities.
If this is not your problem then you'll need to explain what you want to do a bit more clearly.
cheers,
jdk

ansatedmemninja 07-01-2009 10:17 AM

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50]/ lenny main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50]/ lenny main

deb http://ftp.uk.debian.org/debian/ lenny main
deb-src http://ftp.uk.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

jdkaye 07-01-2009 10:27 AM

Quote:

Originally Posted by ansatedmemninja (Post 3593069)
deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50]/ lenny main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50]/ lenny main

deb http://ftp.uk.debian.org/debian/ lenny main
deb-src http://ftp.uk.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

Ok. You'll need to do some editing of this file.
1. I assume you're finished with the Lenny installation CD so you should comment out or delete the 2 lines with "deb cdrom" at the beginning.
2. To the lines containing "lenny main" (just the first 2 should be enough) you can add "non-free contrib" to the end of them.
So
Code:

deb http://ftp.uk.debian.org/debian/ lenny main
would be changed to
Code:

deb http://ftp.uk.debian.org/debian/ lenny main non-free contrib
After you have made those changes (they must be done as root or using sudo) then you save and close the file and run
Code:

sudo aptitude update
What to do next depends on what you want. If you really want to reinstall kde then you can try this:
Code:

sudo aptitude reinstall kde
If that's not what you want then you'll have to explain what you do want to do.
Cheers,
jdk


All times are GMT -5. The time now is 06:53 AM.