Skip to content

Change default prefix location for linux.  #48

@FredericGuilbault

Description

@FredericGuilbault

This issue open the convo around the Pull Request #47

The original issue raised was about changing the default install location in the makefile.

The correct install location for handbuild binaries under linux (And probably OSX) should be /usr/local/bin/

For reference:
The linux FHS standards says:

Purpose of The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr.
Locally  installed  software  must  be  placed  within  /usr/local  rather  than  /usr  unless  it  is  being installed to replace or upgrade software in /usr.

https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf (page 21)

Also Unix standards says :

/usr/local | Resembles /usr in structure, but its subdirectories are  used for additions not part of the operating system distribution, such  as custom programs or files from a BSD Ports collection. Usually has subdirectories such as /usr/local/lib or /usr/local/bin.

https://en.wikipedia.org/wiki/Unix_filesystem#Conventional_directory_layout


This said, the challenge now is to figure all the implications and changes required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions