LinuxQuestions.org
Help answer threads with 0 replies.
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, 12:23 PM   #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, 12:32 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

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, 01: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, 01:24 PM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

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


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


All times are GMT -5. The time now is 10:14 PM.

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