Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-30-2003, 08:10 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Toledo, Ohio
Distribution: Mandrake 9.2
Posts: 7

Rep: Reputation: 0
Where do programs go?


This is my first post here and I'm an extreme newbie so bear with me if this sounds stupid.

I'm to the point now where I can install programs by compiling them. My question is, where do they go when you compile them? I can usually run the program I compiled by typing it's name into the Run box in KDE, but that doesn't show me where they are located.

Also, how do you get rid of programs you no longer need? For example, I installed Mozilla 1.5 intending to upgrade the existing 1.3.1 installation. Now I have both versions installed. How do I get rid of the old one without breaking anything?

I'm running Mandrake 9.1 if that makes a difference.

Your help is much appreciated!

Old 10-30-2003, 08:18 PM   #2
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
ok, guy what is the source of your program, rpm or tar ball ?
usually the programs you installed will go to /etc.
/etc is the same with program files in windows.

If you wanna uninstall the program that an rpm package, you can use the command " rpm -e yourprogram.rpm"

Then about the tar ball, when you finished untar the program, do this immediatelly : "locate your program", I think it will show you where the program is (this is what i do in redhat)

Why you don't use "rpm -Uvh mozilla" it will upgrade your mozilla. So you don't need to care about get rid the old one.
Old 10-30-2003, 08:21 PM   #3
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
" where do they go when you compile them?"

There is no one place. Each tarball puts them where the developer thinks best.

"I can usually run the program I compiled by typing it's name into the Run box in KDE, but that doesn't show me where they are located."

You can find out where a program is located with:
which programname

"Also, how do you get rid of programs you no longer need?"

If you installed it using rpm then use rpm -e (see man rpm).

If you installed it with a tarball then cd to the install directory and issue:
make uninstall

" How do I get rid of the old one without breaking anything?"

When compiling tarballs it is usually best to get rid of the old one before you install the new one, although often the new one will overwrite the old one.

With rpm you can install with rpm -U

In the case of Mozilla where the old package is a rpm and the new package is a tarball then you should remove the rpm first before compiling the tarball.


You can change the tarball into a rpm by using checkinstall, then rpm -U

Be prepared. Create a LifeBoat CD.

Steve Stites


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
programs BackwardsDown Linux - Newbie 3 11-19-2005 11:10 PM
Are these programs - or equivalent programs - available for Linux? voly Linux - Software 12 07-29-2005 03:44 AM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 01:02 PM
unable to add programs from add/remove programs dav7500 Linux - Software 2 02-26-2004 08:25 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 04:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration