4

I have downloaded this file and can't open it.

I haven't much experience in Linux but I tried several programs; Software-Center, synaptic, Archive manager, and gedit which was set as default and none of the will open it.

The file I'm trying to install is hexen2-installer-1.5.6-linux.run, which is available for download from here under Linux-installer.

Any help will be greatly appreciated.

Braiam
  • 66,947
  • 30
  • 177
  • 264
Diogenes Lantern
  • 507
  • 2
  • 9
  • 20

2 Answers2

5

Most likely as a result of it being downloaded it won't have the correct file permissions, first you'll need to make it executable:

chmod u+x hexen2-installer-1.5.6-linux.run

Then simply execute the file:

./hexen2-installer-1.5.6-linux.run
Richard
  • 8,462
  • 11
  • 46
  • 72
Flyk
  • 1,480
  • 3
  • 18
  • 24
  • $sudo user@host:~$ chmod +x hexen2-installer-1.5.6-linux.run = command not found – Diogenes Lantern Nov 15 '13 at 02:21
  • I have edited to clarify for you, you didn't need the "user@host~$" section, this was merely the prompt – Flyk Nov 15 '13 at 02:25
  • "chmod +x...etc..." cannot access `hexen2-installer-1.5.6-linux.run': No such file or directory – Diogenes Lantern Nov 15 '13 at 02:41
  • You need to first change to the directory that contains the file... – MattDMo Nov 15 '13 at 02:44
  • How to change Directory? – Diogenes Lantern Nov 15 '13 at 02:48
  • 2
    `cd` , if you downloaded it to the default location you should be able to get there with `cd ~/Downloads` – Flyk Nov 15 '13 at 02:53
  • 1
    @kalina this works fine, thanks: however: The setup program seems to have failed on x86_64/unknown :Fatal error, no tech support email configured in this setup – Diogenes Lantern Nov 15 '13 at 03:14
  • 2
    This error is actually [discussed on the project page on SourceForge](http://sourceforge.net/p/uhexen2/discussion/425206/thread/6abb0e5e/) - a solution suggested here is to install alien and download the .rpm version (from the link you originally used) and convert it to a .deb and install it that way using dpkg. [This page](https://help.ubuntu.com/community/RPM/AlienHowto) will tell you how to install alien and use it to convert a rpm file... – Flyk Nov 15 '13 at 03:44
3

I will give you the GUI way;

  • Select that file with right click
  • Choose "Properties" from the menu
  • Select the "Permissions" tab
  • Check "Allow executing as a program"

enter image description here

Click on "Close" and double click the file to run it.

Flyk
  • 1,480
  • 3
  • 18
  • 24
Raja G
  • 100,643
  • 105
  • 254
  • 328