LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how toun install? (https://www.linuxquestions.org/questions/linux-software-2/how-toun-install-208211/)

salmanucit 07-22-2004 05:15 AM

how toun install?
 
hi
i have installed amsn and also yahoo messanger..now i want to uninstall them..how would i un install them?? yahoo mesanger was .rpm and msn was a bin file while installing
tell me both using command line and also using KDE
Regards

Tuttle 07-22-2004 05:52 AM

RPM's: Use the built in package manager (in KDE system menu) to handle .rpm files
BIN's: If you installed it as a normal user, then it will be in your /home/username/ folder somewhere; if you installed it as root (super user) dig around in /usr/local/bin, /usr/local/share, /usr/local/* basically.There may or may not be an uninstall script created during the install.

salmanucit 07-22-2004 06:20 AM

would u plz guide me through the sub menu of system??? i didnt find one....
and if uninstall script is not available then what do do?? just delete the folders and files??
Regards

salmanucit 07-22-2004 06:25 AM

in KDE i see just RPM installed during Linux installation......would u plz guide be the sub menus where i can find my manually installed RPM..again that if i want to un install the yahoo messanger then how ill i do this..u may tell me how to do on command line
Regards

Tuttle 07-22-2004 06:56 AM

From 'man rpm':
Code:

INSTALLING, UPGRADING, AND REMOVING PACKAGES:
      rpm {-i|--install} [install-options] PACKAGE_FILE ...

      rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...

      rpm {-F|--freshen} [install-options] PACKAGE_FILE ...

      rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts]
          [--notriggers] [--repackage] [--test] PACKAGE_NAME ...

so open a terminal and type:

$ su
[password]
# rpm -e packagename

For the other program (.bin) open a terminal and type:

$ ls /usr/local/bin

and if you see the program in there (and the system is definitely not dependant on it) you can safely remove it and any related files below /usr/local/. So:

$ su
[password]
# rm /usr/local/bin/applicationname

But please search /usr/local/ for any uninstall scripts first. Try typing 'mc' at a prompt, if it works, you can use it to browse files. Be careful (as always) if you run 'mc' as root, you could damage your system. Good luck!

KooPA 07-22-2004 09:40 AM

Thanks that helped me a bit too.

Tuttle 07-22-2004 09:53 AM

np. Once you are comfortable using the command line, you will notice that almost all of the applications on your desktop are running simple commands with a couple of arguments, or simply changing options in configuration files. This means that if you run 'menu->system->kpackage' all it is doing is reading a logfile containing info on which programs are installed and displaying it, then, if you are adding a package, it runs 'rpm -i' (or similar) on the file you have chosen.
'man commandname' applies to most applications AND most of the files in /etc, so help is always there, it's just a little hard to read at first! Enjoy.

KooPA 07-22-2004 10:04 AM

Yea I am still trying to get the whole lingo of the man pages down. IE im trying to get better with command line but I am also trying to do real stuff at the same time.

Tuttle 07-22-2004 10:35 AM

mostly simple for apps:

SYNOPSIS: gobl-de-gook (until you read the description)

DESCRIPTION: mostly in english, read it a couple of times.

POSIX OPTIONS: not applicable (linux is 'working towards full posix compliance')

GNU OPTIONS: some of these will be obvious - use them as you need them

EXAMPLES: very handy if they are there.

start with ls, cp, mv, rm & ln try to get used to these as your file manager will not always do what you expect it to.
also chown and chmod are invaluable for securing things.


All times are GMT -5. The time now is 09:32 AM.