aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Berndt <luke@robotastic.com>2021-10-17 07:53:58 -0400
committerGitHub <noreply@github.com>2021-10-17 07:53:58 -0400
commitf2852b4d5baf34919c757f6da6e8dd5d49fc392b (patch)
treeef6d2fe4d964717c090f058cd0d2fbc569ab1a76
parent991146beeaef261f469dfec2928225ef88f25658 (diff)
parent4e84fdc75a3586d901d07e8a589573ad2c990d14 (diff)
Merge pull request #533 from toddejohnson/masterv4.0.14.0.1
Update Arch Linux Instructions
-rw-r--r--docs/INSTALL-LINUX.md37
1 files changed, 30 insertions, 7 deletions
diff --git a/docs/INSTALL-LINUX.md b/docs/INSTALL-LINUX.md
index e2bd3841..18a86996 100644
--- a/docs/INSTALL-LINUX.md
+++ b/docs/INSTALL-LINUX.md
@@ -67,23 +67,46 @@ sudo apt install git cmake make build-essential libboost-all-dev libusb-1.0-0.de
### Arch Linux
-Make sure your package lists are up to date:
+#### Install from AUR
+Update and dependencies
```bash
-sudo pacman -Syy
+sudo pacman -Suy
+sudo pacman -S --needed base-devel git
```
-It is suggested to make sure your installed packages are up to date and to review the [Arch Linux documentation regarding upgrades](https://wiki.archlinux.org/index.php/System_maintenance#Upgrading_the_system):
+
+Clone the package
+```bash
+git clone https://aur.archlinux.org/trunk-recorder.git
+```
+
+Install trunk-recorder
+```bash
+cd trunk-recorder
+makepkg -si
+```
+
+Configure `/etc/trunk-recorder/config.json` and start with `systemctl start trunk-recorder.service`. The service runs as trunk-recorder so ensure needed devices(SDR) and files(Media/Talkgroups) are usable(Read or Read/Write) by the trunk-recorder user.
+
+#### Install with AUR helper
```bash
-sudo pacman -Syu
+yay -S trunk-recorder
```
-Most systems will already have `base-devel` group installed, if yours does not:
+Configure `/etc/trunk-recorder/config.json` and start with `systemctl start trunk-recorder.service`. The service runs as trunk-recorder so ensure needed devices(SDR) and files(Media/Talkgroups) are usable(Read or Read/Write) by the trunk-recorder user.
+
+#### Install from source
+
+It is suggested to make sure your installed packages are up to date and to review the [Arch Linux documentation regarding upgrades](https://wiki.archlinux.org/index.php/System_maintenance#Upgrading_the_system):
```bash
-sudo pacman -S base-devel
+sudo pacman -Syyu
```
+
Install the packages required to build Trunk Recorder:
```bash
-sudo pacman -S cmake git boost gnuradio gnuradio-osmosdr libuhd fdkaac sox
+sudo pacman -S --needed base-devel git cmake boost gnuradio gnuradio-osmosdr libuhd fdkaac sox
```
+Continue with Building Trunk Recorder below
+
## Building Trunk Recorder
In order to keep your copy of the Trunk Recorder source code free of build artifacts created by the build process, it is suggested to create a separate "out-of-tree" build directory. We will use `trunk-build` as our build directory.