How to install on Linux
From Tuxisalive
English • Français
This article describes the different ways to install the Tux Droid software suite on Linux.
See the Linux Releases page for informations about versions.
Contents |
Installing Tux for your distribution
Updating the firmware
If the firmware seems too old, and the new software suite isn't working, you have to update the firmware. Please follow the instructions here to know how to update the firmware safely.
General way to install the software suite
This section describes how to install the Tux Droid software suite with the tar.gz packages.
This installation is done in three steps :
- The base installation, to install the server, driver, and the API.
- Installation of the gadgets, TuxBox and the tools.
- Installation of a TTS voice.
The base installation
1. If a previous installation of tuxsetup is present on your computer, it's recommended to uninstall it before installing this package.
2. Be sure dependencies are satisfied :
- java jre 1.6 or higher or openJDK runtime environment 1.6 or higher (java -version to get the version of your java installation) from sun java or openjdk
- python-setuptools
- python-dev (devel)
- python-xml (pyxml)
- python-ctypes
- libstdc++5 (libstdc++)
- portaudio2
- mplayer
3. Download the latest package :
- Arabic
- Belgian Dutch
- GB English
- Danish
- French
- German
- Italian
- NL Dutch
- Norwegian
- Portuguese
- Spanish
- Swedish
- US English
- Notes : Packages tuxbox-LANGUAGE-TTS-VERSION-ARCH contains the text-to-speech engines. It's recommended to choose those packages, even when you only want to update your system.
- If you choose a package without the TTS engine, you'll have to install the languages manually after.
4. To install the package, run './install' as root.
5. Start the server
$ tuxhttpserver --start # as normal user
Notes : Since the version tuxbox-3.1.0, the server can be started as normal user. It's recommanded to not start it as root. The server will be automatically started when the graphical session starts.
6. Test your installation : Open a new python terminal :
>>> from tuxisalive.api.sh import * >>> tux.eyes.on(2) # The eyes should blink one time. >>> exit()
or use tuxsh :
tux.eyes.on(2) quit()
Starting the graphical interface
If your installation went fine, you can now start the graphical interface. This is a web based interface, accessible directly with a web browser like Firefox.
To display the graphical interface, open a web-browser and go to http://127.0.0.1:54321 .
Notes : If the server is started as a normal user, the graphical interface is available on port 54321. If the server is started as root, or for a version less than 3.1.0 of the TuxBox installer, the used port is 270.
Have fun !
How to install TTS voices
For the Text To Speech function, if you didn't install a package with the TTS voices included, additional installation of voice files is required (download here). Download the language of choice, unpack and run the included wizard. To test your language installation, restart the server and open a new python terminal :
>>> from tuxisalive.api.sh import *
>>> TuxAPI is connected.
>>> tux.tts.speak("test") # Tux should say "test"
>>> exit()
or use tuxsh :
tux.tts.speak("test")
quit()
Other packages
Creating packages for different distributions is a big job. This takes time and a requires a good knowledge of the distribution.
If you want to create packages for your distribution, your contribution is welcome.
For more information, please post a message on the developers forum

