View previous topic :: View next topic |
Author |
Message |
389292 Guru
Joined: 26 Mar 2019 Posts: 504
|
Posted: Sat Dec 26, 2020 4:42 pm Post subject: Installing an application outside of portage |
|
|
I want to compile and install a simple C application which doesn't require 3rd party libraries, where should I put the binary for it to be system-wide and not conflict with portage (in case it has the same name application in the tree)? Is /opt/bin a good choice? Is there a Linux-wide FHS convention? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sat Dec 26, 2020 4:46 pm Post subject: |
|
|
/usr/local/bin
maybe?
It doesnt matter where you put it provided that u update the PATH variable to include the location.Is it a single binary only? _________________
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30966 Location: here
|
|
Back to top |
|
|
389292 Guru
Joined: 26 Mar 2019 Posts: 504
|
Posted: Sat Dec 26, 2020 4:54 pm Post subject: |
|
|
alamahant wrote: | /usr/local/bin
maybe?
It doesnt matter where you put it provided that u update the PATH variable to include the location.Is it a single binary only? |
I know that I can put it anywhere if I have the PATH included. What I ask is more of a conventional way, if I use the same installation script for Debian or Arch, will they have the same PATHs included and directories created? |
|
Back to top |
|
|
|