Skip to content

Commit 9d0d211

Browse files
committed
Add instructions for using Alire to get binaries
Simplify install steps into a single line ref https://alire.ada.dev/docs/#new-subcommand-alr-install
1 parent dfae3ce commit 9d0d211

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,21 @@ for Ada:
1717

1818
These are currently under development.
1919

20+
Installing
21+
----------
22+
If you are only concerned in getting the suite of executables you can most easily do so by using the [Alire][alire] package manager to handle the building and installing for you. The steps are:
23+
```bash
24+
alr install libadalang_tools
25+
```
26+
The build step will require a substantial amount of CPU and RAM, but once successful you should find the executables in `$HOME/.alire/bin`. If this is not in the `$PATH` set up by your shell's resource files, you should do so now, typically doing something like this (example is using Bash):
27+
```bash
28+
echo 'export PATH="$HOME/.alire/bin:$PATH"' >> ~/.bashrc
29+
```
30+
31+
Note that the crates on Alire are not always up to date with the [latest released version][releases].
32+
33+
[alire]: https://alire.ada.dev/
34+
[releases]: https://github.com/AdaCore/libadalang-tools/releases
2035

2136
Build
2237
-----

0 commit comments

Comments
 (0)