It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Dear community,

I am trying to understand how the linux game executables from gog can be installed and run. I have been unable to find instructions on the site or google and became frustrated. I downloaded a test games (lure of the temptress) which was a single .sh file. I do not know what to do with this file, should I just mark it executable and run it? Do I need another executable (I have seen something like start.sh)? If so, where can I find that?

If I have missed some linux games FAQ or instructions, please redirect me to it. I have been searching for two days without luck. Thanks in advance!
avatar
num18: Dear community,

I am trying to understand how the linux game executables from gog can be installed and run. I have been unable to find instructions on the site or google and became frustrated. I downloaded a test games (lure of the temptress) which was a single .sh file. I do not know what to do with this file, should I just mark it executable and run it? Do I need another executable (I have seen something like start.sh)? If so, where can I find that?

If I have missed some linux games FAQ or instructions, please redirect me to it. I have been searching for two days without luck. Thanks in advance!
Mentioning what distribution you're on might help but the easiest way would probably be to right click on the file, select properties, tick the "execute" box in the permissions tab, apply and then double click on the file to run it. Another simple way would be to open a terminal (usually ctrl+alt+T will do that or run it from the menu), navigate to the folder you downloaded the installer at using the cd command, then run "sudo chmod +x filename.sh" if you're on Ubuntu/Mint or Debian followed by "./filename.sh". Of course no quotes and change filename to the actual filename.
Post edited January 31, 2016 by sunshinecorp
avatar
num18: I do not know what to do with this file, should I just mark it executable and run it?
Yes :)

http://www.gog.com/forum/general/the_try_linux_repostrewrite/post9
Post edited January 31, 2016 by adamhm
avatar
num18: Dear community,

I am trying to understand how the linux game executables from gog can be installed and run. I have been unable to find instructions on the site or google and became frustrated. I downloaded a test games (lure of the temptress) which was a single .sh file. I do not know what to do with this file, should I just mark it executable and run it? Do I need another executable (I have seen something like start.sh)? If so, where can I find that?

If I have missed some linux games FAQ or instructions, please redirect me to it. I have been searching for two days without luck. Thanks in advance!
If you are using Linux Mint or Ubuntu (easiest way to do):

- right click on the .sh installer downloaded from gog.com
- click on properties
- click on permissions tab
- click on the box next to Execute (gets filled by X)
- close the properties window

Double click on the installer and click on run and then gogs game installer starts.
Post edited January 31, 2016 by Matruchus
avatar
Matruchus: snip
Dude, I literally JUST said that... :P
avatar
Matruchus: snip
avatar
sunshinecorp: Dude, I literally JUST said that... :P
Sorry didn't read through your post properly :) Doesn't hurt if its repeated.
Post edited January 31, 2016 by Matruchus
avatar
sunshinecorp: Dude, I literally JUST said that... :P
avatar
Matruchus: Sorry didn't read through your post :) Doesn't hurt if its repeated.
:D
If you are using Linux Mint or Ubuntu (easiest way to do):

- right click on the .sh installer downloaded from gog.com
- click on properties
- click on permissions tab
- click on the box next to Execute (gets filled by X)
- close the properties window

Double click on the installer and click on run and then gogs game installer starts.
It's actually pretty simple to install the game from the command line.

1. cd to the directory where the file is stored (i.e. $ cd Downloads)
2. $ chmod +x installer.sh
3. $ ./installer.sh

start.sh is for running the game once installed, but you don't need to do this if you allow the installer to create a menu entry or desktop icon.

Edit: One more thing: You do not need sudo or root access at all. In fact, I would avoid ever using sudo with anything downloaded from this site, or any site that sells games for that matter. (In fact, SteamOS actually runs games under an account that lacks sudo access.)
Post edited January 31, 2016 by dtgreene
Had the same problem! Heres the solution!

- right click on the .sh installer downloaded from gog.com
- click on properties
- click on permissions tab
- click on the box next to Execute (gets filled by X)
- close the properties window

Double click on the installer and click on run and then gogs game installer starts.
I can't even understand who's trolling me and who just can't read two posts in. :P
avatar
sunshinecorp: I can't even understand who's trolling me and who just can't read two posts in. :P
I didn't notice your mention of using the terminal until after I made my post (you should have started a new paragraph when talking about the terminal route).

One thing: you do not need sudo for the chmod command, and you shouldn't use sudo unless it's actually necessary. (In fact, as I mentioned in my edit, you should never use it with games downloaded from sites like GOG or Steam.)
avatar
sunshinecorp: I can't even understand who's trolling me and who just can't read two posts in. :P
I think they are trolling me, since they are reposting my answer to the OP all the time now. I really did misread your post though.
avatar
sunshinecorp: I can't even understand who's trolling me and who just can't read two posts in. :P
avatar
dtgreene: I didn't notice your mention of using the terminal until after I made my post (you should have started a new paragraph when talking about the terminal route).

One thing: you do not need sudo for the chmod command, and you shouldn't use sudo unless it's actually necessary. (In fact, as I mentioned in my edit, you should never use it with games downloaded from sites like GOG or Steam.)
sudo + chmod is harmless. you're just doing the chmod command with elevated permissions. you're correct in that most of the times it's not needed, but sometimes for various reasons the file isn't owned by the user and/or group so I habitually use it with sudo. and I'll change paragraphs whenever the fuck I feel like it! ANARCHY!!!


avatar
sunshinecorp: I can't even understand who's trolling me and who just can't read two posts in. :P
avatar
Matruchus: I think they are trolling me, since they are reposting my answer to the OP all the time now. I really did misread your post though.
I think they're kinda trolling both of us. :D
Post edited January 31, 2016 by sunshinecorp
avatar
sunshinecorp: sudo + chmod is harmless. you're just doing the chmod command with elevated permissions. you're correct in that most of the times it's not needed, but sometimes for various reasons the file isn't owned by the user and/or group so I habitually use it with sudo.
Actually, sudo + chmod can do a lot of damage if you are not careful or make a typo.

Here is a command that will RUIN YOUR SYSTEM if run as root:
# chmod -R 777 /

If you want to try this command, load up a live CD in a virtual machine; do NOT try this on a system you care about. Recovering a system on which this command has been run is not easy, especially since sudo will no longer work.