Debian Codegraph @

docs/sources/user/Installation-instructions.md

raw
1 # Installation instructions
2
3 ## pip
4
5 **Note that using pip outside virtualenv is not recommended since it ignores
6 your systems package manager. If you aren't comfortable debugging package
7 installation issues, this is not the option for you.**
8
9 Create and activate a virtualenv:
10
11 ```bash
12 virtualenv acstoreenv
13 cd acstoreenv
14 source ./bin/activate
15 ```
16
17 Upgrade pip and install ACStore dependencies:
18
19 ```bash
20 pip install --upgrade pip
21 pip install acstore
22 ```
23
24 To deactivate the virtualenv run:
25
26 ```bash
27 deactivate
28 ```
29
30 ## Ubuntu 22.04 LTS
31
32 To install ACStore from the [GIFT Personal Package Archive (PPA)](https://launchpad.net/~gift):
33
34 ```bash
35 sudo add-apt-repository ppa:gift/stable
36 ```
37
38 Update and install ACStore:
39
40 ```bash
41 sudo apt-get update
42 sudo apt-get install python3-acstore
43 ```
44
45 ## Windows
46
47 The [l2tbinaries](https://github.com/log2timeline/l2tbinaries) contains the
48 necessary packages for running ACStore. l2tbinaries provides the following
49 branches:
50
51 * main; branch intended for the "packaged release" of ACStore and dependencies;
52 * staging; branch intended for testing pre-releases of ACStore;
53 * dev; branch intended for the "development release" of ACStore;
54 * testing; branch intended for testing newly created packages.
55
56 The l2tdevtools project provides [an update script](https://github.com/log2timeline/l2tdevtools/wiki/Update-script)
57 to ease the process of keeping the dependencies up to date.
58
59 The script requires [pywin32](https://github.com/mhammond/pywin32/releases).
60
61 To install the release versions of the dependencies run:
62
63 ```
64 set PYTHONPATH=.
65
66 C:\Python3\python.exe tools\update.py --preset acstore
67 ```