2.5 Installing Rattle on Linux for Local User

To install for use just by you the package can be placed into ~/.local/share. After downloading the zip file unzip it into that location:

wget https://access.togaware.com/rattleng-dev-linux.zip -O rattleng-dev-linux.zip
unzip rattleng-dev-linux.zip -d ${HOME}/.local/share/rattleng

These two steps, wget and unzip, can also be repeated to update your installation.

Now set up a link to the binary to be able to run the rattle command from a terminal:

mkdir -p ${HOME}/.local/bin/
ln -s ${HOME}/.local/share/rattleng/rattle ${HOME}/.local/bin/

Then set up your local installation (only required once) to make it known to GNOME and KDE, with a desktop icon for your desktop:

wget https://raw.githubusercontent.com/gjwgit/rattleng/dev/installers/rattle.desktop -O ${HOME}/.local/share/applications/rattle.desktop
sed -i "s/USER/$(whoami)/g" ${HOME}/.local/share/applications/rattle.desktop
mkdir -p ${HOME}/.local/share/icons/hicolor/256x256/apps/
wget https://github.com/gjwgit/rattleng/raw/dev/installers/rattle.png -O ${HOME}/.local/share/icons/hicolor/256x256/apps/rattle.png


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