Speech:Spring 2012 Sphinx Speech Tools Install


 * Home
 * Semesters
 * Spring 2012
 * Proposal
 * Report

How to Install Virtual Box, openSUSE, and Sphinx 3

 * Download openSUSE from http://software.opensuse.org/121/en.
 * File is large ~5 gb, so prepare for that if you don't have good internet.
 * Note: Make sure you download the 32 bit version as the virtual box only has 512 MB of memory
 * Download Oracle VM VirtualBox from https://www.virtualbox.org/wiki/Downloads.
 * If you are currently running Windows download; VirtualBox 4.1.8 for Windows hosts.
 * Install VirtualBox.
 * Install everything the installer asks for you to install.
 * Once opened, select click the "new" button on the top left.
 * Create New Virtual Machine: Name it whatever you'd like, then select "Linux" as the operating system and "openSUSE" for the Version : [[image: CreateNewVirtualMachine.png‎ | Create New Virtual Machine | thumb | 250px]]
 * Select the default memory (512 MB)
 * Create new hard disk
 * Create New Virtual Disk: select VDI (VirtualBox Disk Image)
 * Select whichever option you want for disk storage details
 * Should look something like this:[[image: CreateNewVirtualDiskSummary.png | Create New Virtual Disk Summary | thumb| 250px]]
 * Install openSUSE in VirtualBox.
 * Start the Virtual Box
 * Select "Devices" then "Choose a Virtual CD/DVD disk file..." Then select the .iso file of openSUSE [[image: SelectVirtualDVD.png | Select Virtual DVD | thumb | 250px]]
 * Reset the box, option is under machine.
 * Navigate to the "Installation" option and hit enter.. Wait for it to install
 * You will then get to the "Welcome" screen, select "next" until you get to "Desktop Selection".
 * Select KDE unless you prefer another selection (KDE is a little bit more user friendly)
 * "Next" through the rest of the setup. Once at the end, select "Install".


 * Install Sphinx3 in openSUSE
 * Download Sphinx 3 from http://sourceforge.net/projects/cmusphinx/files/sphinx3/0.8/
 * Download the sphinx3-0.8.tar.gz
 * Go to the folder where you downloaded sphinx3-0.8.tar.gz
 * Right click, extract all here
 * Open up the terminal, which is under the "start" menu
 * Navigate to the folder where you extracted the file, create a couple of directories and run commands
 * cd Downloads/XXXXX
 * mkdir sphinx3/
 * mkdir sphinxbase/
 * ./autogen.sh
 * Then open Yast which is under "Computer" and go to Software Management (do not close the terminal)
 * Type the following in the search bar
 * autoconf then select the autoconf check box
 * libtool then select the libtool check box
 * automake then select automake if it's not already selected
 * c compiler and select the gcc check box
 * Then click accept and it will install the packages
 * Return to the terminal
 * type ./autogen.sh and it will work this time, once completed run the command again
 * ./configure
 * type make, if you get an error saying c compiler is not in your path then the gcc c compiler did not install properly, re-install it through yast
 * type make again if you did the above step
 * type make install and that finishes the installation!