How to install Alephium with packages » History » Version 19
Olivier Bitsch, 01/17/2022 03:57 PM
1 | 1 | Olivier Bitsch | # How to install Alephium with packages |
---|---|---|---|
2 | |||
3 | Alephium can be installed and ran as service into minute with packages. |
||
4 | |||
5 | > Note : unless mainnet is ready, this package is running on testnet. |
||
6 | |||
7 | ~~~ |
||
8 | ### Add Debian/Ubuntu repository |
||
9 | 11 | Olivier Bitsch | echo "deb [arch=amd64 trusted=yes] https://projects.iabsis.com/repository/alephium-pkg/debian buster main" \ |
10 | 1 | Olivier Bitsch | > /etc/apt/sources.list.d/alephium.list |
11 | |||
12 | ### Update package list |
||
13 | apt update |
||
14 | |||
15 | ### Install alephium |
||
16 | apt install alephium |
||
17 | ~~~ |
||
18 | 2 | Olivier Bitsch | |
19 | 9 | Olivier Bitsch | > Note : this package has been build and tested with debian buster, but it should work on other releases. |
20 | |||
21 | 2 | Olivier Bitsch | ### Config location |
22 | |||
23 | You may adjust config into `/etc/alephium/user.conf` |
||
24 | 5 | Olivier Bitsch | |
25 | 17 | Olivier Bitsch | ## Mining |
26 | |||
27 | Install the package according to your hardware |
||
28 | |||
29 | - CPU : `alephium-cpu` |
||
30 | - GPU (Nvidia) : `alephium-gpu` |
||
31 | |||
32 | 18 | Olivier Bitsch | Update the file `/etc/default/alephium-common` and change the `MINE_WITH` attribute. |
33 | |||
34 | Finally, restart or start the service with `systemctl restart alephium-miner`. |