LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-22-2005, 12:28 AM   #1
nirav1983
LQ Newbie
 
Registered: Dec 2003
Location: india
Posts: 8

Rep: Reputation: 0
A basic idea about installing


Hi Guys,

I am familiar with the installation of packages on Linux (the configure, make and make install ritual). One question though.

After I make and install, does the complied binary necessary go to /usr/bin or does that require some switch in the make tool? Basic confusion is, suppose I downloaded a tar.gz, uncompressed it in /home/
<user> and installed it, there are a whole load more files that get generated in this folder in that process. After I finish installing, can I safely delete the folder or it is possible that some of those files are used by the installed program?

Help the newbie,

Regards,
Nirav
 
Old 12-22-2005, 01:03 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
AFAIK, you can safely delete the source folder after running make install. Perhaps keeping the tarball would be a good idea though, because there is often a "make uninstall" that cleanly removes the program.

However, this is not always the case. Sometimes the binary may be created in the source folder. Do a ls in this folder to see.

I hope this helps
--Ian
 
Old 12-22-2005, 02:13 AM   #3
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 647

Rep: Reputation: 52
You could delete it to check. If the program works, you're set. If not you can always just restore the deleted file from the trash.
 
Old 12-22-2005, 05:14 AM   #4
pats
Member
 
Registered: Jul 2005
Distribution: Debian Sarge/Etch, (K)Ubuntu, FC6, AIX5.3, VMWare ESXServer
Posts: 159

Rep: Reputation: 30
if you can launch the program from a shell in some random directory then you can be pretty sure that the program isn't installed in your home directory.

also try 'whereis <program name>'
 
Old 12-22-2005, 05:23 AM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by nirav1983
After I make and install, does the complied binary necessary go to /usr/bin or does that require some switch in the make tool?
No. Many programs will come with /usr/local/bin as default, or KDE based apps will often install to /opt/kde/bin. In many cases you can change this when configuring.

Code:
./configure --prefix=/usr
should be possible with most configure files. Maybe you do a "./configure --help" and read yourself, there are many other options available to finetune where files will be installed (--prefix should be enough though in most cases).
 
  


Reply


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
Installing older gcc. Bad idea? Surg Debian 1 11-14-2005 11:53 AM
Installing IDEA and jdk shahnazyousuf Linux - Software 1 12-29-2004 02:14 AM
basic installing probs :/ AgentDukey Linux - Software 3 10-10-2004 09:35 AM
Installing Debian via Knoppix HD install, bad idea??? shermang Debian 3 09-01-2003 05:12 AM
installing biniaries .. very basic Papamo Linux - Newbie 9 12-11-2002 04:53 AM


All times are GMT -5. The time now is 01:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration