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 11-18-2004, 11:23 AM   #1
windefault
LQ Newbie
 
Registered: Sep 2004
Posts: 25

Rep: Reputation: 15
can i move the file aftere make install?


i am quite new to linux.ok.

after i untar a .tar.gz,a new file called 'a' being created(let say). Then, i ./configure , make, make unistall it.

after i do all these thing, can i move the file? let say from /home/abc to /root?

any effect ?
 
Old 11-18-2004, 11:32 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Which file do you mean? The sources or the binary?

Mostly the binaries are being copied to somewhere like /usr/bin or /usr/local/bin, while the sources remain where you unpacked them (but they are usually not needed anymore, you can copy or delete them as you wish). Have a look in the makefile for the true location.

If you copy the binary to a different location (which should be OK), you should take care that this location is in your path. Otherwise it will not run without specification of the full path.

If you do not run make install, you could copy the binary yourself to the location you want them (or better run ./configure with a prefix for the desired location and use 'make install' for proper installation).
 
Old 11-18-2004, 12:03 PM   #3
windefault
LQ Newbie
 
Registered: Sep 2004
Posts: 25

Original Poster
Rep: Reputation: 15
thx

some confuse.After i 'make install'' some new file created in my 'a',i don't think that is my binary file since i found a new executable file in /usr/local/bin .So can i remove the 'a' ? will this bring any effect?


what different between /usr/bin and /usr/local/bin?

thx
 
Old 11-18-2004, 12:24 PM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
The new file that have been created in 'a' come from the compilation process. Usually they are not needed anymore. Maybe there is some documentation you want to keep.

Quote:
what different between /usr/bin and /usr/local/bin?
I guess the difference is just about clarity. Put your own stuff in /usr/local/bin, system stuff is in /usr/bin. So you don't mess up the system
 
  


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
How to make a bin file executable and install the prgram shariqali Linux - Software 6 03-29-2006 01:11 PM
make move from XDM to KDM, how??? Lleb_KCir Linux - Software 10 12-04-2004 10:34 AM
Another newbie looking to make the BIG move! Metalbarthug LinuxQuestions.org Member Intro 3 10-21-2004 03:04 PM
how do i install a driver (make a file) linux9.0shrike, kernel2.4. admir330 Linux - Hardware 2 04-30-2004 10:48 AM
I don't think I could ever make the move to Linux AMDPwred Linux - General 7 01-11-2002 09:25 AM

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

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