Difference between revisions of "Apertium VirtualBox"

From Apertium
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="color: #f00; border: 2px solid red; padding: 1ex;">'''DEPRECATED!''' Return to [[Installation]] and pick another method.</span>

<!--
{{TOCD}}
{{TOCD}}
[[File:Apertium-VirtualBox.png|thumb|right]]
[[File:Apertium-VirtualBox.png|thumb|right]]
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-20160425.7z
* https://tinodidriksen.com/uploads/Apertium-VirtualBox-20210125.7z
* 641157755 bytes (612 MB)
* 559199448 bytes (533 MB)
* SHA-1: ff437332a54c1952ae1db761e97d1b5f42d556a6
* SHA-1: 3cbb22d6c145c179ac851140493a67bd3afdc3d9


...or if you prefer a ZIP file:
...or if you prefer a ZIP file:
* http://tinodidriksen.com/uploads/Apertium-VirtualBox-20160425.zip
* https://tinodidriksen.com/uploads/Apertium-VirtualBox-20210125.zip
* 1012798465 bytes (966 MB)
* 869061427 bytes (828 MB)
* SHA-1: 5fb0e4b478e9d6fe80af9dfb2ff18ca94369614b
* SHA-1: 68b5ab49b2a5ee554b161b276dd0f64499863210


The archive decompresses to a 2.91 GB vdi file.
The archive decompresses to a 3.59 GB vdi file.


<span style="color: #f00;">'''Important:''' If you just want to translate, you do not need the VirtualBox image. You can instead use the much smaller [[Apertium Simpleton UI]].</span>
<span style="color: #f00;">'''Important:''' If you just want to translate, you do not need the VirtualBox image. You can instead use the much smaller [[Apertium Simpleton UI]].</span>
Line 18: Line 21:
==Contents==
==Contents==


* Lubuntu 16.04, trimmed of all non-essential packages
* Debian Sid, trimmed of all non-essential packages
* VirtualBox Guest Additions
* VirtualBox 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
* XChat, set to automatically connect to OFTC #apertium as nick ap-vbox (appending -2 or -3 on conflict), preconfigured in UTF-8 mode
* Firefox, homepage set to Apertium Wiki
* Firefox, homepage set to Apertium Wiki


Core tools installed via apt-get from repository http://apertium.projectjj.com/apt/ :
Core tools installed via apt-get from repository https://apertium.projectjj.com/apt/ :
* HFST
* HFST
* CG-3
* CG-3
* CG-3 IDE
* Apertium
* Apertium
* lttoolbox
* lttoolbox
* apertium-lex-tools
* apertium-lex-tools
* apertium-separable
* apertium-recursive
* apertium-anaphora
* lexd


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 you can change the keyboard layout from the top right widget.
It automatically logs in to a 1024x768 desktop. All passwords set to 'apertium' for when root is needed. Keyboard and timezone are set to US English, but you can change the keyboard layout from the desktop shortcut.


On first boot, it looks something like:
On first boot, it looks something like:


http://tinodidriksen.com/uploads/Apertium-VirtualBox-20140418.png
https://tinodidriksen.com/uploads/Apertium-VirtualBox-20140418.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.
Functionality was verified by compiling and testing apertium-kaz-tat, and the result was purged 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.
The image is set up as a dynamically expanding hdd with max size 64 GB, where 8 GB is allocated to swap space.
Line 53: Line 59:
==Step-by-Step Installation Instructions==
==Step-by-Step Installation Instructions==


1. Download the file (http://tinodidriksen.com/uploads/Apertium-VirtualBox-20160425.7z).
1. Download the file (https://tinodidriksen.com/uploads/Apertium-VirtualBox-20191205.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 (Lubuntu 16.04).
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 (Debian Sid).


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


4. For the OS Type, select Linux, Ubuntu.
4. For the OS Type, select Linux, Ubuntu (32 bit).


5. For Memory, give it at least 512 MB RAM - it might run with less, but the more the better.
5. For Memory, give it at least 1024 MB RAM - it might run with less, but the more the better. In System, enable VT-x from the Acceleration submenu.


6. For Hard Disk, select the "Use an existing virtual hard drive file" radio button. Pick Apertium (Lubuntu 16.04).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".
6. For Hard Disk, select the "Use an existing virtual hard drive file" radio button. Pick Apertium (Debian Sid).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-20140418.png
7. You can now run the new virtual box. On first boot it should look like this: https://tinodidriksen.com/uploads/Apertium-VirtualBox-20140418.png




Now you should have a system with all the prerequisites installed, and you should be able to follow [[Minimal installation from SVN]] to install a language pair (and possibly any required language modules).
Now you should have a system with all the prerequisites installed, and you should be able to follow [[How to bootstrap a new pair]] to install a language pair (and possibly any required language modules).


==Clipboard==
==Clipboard==
Line 117: Line 123:
[[Category:Installation]]
[[Category:Installation]]
[[Category:Documentation in English]]
[[Category:Documentation in English]]
-->

Latest revision as of 12:55, 1 April 2024

DEPRECATED! Return to Installation and pick another method.