Skip to content

Instantly share code, notes, and snippets.

@uryossa
Last active December 24, 2025 13:05
Show Gist options
  • Select an option

  • Save uryossa/4036ab23f3b070bbb1b9d922572c9346 to your computer and use it in GitHub Desktop.

Select an option

Save uryossa/4036ab23f3b070bbb1b9d922572c9346 to your computer and use it in GitHub Desktop.
Optimized script for installing OpenUTAU on Ubuntu 24.04 (https://github.com/HitCoder9768/OpenUtau-Installer-Linux)
#!/bin/bash
mkdir -p ~/.local/lib
mkdir -p ~/.local/share/pixmaps
mkdir -p ~/.local/lib/OpenUtau
echo "Downloading OpenUtau..."
wget -q https://github.com/stakira/OpenUtau/releases/latest/download/OpenUtau-linux-x64.zip -O /tmp/ou.zip --show-progress
echo "Installing..."
cd ~/.local/lib/OpenUtau
unzip /tmp/ou.zip
echo "Retrieving icon..."
wget -q https://raw.githubusercontent.com/stakira/OpenUtau/master/Logo/openutau.svg -O ~/.local/share/pixmaps/openutau.svg --show-progress
echo "Marking executable..."
chmod +x ~/.local/lib/OpenUtau/OpenUtau
echo "Adding to menu..."
#wget -q https://raw.githubusercontent.com/HitCoder9768/OpenUtau-Installer-Linux/main/OpenUtau.desktop -O ~/.local/share/applications/OpenUtau.desktop --show-progress
cat <<EOF >~/.local/share/applications/OpenUtau.desktop
[Desktop Entry]
Type=Application
Name=OpenUtau
Comment=Open source singing voice synthesis platform
Exec=$HOME/.local/lib/OpenUtau/OpenUtau
Icon=$HOME/.local/share/pixmaps/openutau.svg
Categories=AudioVideo;Audio;
EOF
echo "Update desktop database"
update-desktop-database ~/.local/share/applications
echo "Removing temp files..."
rm /tmp/ou.zip
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment