Skip to content

Commit 133fdb4

Browse files
committed
Move cleanup after installation use
1 parent 9ebc300 commit 133fdb4

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

docs/gettingstarted/installing.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,31 @@ On Linux, the components providing the required linked shared libraries also nee
257257

258258
See the [Troubleshooting](../troubleshooting/README.md) section for debugging tips if the build fails.
259259

260+
## Use your local software installations
261+
262+
You will not find the packages you have built immediately available on your shell.
263+
We provide a tool called `alienv` that configures your shell according to the packages you want to load.
264+
`alienv` is capable of switching between different versions of the same package without a hassle.
265+
266+
Load the latest O2Physics version you have built.
267+
268+
```bash
269+
alienv enter O2Physics/latest
270+
```
271+
272+
The `alienv enter` command drops you to a new shell with the O2Physics environment.
273+
Unload the packages by simply exiting the environment with the `exit` command.
274+
275+
```warning
276+
Dependencies are loaded automatically. Do not attempt to load O2 or ROOT as well! You will find them automatically in the environment. `alienv enter` is verbose and will inform you about the loaded packages.
277+
```
278+
279+
```tip
280+
If you have built several Git branches of O2Physics, you can enter the environment of a given branch `[branch]` with `alienv enter O2Physics/latest-[branch]-o2`.
281+
282+
You can list all your available packages with `alienv q`.
283+
```
284+
260285
## Delete obsolete builds
261286

262287
With frequent rebuilding of packages, obsolete builds can pile up and occupy a lot of precious
@@ -297,31 +322,6 @@ you can make aliBuild delete the rest with a little trick.
297322
by running `aliBuild build` for each development package.
298323
3. Let aliBuild delete all the other builds by running `aliBuild clean`.
299324

300-
## Use your local software installations
301-
302-
You will not find the packages you have built immediately available on your shell.
303-
We provide a tool called `alienv` that configures your shell according to the packages you want to load.
304-
`alienv` is capable of switching between different versions of the same package without a hassle.
305-
306-
Load the latest O2Physics version you have built.
307-
308-
```bash
309-
alienv enter O2Physics/latest
310-
```
311-
312-
The `alienv enter` command drops you to a new shell with the O2Physics environment.
313-
Unload the packages by simply exiting the environment with the `exit` command.
314-
315-
```warning
316-
Dependencies are loaded automatically. Do not attempt to load O2 or ROOT as well! You will find them automatically in the environment. `alienv enter` is verbose and will inform you about the loaded packages.
317-
```
318-
319-
```tip
320-
If you have built several Git branches of O2Physics, you can enter the environment of a given branch `[branch]` with `alienv enter O2Physics/latest-[branch]-o2`.
321-
322-
You can list all your available packages with `alienv q`.
323-
```
324-
325325
## Building partially for development using ninja
326326

327327
```note

0 commit comments

Comments
 (0)