LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-02-2009, 12:12 AM   #1
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Rep: Reputation: 16
Where to put my binary file


okay, so I have a binary file "quadratic function", I wrote it in c++ and compiled it, and now I'd like to know where to put it, I think I read /opt somewhere, but most of the applications have there binaries in /usr/bin. So any suggestions will be greatly aprpreciated.
 
Old 02-02-2009, 12:15 AM   #2
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
You can run it from anywhere. If you want to run it as a command permanently I think /usr/local/bin is the preferred spot for manually installed binaries. The local directory will not be touched by the distribution updates and such.
 
Old 02-02-2009, 12:19 AM   #3
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
okay, thanks
 
  


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
Bash File Name Matching - Binary file .ogg matches !!! maxvonseibold Linux - General 8 01-30-2007 07:31 PM
Reading text file-writting binary file cdog Programming 5 06-13-2006 12:56 PM
unable to put file 4GB file INSIDE iso saravkrish Linux - Software 2 03-23-2005 04:41 PM
convert text file to binary excel file ust Linux - General 2 11-23-2004 03:33 AM
mounting a binary file thats not on any file system!?!!? aXoneX Linux - General 7 10-26-2004 03:21 AM

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

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