TheochemUI / eOn

eOn v3 and beyond
https://theochemui.github.io/eOn/
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Avoid using sudo in installation #120

Closed AlanSong641 closed 2 months ago

AlanSong641 commented 2 months ago

So I also tested the installation with Linux. It works fine. But the code requires root privileges at the end. I think we might want to avoid that since when people try to install eongit in cluster, they normally don't have the access to root.

[156/156] Linking target test_matter
Installing libeoncbase.so to /usr/local/lib/x86_64-linux-gnu
Installation failed due to insufficient permissions.
Attempt to use /usr/bin/sudo to gain elevated privileges? [y/n]
HaoZeke commented 2 months ago

Excellent, if you use meson setup bbdir --prefix=$CONDA_PREFIX in the activated conda or micromamba environment, running meson install -C bbdir will not need root but will provide the binary for the active environment :)

HaoZeke commented 2 months ago

Closing this one for now, will have a documentation website by the evening meeting to collect this info :)