Closed kkimurak closed 4 years ago
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.
dnf -y install git boost-devel ...
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}
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 :