OS specificsTo install domotcl, basically all that needs to be done is to unpack the domotcl.tgz file in a location of your choice. You will also need a runtime appropriate for the platform to run the various parts. All of these can be downloaded from the download page.Below are some more detailed instructions for selected platforms.
Ubuntu LTS 18.04.2 Desktop Ubuntu LTS 18.04.2 DesktopThe Ubuntu Desktop 18.04 LTS ISO can be downloaded from https://www.ubuntu.com/download/desktop. Follow the instructions on the same page for creating a DVD or a bootable USB stick.When booting from the installation DVD or USB stick, select "Install Ubuntu". The minimal installation suffices as a starting point for running domotcl, although the normal installation can of course also be used. The default disk partitioning (a single ext4 partition) will work fine. During installation, a user account will be created. This can be the user that will run domotcl. An account to run domotcl can also be created later, if desired. These instructions assume the username for this account is domotcl. When the installation is complete, log in with the domotcl user account. Then create a bin directory and download and install the domotcl runtime into that directory. mkdir ~/bin cd ~/bin wget http://domotcl.tclcode.com/download/linux64/tclkit chmod +x tclkitThe domotcl user account must be added to the dialout group to allow access to serial devices. sudo usermod -aG dialout domotclThis change will only take effect in future login sessions, so you may want to log off and log in again. That will also result in the ~/bin directory being added to the PATH variable. A few additional packages will improve the appearance of the domotical explorer. sudo apt install tango-icon-theme oxygen-icon-themeTo install domotcl, run the following commands: cd wget -qO- http://domotcl.tclcode.com/download/domotcl.tgz | tar xzv Raspbian Stretch with desktopThe Raspbian Stretch ISO can be downloaded from https://www.ubuntu.com/download/desktop. Follow the instructions on the same page for installing the image onto an SD card.By default a user account called pi is available. You can use this account to run domotcl, but these instructions assume a separate account called domotcl will be created for this purpose. After booting raspbian, log in with the domotcl user account. Then create a bin directory and download and install the domotcl runtime into that directory. mkdir ~/bin cd ~/bin wget http://domotcl.tclcode.com/download/linuxahf/tclkit chmod +x tclkitThe domotcl user account must be added to the dialout group to allow access to serial devices. sudo usermod -aG dialout domotclThis change will only take effect in future login sessions, so you may want to log off and log in again. That will also result in the ~/bin directory being added to the PATH variable. A few additional packages will improve the appearance of the domotical explorer. sudo apt install tango-icon-theme oxygen-icon-themeTo install domotcl, run the following commands: cd wget -qO- http://domotcl.tclcode.com/download/domotcl.tgz | tar xzv WindowsWindows can only be used to run the domotcl explorer. It does not have the capabilities required to run the core.
|