kkimurak / ssl-setup

Bash script that setup the official RoboCup-SSL tools with required packages ( https://github.com/RoboCup-SSL/ )
4 stars 0 forks source link

Divide the libraries according to the dependency of each software #11

Closed kkimurak closed 4 years ago

kkimurak commented 5 years ago

overview

Currently the libraries to be installed are written in plain text.
e.g. dnf -y install git boost-devel ...
That's weird and I want to divide them.

6 will decrease them, but that's not enough because most of them does not support fedora...

how?

we can use variables in bash. so those libraries could be put together like this :

dnf_grsim="git automake gcc gcc-c++ kernel-devel qt-devel mesa-libGL-devel mesa-libgGLU-mesa-devel protobuf-compiler ode ode-devel"
apt_grsim= "..."

dnf_vision="gcc libjpeg libpng v4l-utils libdc1394 libdc1394-devel"
...

dnf install ${dnf_grsim} ${dnf_vision}