LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-07-2002, 08:45 PM   #1
ataraktos
LQ Newbie
 
Registered: Mar 2002
Distribution: libranet 1.9.1
Posts: 5

Rep: Reputation: 0
tar.gz / installing files question


i'm completely new to linux ... maybe someone can help me out with some file system basics ...

when you dl a tar.gz file and un-tar it, it creates a new directory that you enter to ./configure, make, make install ...

and most of the time, those files are installed wherever they need to be, right? this seems to be the case with libraries, etc ...

so, i know i can rm the tar file, but what about the directory it created when i un-tar'ed it?

what's the equivalent of the windows uninstaller? can you move a directory and ?re-point? needed refernces to the new location? if so, how?

i've edited a file for library paths, and i know the general search path thing will find "exe's" but how can i move a program's directory of, like, theme files?

or should i just uninstall and re-install the program where from the directory i want it in? (lol, if so, how?)

thanks ...
 
Old 03-07-2002, 08:48 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
To uninstall a program installed from source (.tar.gz etc) you change to the directory where you did "make install" and do "make uninstall".
 
Old 03-08-2002, 06:08 PM   #3
ataraktos
LQ Newbie
 
Registered: Mar 2002
Distribution: libranet 1.9.1
Posts: 5

Original Poster
Rep: Reputation: 0
thanks Aussie!
 
Old 03-08-2002, 07:01 PM   #4
TacKat
Member
 
Registered: Jan 2002
Distribution: LFS
Posts: 90

Rep: Reputation: 15
Just as a warning, "make uninstall" doesn't work with everything. Some people didn't bother to build an uninstall option into the makefile, so to uninstall those you have to sort through the file by hand.
 
Old 03-10-2002, 07:13 AM   #5
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
Re: tar.gz / installing files question

Quote:
Originally posted by ataraktos

so, i know i can rm the tar file, but what about the directory it created when i un-tar'ed it?
Yes you can remove it. That directory contains the program source code. "Make" builds a binary for the program from the code, "make install" installs the binary in another location. So you have no further need of the source code, unless you later want to re-build a new binary. And that is something you may want to do when you find you forgot to include a particular configuration option the first time you built it
 
  


Reply



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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
Need help installing tar gz files please 1702fp Linux - Newbie 18 03-09-2005 09:04 PM
installing tar.gz files rubbertiki Linux - Newbie 9 10-05-2004 08:35 PM
Installing .tar.gz files. TerminalPhreak Linux - Newbie 15 03-19-2003 02:46 PM
Installing .tar.gz files MikeeX Linux - Distributions 9 03-14-2002 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 AM.

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