33.4 Dependencies on Software and Libraries

20200221

Within the MLHUB.yaml system dependencies can be listed.

To install a system dependency:

dependencies:
  system:
    - atril         # apt install atril

To install a system python package, for example python3-opencv:

  python3:
    - opencv        # apt install python3-opencv

For a Python package installed from pipy:

  pip3:
    - pyfakewebcam  # pip3 install pyfakewebcam

For R package dependencies if a package needs to be installed then it will be installed into ~/.mlhub/pkg/R/. In this way the installation of particular versions of a package will not interfere with any system or user installed versions of packages for other applications.

  cran: 
    - rpart         # install.packages("rpart")
    - rattle=5.2.0  # devtools::install_version("rattle", version="5.2.0")


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0