Installing on ubuntu
From Tuxisalive
This articles applies to : Software Suite v3
This How-to is intended for : Ubuntu users
English • Français
This article describes step-by-step how to install the Software Suite version 2 on Ubuntu.
Contents |
Base installation
Downloading the main package
The first step is downloading the software package.
The download server is organized as following :
Root folder for the installers
`- Version of the installers
`- Language of the installers
`- Installation packages
You will find several packages :
- tuxbox-language-version-amd64
- tuxbox-language-version-i386
- tuxbox-language-TTS-version-amd64
- tuxbox-language-TTS-version-i386
The packages with TTS are bigger, because they contain the voice engines. It's strongly recommended to use these packages, even when you want to update your current installation.
Please be careful to select the right architecture for your system. Packages containing i386 have been made for 32 bits OS. Packages containing amd64 are for 64 bits OS.
To be sure to download the latest package, you can use the direct links :
- Arabic
- Belgian Dutch
- GB English
- Danish
- French
- German
- Italian
- NL Dutch
- Norwegian
- Portuguese
- Spanish
- Swedish
- US English
Installing the main package
After downloading the package, double-click on it. This will open the package manager. Follow the instructions displayed in the window to perform the installation.
After the installation, you will find all the applications in /usr/share/tuxdroid.
The APIs sources are installed in /usr/lib/tuxdroid and the python API is installed in /usr/lib/python2.x/site-packages/tuxisalive
Testing your installation
Now, the base installation is finished. You will be able to test your Tux Droid !
Please make sure your dongle is plugged in and Tux is turned on. The LED's in both the dongle and Tux should be lit, indicating they are both connected to each other.
The first time, the server must be started manually. To do it, type the following command :
$ tuxhttpserver --start #as normal user
or use the launcher located on "Applications / Accessories / Tux Box2.0
A very quick test that can be done to test Tux, is by sending some commands with the Python API. From a terminal, type the command tuxsh. This will open a Tux Droid shell.
tuxsh >>> tux.eyes.on(2) # Will blink the eyes True >>> tux.flippers.on(2) # Will flap the wings True >>> exit()
If the commands return False instead of True, it means that your installation has a problem.
Please see this article to know how to fix the problem : Troubleshooting
If the installation seems OK, you can now start the graphical interface. The new graphical interface is web-based, so is accessible from a web browser such as Firefox.
To start the graphical interface, open a web browser and go to http://127.0.0.1:54321 .
Installing the Text-To-Speech (TTS) (optional)
If you have installed tuxbox without the TTS voices, please read the below titles to know how to install the voices manually. If you have chosen the complete tuxbox package with the TTS engine included, your installation is done.
Downloading the language file
The TTS will allow your Tux Droid to speak. This functionality is optional, but is used for the majority of the Tux Droid software.
The Acapela license allows to install two different languages. The available languages are :
- English (US)
- English (British)
- Arabic
- Belgian Dutch
- Danish
- French
- German
- Italian
- Nederland Dutch
- Norwegian
- Portuguese
- Spanish
- Swedish
Installing the language file
Once the language package has been downloaded, you can double-click on it. This will open the package manager. Follow the instructions displayed on the windows to install the new language files.
The languages are installed in /opt/Acapela/TelecomTTS/babtts/engines/. By browsing this directory, you can see the installed languages.
After installing a new language, you have to restart the server.
sudo /etc/init.d/tuxhttpserver restart
Testing the voices
The easiest way to test the voices are with the python API.
Once again, we will use tuxsh :
tuxsh
>>> tux.tts.getVoices()
['Heather', 'Ryan', 'Bruno', 'Julie'] # The english and french male / female voices
>>> tux.tts.setLocutor("Bruno")
>>> tux.tts.speak("Bonjour, je test mon installation de Tux")
True
>>> tux.tts.setLocutor("Ryan")
>>> tux.tts.speak("Hello, I'm testing my Tux Droid installation")
True
>>> exit()
If the voice list is empty, or if the commands return False, something is not installed correctly.
Please see this article to know how to fix the problem : Troubleshooting

