LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-21-2005, 11:28 PM   #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, 12: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, 01:13 AM   #3
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Rep: Reputation: 53
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, 04: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, 04:23 AM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
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



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

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

All times are GMT -5. The time now is 02:12 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