Skip to content

Commit

Permalink
Merge pull request #533 from toddejohnson/master
Browse files Browse the repository at this point in the history
Update Arch Linux Instructions
  • Loading branch information
robotastic authored Oct 17, 2021
2 parents 991146b + 4e84fdc commit f2852b4
Showing 1 changed file with 30 additions and 7 deletions.
37 changes: 30 additions & 7 deletions docs/INSTALL-LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f2852b4

Please sign in to comment.