You can install it with
apt-get install -y ola
or
yes | apt-get install ola
, but you need the board to be connected to the internet in order to be able to do this.
The board can be connected to the internet in a variety of ways (e.g.: connecting an ethernet cable to your home router, using a wi-fi dongle, sharing the internet connection through your host computer).
If your board is connected to the internet, then the above is enough to install the library.
Once the library is installed, you need to link it in adding the following to "Make parameters" in the IDE:
LDLIBS=-lola
This tells the linker to link in libola
.
Edited: replaced "LDFLAGS" with "LDLIBS"
In case you are unable to connect the board to the internet, then you will have to manually download the packages on a computer connected to the internet, copy them to the board and install each of them with dpkg -i filename.deb
.
If you decide to download the deb files manually, you can find the urls of the packages you need with a "dry-run", e.g.:
$ apt-get install ola --print-uris
...
The following extra packages will be installed:
libftdi1 libgcrypt20 libgpg-error0 liblo7 libmicrohttpd10 libola1 libprotobuf9
...
The following NEW packages will be installed:
libftdi1 libgcrypt20 liblo7 libmicrohttpd10 libola1 libprotobuf9 ola
The following packages will be upgraded:
libgpg-error0
1 upgraded, 7 newly installed, 0 to remove and 302 not upgraded.
...
'http://ftp.us.debian.org/debian/pool/main/libg/libgpg-error/libgpg-error0_1.17-3_armhf.deb' libgpg-error0_1.17-3_armhf.deb 91102 MD5Sum:297a995c82eca590b58b186abdaece9a
'http://ftp.us.debian.org/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.6.3-2+deb8u2_armhf.deb' libgcrypt20_1.6.3-2+deb8u2_armhf.deb 354672 MD5Sum:e4fa4b5821ac99e7ca7f48f39d3e0ad5
'http://ftp.us.debian.org/debian/pool/main/libf/libftdi/libftdi1_0.20-2_armhf.deb' libftdi1_0.20-2_armhf.deb 17000 MD5Sum:6f4a7cd1468e862adca984ad32f68086
'http://ftp.us.debian.org/debian/pool/main/libm/libmicrohttpd/libmicrohttpd10_0.9.37+dfsg-1+b1_armhf.deb' libmicrohttpd10_0.9.37+dfsg-1+b1_armhf.deb 59086 MD5Sum:c41df6d3224e7989927e8bded3a9f979
'http://ftp.us.debian.org/debian/pool/main/libl/liblo/liblo7_0.28-3_armhf.deb' liblo7_0.28-3_armhf.deb 45536 MD5Sum:02ce2a2ea4fd9b97e8fe05458a0cd8e2
'http://ftp.us.debian.org/debian/pool/main/p/protobuf/libprotobuf9_2.6.1-1_armhf.deb' libprotobuf9_2.6.1-1_armhf.deb 312100 MD5Sum:58bfed0950ad07ef1b06d82a42f24eae
'http://ftp.us.debian.org/debian/pool/main/o/ola/libola1_0.9.1-1.1_armhf.deb' libola1_0.9.1-1.1_armhf.deb 1134308 MD5Sum:aaf25ca19ea8eb27a8af0cba53355f15
'http://ftp.us.debian.org/debian/pool/main/o/ola/ola_0.9.1-1.1_armhf.deb' ola_0.9.1-1.1_armhf.deb 223138 MD5Sum:b787cb83be5d899f6903971c8fd99939
you could then download those files, copy them over and install them one at a time (in the given order) with dpkg -i
. Note that the URLs may be out of date if your board has not been connected to the internet for a long time and apt-get update
d, yet you should be able to find the URL by manually browsing the ftp server.