Free home use
Get a free copy of Yenka to use at home.

Free school trial
Try all our Yenka products free for 15 days in school.

Information on installing Yenka (Beta) on Linux distributions

On this page:


Dependencies

"NAS" (Network Audio System)

Yenka requires NAS to be installed. It may already be installed by default on your distribution (e.g. Ubuntu). If not, it can be installed as follows:

For Debian-based distributions (e.g. Debian, Ubuntu):

  1. Enter a terminal command:
    sudo apt-get install libaudio2
    

For an 'rpm' based distribution (such as Fedora, SUSE, Red Hat, Mandriva):

  1. Search for an rpm package matching your distribution that provides "libaudio.so.2" (for example on http://rpm.pbone.net)
  2. Download the rpm and install it on your system

MP3 playback

Yenka also requires MP3 playback support, provided by gstreamer-plugins-ugly. This is optional, but some sound playback will not work without it.

To install it in Ubuntu, use the command:

sudo apt-get install gstreamer0.10-plugins-ugly

For other distributions, find and install a package called gstreamer-plugins-ugly or similar.

Installing Yenka

Yenka is supplied in autopackage format. Currently, it needs to be installed using a terminal window, as follows:

  1. Download the Yenka Linux installation package (follow links from: http://yenka.com/download)
  2. Make this package executable:
    • Click on "Properties".
    • Click on the "Permissions" tab.
    • Ensure the checkbox "Allow executing file as program" is checked.
    • Click on "Close".
  3. Open a terminal window and change to the directory where you downloaded the package, then run the following command:
    ./Yenka_3.2.7.package
  4. The installer will begin by prompting you whether to download the autopackage code (if autopackage is not already installed). Answer yes (or simply press Enter).
  5. After some time, it will display a window asking for the administrator (sudo) password. This is to install autopackage system-wide.
  6. After autopackage has finished installing, Yenka installation will begin. You may be prompted for the password again.
  7. When Yenka has finished installing, you should have a Yenka icon in your application menu (e.g. Applications > Crocodile Clips > Yenka in Ubuntu)

Uninstalling Yenka

You can use Autopackage's graphical interface to uninstall Yenka. In Ubuntu this is located in Applications > System Tools > Manage 3rd Party Software.

Alternatively, you can do it from the command line. Open a Terminal window, and enter the following command:

package remove YK

Some licence files may remain on your system after uninstalling Yenka. Should you wish to delete them, run the following:

rm -rf ~/.local/share/data/Yenka

Troubleshooting

Q. How do you install Yenka from the command line?

A. If you are unable to use the above instructions to install Yenka, you can also try installing from the command line.

  1. Open a terminal window (Applications > Accessories > Terminal)
  2. Navigate to the folder where the Yenka .package file is located with the "cd" command; e.g. if the file is in ~/Downloads run the command: $ cd ~/Downloads
  3. Run autopackage as root, telling it to install the package: $ sudo autopackage install Yenka package name
    • Type in your password if prompted.
    • Yenka should then be installed as root.
  4. Start Yenka from Applications > Crocodile Clips > Yenka, or if that fails for some reason, by running /usr/bin/run_yk_en from a terminal or the Run dialog

Q. How do I run Yenka if it does not create a desktop icon?

A. Open a terminal and type in "run_yk_en" (without the quotes). This should launch the application.

Q. What should I do if something goes wrong with my autopackage installation?

A. You will need to remove autopackage, then try to reinstall Yenka.

  1. If present, run Applications > System Tools > Manage 3rd party software, select "All Applications", remove Yenka if it appears there, then remove "Autopackage Software Installer (GTK+)".
  2. Open a terminal window (Applications > Accessories > Terminal)
  3. Uninstall autopackage with the following command: $ sudo autopackage uninstall autopackage
    • Type in your password if prompted.
  4. Remove anything leftover from autopackage with the following command (all on one line): $ sudo rm -rf /usr/bin/package ~/.local/bin/package /usr/bin/makepackage ~/.local/bin/makepackage /usr/share/autopackage/ ~/.local/share/autopackage/ /usr/libexec/autopackage/ ~/.local/libexec/autopackage/ /etc/autopackage ~/.config/autopackage
    • If any "File not found" errors appear, ignore these.
  5. Navigate to the folder where the Yenka .package file is located with the "cd" command.
  6. Run the .package file with bash as root (this should install Autopackage, then install Yenka with Autopackage): $ sudo bash Yenka package name
  7. Start Yenka from Applications > Crocodile Clips > Yenka, or if that fails for some reason, by running /usr/bin/run_yk_en from a terminal or the Run dialog

Q. When I use a buzzer or piezo sounder, the sound does not work correctly!

A. This is a known issue which we are working on fixing - our apologies for the inconvenience.

Q. Why won't Yenka run on my distribution of Linux?

A. Because there are so many distributions of Linux, it is difficult for us to ensure that Yenka will run on all of them. In the past, some of our users have successfully used WineHQ to work around this. Note that this will require the Windows version of Yenka, not the Linux version.


If you have problems which are not covered here, contact us at support@crocodile-clips.com. Please keep in mind that this is a Beta version and that some runtime errors are expected.