You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
De-emphasise manual installation of aliBuild (#165)
* De-emphasise manual installation of aliBuild
The manual installation instructions seems to trip people up.
Make it clearer that the per-OS instructions are the recommended ones, and
link to the "advanced" installation instructions on a separate page.
* Add new page to sitemap
In the first instance, you should always follow the instructions for your operating system [linked under "Prerequisites" here](custom.md#prerequisites).
4
+
This ensures that you only have a single installation of aliBuild, and that it is updated automatically with the rest of your system.
5
+
6
+
If you cannot follow the instructions linked above for any reason (such as if you are using a shared machine and you do not have administrative access), see below for alternative ways to install aliBuild.
7
+
8
+
If you follow these instructions, you are responsible for keeping aliBuild up to date manually.
9
+
Please remember to update aliBuild before asking for support, as any issues you encounter may already be solved in the latest version.
10
+
11
+
### I don't have root permissions
12
+
13
+
In case you don't have root permissions, one of the possibilities is installing aliBuild under a
14
+
user-owned directory. Start with opening your `~/.bashrc`, `~/.bash_profile`, `~/.zshrc` or `~/.zprofile`
15
+
(this depends on your system), and add the following line at the end:
16
+
17
+
```bash
18
+
export PATH="$HOME/.local/bin:$PATH"
19
+
```
20
+
21
+
Now close all your terminals and reopen them to load the new configuration.
22
+
The operations above need to be performed only once. Now, to install or upgrade aliBuild, just do:
23
+
24
+
```bash
25
+
python3 -m pip install alibuild --upgrade --user
26
+
```
27
+
28
+
> This time we did not specify `sudo` and we have added the `--user` option.
29
+
30
+
Verify you have `aliBuild` in your path:
31
+
32
+
```bash
33
+
type aliBuild
34
+
```
35
+
36
+
You are responsible for keeping aliBuild up to date manually.
37
+
You can update by running the following command:
38
+
39
+
```bash
40
+
python3 -m pip install alibuild --upgrade --user
41
+
```
42
+
43
+
Now continue by [configuring aliBuild](custom.md#configure-alibuild).
44
+
45
+
### I need a special version of aliBuild
46
+
47
+
In some cases you might want to install a "release candidate" version, or you want to get the code
48
+
directly from GitHub. By default, the last stable version is installed. **Do not install a special
49
+
version of aliBuild if you were not instructed to do so or if you don't know what you are doing, we
50
+
provide no support for unstable releases!**
51
+
52
+
First, remove any other copy of aliBuild installed on your system in any other way, to avoid conflicts.
53
+
54
+
To install a release candidate (for instance, `v1.5.1rc3`):
0 commit comments