blob: ce94d45b7a9c9955a18b3d147a8d78265093e2d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Table of contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Removal](#removal)
# Introduction
The goal of the odr-get shell script is to install:
- the [odr-mmbtools](https://www.opendigitalradio.org/mmbtools) components developed by the [Open Digital Radio](https://www.opendigitalradio.org/) non-profit association on a clean debian environment
- Working configuration files that you can later customize as you see fit
# Installation
## Preliminary notes
We **highly recommend** that you install odr-mmbTools on a **new debian** environment, starting from the Bullseye release. Since some software components, like the audio encoders or the modulator, are CPU-intensive, we recommend you setup a lite debian environment (ie. without a GUI framework).
If you want to quickly setup a lite clean debian environment, we suggest you use [Vagrant](https://www.vagrantup.com) associated with a virtualization hypervisor, like [Virtualbox](https://www.virtualbox.org). A sample Vagrantfile is available in the Vagrant folder of this repository.
## Steps
1. Sign-in with your user profile
1. Update your system:
```
sudo apt-get update
sudo apt-get upgrade -y
```
1. Find your time zone:
```
timedatectl list-timezones
```
1. Set your time zone:
```
sudo timedatectl set-timezone your_timezone
```
1. Install the git command:
```
sudo apt-get install -y git
```
1. Clone this repository:
```
cd $HOME
git clone https://github.com/opendigitalradio/dab-scripts.git
```
1. Install the ODR-mmbTools suite and the sample configuration folder
```
# Install the stable version of odr-mmbTools
bash $HOME/dab-scripts/install/odr-get --branch master install
# Or install the next version of odr-mmbTools
bash $HOME/dab-scripts/install/odr-get --branch next install
```
# Removal
If you wish to remove the odr-mmbTools suite and the sample configuration folder, then follow these steps:
1. Stop all odr-mmbTools related jobs in supervisor
2. Remove the ODR-mmbTools software suite and the configuration folder
```
bash $HOME/dab-scripts/install/odr-get remove
```
|