sudo unzip /home/$(whoami)/Downloads/PC\ Building\ Simulator.zip -d /opt/PC\ Building\ Simulator
sudo chmod 755 /opt/PC\ Building\ Simulator/Linux/PC\ Building\ Simulator\.*
printf "[Desktop Entry]\nName=PC Building Simulator\nComment=3D simulation of building PCs\nExec=\"/opt/PC Building Simulator/Linux/PC Building Simulator.$( arch )\"\nIcon=/opt/PC Building Simulator/Linux/PC Building Simulator_Data/Resources/UnityPlayer.png\nTerminal=false\nType=Application\nCategories=Game\nKeywords=simulation\n" | sudo tee /usr/share/applications/pc-building-simulator.desktop >/dev/null
sudo chmod 755 /usr/share/applications/pc-building-simulator.desktop
Step by step explanation:
- Unzip the downloaded archive from your Download directory in your home directory. This is the default where Firefox saves stuff. Unless you specified this to be something else or use a different browser, it will be correct.
- Make sure the executables are actually ... executable. The developer should distribute his work in tar.gz archives where the correct permissions are set.
- Create a desktop file so you can launch it from the Unity launcher (Should work for other .desktop based launchers)
- That desktop file must be executable too to work.
That's it.. Well, I assume, I have a relatively stock Ubuntu installation, so I don't really assume there actually are undocumented dependencies. I didn't try the game, only went up to the welcome screen and quit. Sandy Bridge i3 graphics here.
In the thread below, I posted a link to an installation script.
Read the notes very carefully.