Handle Morloc installation and removal
Setup morloc containers, scripts, and home for either the latest version of Morloc or for the specified version.
The only dependency is a container engine, currently two docker and podman are supported.
You can retrieve the manager with curl:
curl -o morloc-manager https://raw.githubusercontent.com/morloc-project/morloc-manager/refs/heads/main/morloc-manager.sh
Then move it into your path (e.g., move it to ~/.local/bin) and make it executable.
Basic usage information is available for the main script and all subcommands:
morloc-manager -h
morloc-manager install -h
morloc-manager uninstall -h
To install the latest version of Morloc, run install
with no arguments:
morloc-manager install
This will retrieve required containers, create the morloc home directory, and make four executable scripts:
- menv: runs commands in a Morloc container. Examples:
$ menv morloc make -o foo foo.loc
$ menv ./foo double 21
-
morloc-shell: enter the "full" container in a shell
- contains Python, R, and C++ compiler
- contains vim and other conveniences
-
menv-dev: runs commands in a dev container
- contains Haskell tools for building from source
- can access to all system executables
-
morloc-shell-dev: enter the dev shell