tx2-batman-mist_ws/Batman_setup_scripts/install_batman.sh

35 lines
860 B
Bash
Raw Normal View History

# /bin/bash
VERSION=2020.4
apt-get install build-essential
apt-get install linux-headers-$(uname -r)
apt-get install pkg-config
apt-get install libnl-3-dev
2021-09-13 22:38:09 -03:00
apt-get install libnl-genl-3-dev
apt-get install libcap-dev
wget http://downloads.open-mesh.org/batman/releases/batman-adv-$VERSION/batman-adv-$VERSION.tar.gz
tar -xzf batman-adv-$VERSION.tar.gz
cd batman-adv-$VERSION/
make
make install
cd ..
rm -rf batman-adv-$VERSION*
wget http://downloads.open-mesh.org/batman/releases/batman-adv-$VERSION/batctl-$VERSION.tar.gz
tar -xzf batctl-$VERSION.tar.gz
cd batctl-$VERSION/
make
make install
cd ..
rm -rf batctl-$VERSION*
wget http://downloads.open-mesh.org/batman/stable/sources/alfred/alfred-$VERSION.tar.gz
tar -xzf alfred-$VERSION.tar.gz
cd alfred-$VERSION/
make CONFIG_ALFRED_GPSD=n
make CONFIG_ALFRED_GPSD=n install
cd ..
2021-09-13 22:15:19 -03:00
rm -rf alfred-$VERSION*