-`sudo apt install gcc-multilib` (in Debian-based GNU/Linux)
- [opam](http://opam.ocaml.org) (>= 2.0.4)
- [OCaml](http://ocaml.org) (>= 4.10.1). *Optional* because it can be easily installed through opam. Compiler variant with `flambda` switch is recommended
-`opam switch create` is a subcommand to create a new switch
-`ocaml-variants.4.10.1+fp+flambda` is name of a standart template for the switch
-`lama` is an alias for the switch being created; on success a directory `$(HOME)/.opam/lama` should be created
* Update PATH variable for the fresh switch. (You can add these commands to your `~/.bashrc` for convenience but they should be added by `opam`)
```
export OPAMSWITCH=lama
eval $(opam env)
```
Check that OCaml compiler is now available in PATH: running `which ocamlc` should give `/home/user/.opam/lama/bin/ocamlc` (or similar) and `ocamlc -v` should give
```
The OCaml compiler, version 4.10.1
Standard library directory: /home/user/.opam/lama/lib/ocaml
```
* Pin Lama package using `opam` and right URL (remember of "#" being a comment character in bash)
`opam pin add Lama https://github.com/JetBrains-Research/Lama-devel.git\#1.10+ocaml4.10 -y`
The `-y` switch meands "reply always 'yes'".
* Check that `lamac` exectuable was installed: `which lamac` should give
```
/home/user/.opam/lama/bin/lamac
```
### Smoke-testing:
Install `lama` system-wide, clone the repository and run `make -C tutorial`