Hello! The goal of this tutorial is installing UTAU 0.2.77 on a non-Japanese Ubuntu computer using Wine 1.4.1. This method will likely work on other versions of Ubuntu and/or other Linux distributions, but the instructions may need to be modified to suit your operating system.
Note: This tutorial assumes that the files you will download will be saved in your home folder, abbreviated ~ in the terminal. If they are not, you will need to adjust the terminal commands to match them.
Also, this tutorial was originally based on Ubuntu 12.10. The methods on this tutorial do work on Ubuntu 14.04, and will probably work with other versions in between 12.10 and 14.04.
Downloading the UTAU Installation Files
Get UTAU 0.2.77 from here. Do not download 0.2.76. Only version 0.2.77 works in Wine.
Also, if you can't read Japanese, you may want to download utau_a3_35.zip from here. You need to click the button named ダウンロード at the very bottom of the page (see picture on the left) to initiate the download.
Wine is a software package that allows you to install some Windows software on Ubuntu. Fortunately, you can install UTAU with Wine. In Ubuntu 12.10, you have 2 options for installing Wine: either via terminal or from the Ubuntu Software Center.
Installing via the Terminal
To install via the Terminal, open a terminal session by pressing Ctrl+Alt+T, then type:
sudo apt-get install playonlinux
It will ask for your user password. Type that in and press enter. Next, it will list all the packages that will be installed, upgrade, and/or removed during installation. You will be asked whether to continue or not. Type "y" to continue and then press enter. Now, wait for the download and installation process to finish.
Installing through the Software Center
To install using Software Center, click the Dash icon on the upper left corner of the screen. Type "Software Center" on the search box and click on the Ubuntu Software Center icon (see picture).Ubuntu Software Center will be launched. On the search box on the upper-right, type "playonlinux". It will show you the results; click on the install button at the right edge of the screen. If you get prompted to authenticate, type in your password. Wait for the download and installation to finish.
Getting Japanese Language Support
Click the Dash button and type "language", then click on the Language Support icon. It will bring up a new window with a list of the languages installed on your computer. Click "Install / Remove Languages". In the new dialog box, scroll down until you find Japanese. Check its check box, and click "Apply Changes. If prompted to authenticate, enter your password. Wait for it to download and install the necessary files.
In order for UTAU to function properly in a non-Japanese Ubuntu installation, we must install and run it via Wine in a Japanese locale. To do that, you need to use the Terminal, at least at first. Don't worry,
we can create an automatic launcher for it, but that is later on in this tutorial.
Note: as said earlier, make sure to bring all files that were downloaded on Step 1 to the home folder.
Open a terminal session using Ctrl+Alt+T and type
LANG=ja_JP.utf8 wine utau0277inst.exe
Press enter.On the installation window, click "次へ(N)". The next screen will ask you where you want UTAU to be installed, and since we have installed Wine, it will be installed on a virtual C: Drive under ~/.wine/ . Go ahead and install it to the default location. At this point it's just a matter of clicking "次へ(N)" until you get to the final screen. Once you hit the fourth screen, the status bar fills up immediately.
If the installation window suddenly hangs, please wait. If you look at the terminal at this point, you will notice it is still working. Towards the end it will say "Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reached..." All you can do at this point is wait.
When the installation process is done, click "閉じる(C)". You may delete the icons on the desktop if you want to use an icon on the launcher instead.
Now we have to run UTAU for the first time and configure it to avoid error messages.
First, lets make accessing the UTAU install folder a little bit easier. Open a terminal session and type:
ln -s ~/.wine/drive_c/Program\ Files\ \(x86\)/UTAU/ ~/UTAU
This will create folder in your home directory called UTAU which is a symbolic link (you can think of it as a shortcut) to the UTAU install folder. This makes adding or removing files from the UTAU folder much easier, both using point-and-click or terminal. To launch UTAU for the first time, type:
LANG=ja_JP.utf8 wine ~/UTAU/utau.exeThis would have been a much longer code had we not made the link. UTAU will now launch and readme.txt will open in notepad, both programs in Japanese. You will also notice the terminal prints out a list of .wav files with hiragana names, this is Defoko's voicebank being generated correctly the first time around, so no need to do this again! In UTAU click "ツール" (Tools) then "オプション" (Options). In this window check the first and third boxes counting from the bottom. You can go ahead and close UTAU for the moment.
Applying the English GUI patch
This is a simple step, either type this into the terminal:
unzip ~/utau_a5_35.zip -d ~/UTAU/
Or you can do it point and click style, right click on utau_a5_35.zip and extract the files, then copy them into your UTAU directory. Either way, run UTAU again (you still have to set the language to Japanese) with:
LANG=ja_JP.utf8 wine ~/UTAU/utau.exe
You should be greeted by UTAU in English, without a single error message!
Creating the UTAU Launcher
If you removed the files on the desktop on Step 4, you need to create a launcher.
First, go ahead and save this image. Save it as "utau.png" in your ~/ directory. Next, open Gedit by click the Dash and typing "Gedit" on thesearch box. Click the Gedit icon to create a text document, and type or past the following code into it:
#!/bin/bash LANG=ja_JP.utf8 wine UTAU/utau.exe
Save it as utau.sh in your home folder. Next, type the following into the terminal:
chmod +x utau.sh
and press enter.
Create one more blank document in Gedit, and past the following lines into it:
[Desktop Entry] Version=0.2.77 Name=UTAU Comment=Launches UTAU via wine in Japanese Exec=utau.sh Icon=utau Terminal=false Type=Application Categories=Utility;Application;
Save this as UTAU.desktop in your ~/UTAU folder, then type this in the terminal and press enter after each line:
sudo mv ~/utau.sh /usr/bin/ sudo mv ~/utau.png /usr/share/pixmaps/ chmod +x UTAU/UTAU.desktop
You will have to give your password after each sudo line. After doing this, you will notice the UTAU.desktop file has become an UTAU icon, just like the utau.exe. Just drag this over to the Unity Launcher, and you are done! Enjoy using free software on free software!
Troubleshooting and Tips
1. When using the Voicebank configuration tool, double-clicking the "P" button turns UTAU unresponsive. You have to force close the window and restart UTAU.
2. Alot of voicebank files such as Kasane Teto have kana and/or kanji folder and filenames. The default Ubuntu extractor does handle this, but if you prefer to use the terminal, type:
unzip -o shift-jis bank_name.zip
"bank_name.zip" being the file name of the zip folder that contains the voicebank.