DavidPoulin79
Flight Engineer
Flight Engineer
  • 118 Views

User application folder philosophy

Hi,

We have application that we want to install application for only a specific user on a device.

For global application we know that normally /opt is used, but we wonder is there any guideline for user application.

Like

/home/$USER/opt

/home/$USER/local

/home/$USER/.loca

etc...

 

Any philosophy we should follow!

2 Replies
sam2019
Moderator
Moderator
  • 87 Views

@DavidPoulin79 , going by the example you provided - you are already on the right track. If the application is meant for a single user , then its best placed under user home.

You may want to check the FHS document mentioned here for further pointers : 
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/storage_administration_guid...

  • 76 Views

Hi David!

Indeed as Sam mentioned, you're almost on the right track.

Keep in mind most application and games are installed under ~/.local, and that ~/bin is already in your $PATH

 

Have a good day,

Pietro

0 Kudos
Join the discussion
You must log in to join this conversation.