Difference between revisions of "Apertium VirtualBox"

From Apertium
Jump to navigation Jump to search
Line 3: Line 3:
 
Since so many have problems getting Apertium to run on Windows or OS X, or are limited in bandwidth, [[User:Tino_Didriksen|Tino Didriksen]] has put together a ready-to-use VirtualBox VDI:
 
Since so many have problems getting Apertium to run on Windows or OS X, or are limited in bandwidth, [[User:Tino_Didriksen|Tino Didriksen]] has put together a ready-to-use VirtualBox VDI:
   
http://tinodidriksen.com/uploads/Apertium-VirtualBox-20131122.7z
+
* http://tinodidriksen.com/uploads/Apertium-VirtualBox-20131122.7z
 
* 635112216 bytes (605 MB - still smaller than an Ubuntu ISO !)
<pre>
 
 
* SHA-1: 3017e3530cf3f7827a54fed8f35c2892aa922b2d
635112216 bytes (605 MB - still smaller than an Ubuntu ISO !)
 
  +
SHA-1: 3017e3530cf3f7827a54fed8f35c2892aa922b2d
 
  +
...or if you prefer a ZIP file:
MD5: 1c6f04a623a4fbe6b23cc7b14aa0e5a4
 
  +
* http://tinodidriksen.com/uploads/Apertium-VirtualBox-20131122.zip
</pre>
 
  +
* 971955044 bytes (927 MB)
  +
* SHA-1: 73bd362069f7a5d4add71f0eb5ccf302b6a97ad7
   
 
The archive decompresses to a 4.24 GB vdi file.
 
The archive decompresses to a 4.24 GB vdi file.
Line 41: Line 43:
   
 
* VirtualBox from http://virtualbox.org/
 
* VirtualBox from http://virtualbox.org/
* 7-Zip from http://7-zip.org/ or something else that can decompress 7z files
+
* If you downloaded the 7z archive: 7-Zip from http://7-zip.org/ or something else that can decompress 7z files
 
** Mac OS X: http://kekaosx.com/
 
** Mac OS X: http://kekaosx.com/
 
** Ubuntu/Debian/Mint: <code>sudo apt-get install p7zip</code>
 
** Ubuntu/Debian/Mint: <code>sudo apt-get install p7zip</code>

Revision as of 08:14, 11 April 2014

Apertium-VirtualBox.png

Since so many have problems getting Apertium to run on Windows or OS X, or are limited in bandwidth, Tino Didriksen has put together a ready-to-use VirtualBox VDI:

...or if you prefer a ZIP file:

The archive decompresses to a 4.24 GB vdi file.

Contents

  • Xubuntu 13.10, so Xfce4 instead of Unity (Ubuntu's fancy-yet-useless interface), trimmed of all non-essential packages
  • VirtualBox 4.3.0 Guest Additions
  • XChat, set to automatically connect to Freenode #apertium as nick ap-vbox (appending -2 or -3 on conflict), preconfigured in UTF-8 mode
  • Firefox, homepage set to Apertium Wiki
  • Gedit
  • Foma 0.17
  • HFST 3.5.0
  • CG-3
  • Apertium
  • lttoolbox
  • apertium-lex-tools

It automatically logs in to a 1024x768 desktop. All passwords set to 'apertium' for when root is needed. Keyboard and timezone are set to Danish, but there is a shortcut for Keyboard configuration on the desktop.

On first boot, it looks like:

http://tinodidriksen.com/uploads/Apertium-VirtualBox-20131103.png

On the desktop is apertium-kaz-tat which works - compiling and testing that language pair should pretty much guarantee all required tools are installed and functional.

Nothing else from svn is left checked out - all was wiped after installing in order to save space.

The image is set up as a dynamically expanding hdd with max size 64 GB, where 8 GB is allocated to swap space.

Prerequisites

Step-by-Step Installation Instructions

1. Download the file (http://tinodidriksen.com/uploads/Apertium-VirtualBox-20131122.7z).

2. Use 7-Zip or a similar program to unzip the file. There should be exactly one thing in the unzipped folder - the Virtual Disk Image (VDI) entitled Apertium (Xubuntu 13.10).

3. Start VirtualBox and click "New" to create a new virtual machine.

4. For the OS Type, select Linux, Ubuntu.

5. For Memory, give it at least 512 MB RAM - it might run with less, but the more the better.

6. For Hard Disk, select the "Use an existing virtual hard drive file" radio button. Pick Apertium (Xubuntu 13.10).vdi from the drop-down menu, or if it isn't there, click the folder icon with the green arrow to the right and navigate to wherever you unzipped the file to. Finish the process by clicking "Create".

7. You can now run the new virtual box. On first boot it should look like this: http://tinodidriksen.com/uploads/Apertium-VirtualBox-20131103.png

Clipboard

To get the clipboard working between the virtualbox and e.g. Windows, go into Options of that VBox -> General -> Advanced tab -> Clipboard -> Bidirectional.