MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how should a user uninstall a program installed manually ?? (without Mandrake's update).
how could a user find where have ALL the parts of the app been written??
Maybe my question is elementary, but I am new on Linux
for e.g. I installed eDonkey2000. After playing with my firewall (a lot ), the eDonkey didn't connect to the Internet anymore. I tried to find its uninstaller (where in the hell??) I couldn't. I searched with "find" and deleted all its files (thought so). Then, I tried to install it again (edonkeyclc-1.1.0-1.i386.rpm --the core-- & ed2k-gtk-gui-0.6.3-2.i386_compat.rpm --the gui--) but says that edonkey is all-ready installed!!!!
So I wonder: there is no registry here! all the files and folders started from ed* related with the names of the installed rpms are removed (more than 20!)... How says is is still installed??
If you installed a program from an .rpm file, use the "-e " flag to uninstall it:
rpm -e whatever
to install something, use the "-ivh" flag:
rpm -ivh whatever.rpm
I = install, v=verbose and h=hash(#). If you need to know more about .rpm's, type "man rpm" at the terminal. Learn well Linux command line instead of those fancy tools because 1 - It's less buggy and 2 - using command line is more generic, meaning everyone using Linux (not only Mandrake) would be able to help you out. Take also a look into this thread for a quick intro about installing programs in Linux:
When you uninstall a package you shouldn't type the name of the file, but only the name of the package.
In your case, to manually install a file named edonkeyclc-1.1.0-1.i386.rpm you type 'rpm -i edonkeyclc-1.1.0-1.i386.rpm'.
But to uninstall it you only have to type 'rpm -e edonkeyclc'
Example: to install the bc-1.06-13mdk.i586.rpm file I can run 'rpm -i bc-1.06-13mdk.i586.rpm'
To remove it I can run 'rpm -e bc' or 'rpm -e bc-1.06-13mdk'.
If you don't know what to type, either use the package tool in 'mcc' or first do a 'rpm -qa | grep bc' (in my case).
I tried to uninstall the rest using the Peder advice of not using all the name of the rpm file and worked!!
[root@localhost makis]# rpm -e edonkeyclc
[root@localhost makis]# rpm -e ed2k
error: package ed2k is not installed
[root@localhost makis]# rpm -e ed2k-gtk
error: package ed2k-gtk is not installed
[root@localhost makis]# rpm -e ed2k-gtk-gui
as u can see, as a name is considered everything before the edition and the extension (the name of the original file is ed2k-gtk-gui-0.6.3-2.i386_compat.rpm)
EVERything is ok now, my eDonkey runs ok, but I still have a (possible) firewall problem!
this app is consisted by the core and the gui. when running the gui I receive the following message:
connecting to locally running core (/home/makis/tmp/.mm-auth-cookie-4663)
GUI: Could not establish GUI-core connection. (Core running? Core listening on 'aport' 4663? Core firewalled?)
I disable the firewall with "ccm->security->firewall-> tick the first box (no firewall) " and running again the gui I receive the same message.
I run the core in the console and I receive:
[root@localhost bin]# ./edonkeyclc
[--- Storing settings in '/root/.eDonkey2000' ---]
Can't load default skin, reinstall clean
Error: Port In Use Already. There is no good previous port, please change in Options
Upload Queue not loaded
I close the gui, I run the core in the console and I receive the same message. I check the edonkey options and I have:
The problem seems to be that you either have an instance of edonkeyclc already running in some
defunct or zombie state or you killed -9 it (or it segfaulted or whatnot) so it didn't clean up the
cookie.
Try removing any /home/makis/tmp/.mm-auth-cookie and restart edonkeyclc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.