RaspDAB/Install the OpenDigitalRadio software
After you have logged in as the new user (let's assume ' odr'), it is time to install the OpenDigitalRadio software.
As the modulation of the DAB signal will be performed by the EasyDAB board, it is not necessary to install ODR-DabMod and related packages. I have modified the debian.sh script such that just the non-modulation related programs are installed, and called it raspdab.sh . You can find it in the github repository. Download it and save it in the home directory of the new user.
Before running the script we have to make sure it can download the various software packages. By default the location of those packages is not enabled in the raspbian /etc/apt/sources.list file. So we have to edit that file. Open a terminal console window and type:
$ sudo nano /etc/apt/sources.list
This opens the sources file with the nano editor - it will look familiar since you also used it to give the new user superuser rights.
Uncomment (that is, remove the '#' in front of) the 3rd line, that starts with deb-src so the system can get to the debian source files. Save (CTRL-O) and exit (CTRL-X).
Let's first see if there are updates, so type
$ sudo apt-get update
You will see the system contacting the software repositories and download any updates that are required.
By default the script will not run, so we have to make it executable. Assuming you operate from the home directory, enter
$ chmod +x raspdab.sh
This will not give any feedback, but you can check was successful by issuing
$ ls -l
which lists the contents of the home directory. Raspdab.sh should stand out and have 3 times an x in front of it, showing it is executable.
Finally we can start the script by typing
It will first do some checks and ask whether or not you are sure what you are about to do. If you want to continue, press ENTER.
You can go and do something else, as it is a lengthy process (about 2 hours, depending on your internet speed) downloading all packages, compiling those and installing them. But be sure to check every once in a while, as you will have to provide the user password a couple of times.
Once the script is ready you will have a new directory dab in the home directory in which the ODR software is located. You can check the availability of the programs by running them with the -h option, which will show the help information, e.g.
$ odr-audioenc -h
Now the fun starts ! Let's see how to encode using ODR-AudioEnc !