Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global installation of tools? #123

Closed
stolpeo opened this issue May 28, 2015 · 2 comments
Closed

Global installation of tools? #123

stolpeo opened this issue May 28, 2015 · 2 comments

Comments

@stolpeo
Copy link

stolpeo commented May 28, 2015

I want use easybuild to provide the compiled programs for all users on the server, i.e. I need a global installation. Easybuild prevents me from installing the programs as root, which is necessary for this step. Unfortunately it does not address this issue in the manual or FAQ. What is your recommendation?

@boegel
Copy link
Member

boegel commented May 29, 2015

First of all: welcome to EasyBuild, @ocs7474505!

EasyBuild indeed complains when it's being run as root, because it's a very bad idea to build and install random (scientific) software that is auto-downloaded from the web as root (see for example MrMEEE/bumblebee-Old-and-abbandoned#123).

A less evil approach is to use a dedicated install user (e.g. easybuild), and give that user the necessary permissions to install to a central location. That provides some isolation in case some Makefile/scripts does something horribly wrong.

Another option is to install to a separate shared filesystem, and simply mount that filesystem on the system(s) where the software should be available.

Let us know whether this helps.

@stolpeo
Copy link
Author

stolpeo commented May 29, 2015

Thanks for the help! The first option makes perfect sense and can be achieved rather quick.

@stolpeo stolpeo closed this as completed May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants