Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

MLHub Dependencies

20200221 Within the MLHUB.yaml file 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:

dependencies:
  python3:
    - opencv        # apt install python3-opencv

For a Python package installed from pipy:

description:
  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.

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

File dependencies in the simplest case install files from the git repository onto the local installation of the package base directory (˜/.mlhub/pkg/):

dependencies:
  files:
    - docs/README.md  # Install from github as README.md in base directory. 
    - demo.R          # Install from github as demo.R in base directory.

Arbitrary files can be downlaoded from the Internet and renamed/saved locally:

dependencies:
  files:
    - https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg: cache/images/uluru.jpg
    - https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg: cache/images/


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.