Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Help installing a .run file

  1. #1
    Join Date
    Aug 2012
    Beans
    6

    Help installing a .run file

    I need help installing a .run file. The particular file I'm trying to install is the Usenet Browser from Newshosting.com. I downloaded it with Chrome and it is in my "Downloads" folder. I selected to allow as executable and tried double clicking. Nothing happened. I then tried to run in terminal using the chmod comand and ./ command. Still nothing. I am out of ideas. Any help would be greatly appreciated.

  2. #2
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Help installing a .run file

    Unfortunately there's no one-size-fits-all answer - it depends what's in the .run file

    Maybe if you post the exact commands you tried and the errors you got someone will be able to figure it out

  3. #3
    Join Date
    Jun 2012
    Location
    /home/afixane
    Beans
    104
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Help installing a .run file

    Right Click the file, Select Properties, and go to "Permission" Tab, check the "Allow this file to run as program". Then double click it, and try to select "Open In terminal".

  4. #4
    Join Date
    Aug 2012
    Beans
    6

    Re: Help installing a .run file

    Steps I've already taken:

    Downloaded from website.
    Rightclick, select permisions and selected "Allow to run as executable"
    Waited....nothing ever happened.
    So...

    Opened terminal
    cd to folder
    chmod +x filename.run
    ./filename.run
    next line of terminal shows the cd path and nothing ever happened.

    Also tried above running with sudo.

    As always, any help is appreciated.

  5. #5
    Join Date
    Feb 2010
    Location
    Nr BrandsHatch, S'oaks UK
    Beans
    1,241
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Help installing a .run file

    Hi!, rasimpson318,

    Try, after cd to folder:
    Code:
     sudo sh <filemame>
    Alternatively, if that does not work either, and gives no error clues, try Right Click on the file, select 'Extract Here,' [ if that option is available], and see what you get, maybe a ReadMe file, if there is not one in the site you downloaded from.

    If that's not valid, try
    Code:
    sudo sh <filename> --extract-only
    Some .run files are self-extracting and offer that option, eg nvidia driver install .run files.

    Chao!, bogan.
    "Better Solutions may bring Worsened Problems": After Lao Tse, b. circa 405BC. a contemporary of Confucius, who died circa 600BC.
    They did things differently in those days, apparently!!

  6. #6
    Join Date
    Aug 2012
    Beans
    6

    Re: Help installing a .run file

    When typing in those commands I get the following error:

    nh.run: 2: nh.run: Syntax error: end of file unexpected (expecting ")")

    and when I right click, there is no option to extract.

  7. #7
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Help installing a .run file

    It sounds like it is a script - try opening it in a text editor - or just

    Code:
    less nh.run
    so you can find out what kind of script it is - it may simply be that it's asking for an interpreter that you don't have on your system (such as csh)

    The trouble with using

    Code:
    sh file
    on unknown shell scripts is (I think) that it forces interpretation by /bin/sh which is now symlinked to the dash interpreter - overriding the #! in the file itself - obviously that's fine if it's a dash script but if it's a bash or csh script it likely breaks things - for example:

    Code:
    #!/bin/bash
    echo "This is a test."
    
    for x in {a..f}; do echo $x; done
    Code:
    $ ./test.sh
    This is a test.
    a
    b
    c
    d
    e
    f
    Code:
    $ sh ./test.sh 
    This is a test.
    {a..f}

  8. #8
    Join Date
    Aug 2012
    Beans
    6

    Re: Help installing a .run file

    When I run less nh.run it comes up with:


    "nh.run" may be a binary file. See it anyway?

    then, when I say yes, it comes up with a bunch of zero's and such.

  9. #9
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Help installing a .run file

    OK in that case I was wrong about it being a script - sorry

    If it is a binary executable then either it will run or it won't (e.g. it may be compiled for the wrong architecture for your system) - there's not much we can do to 'fix' that bar making sure the executable permission is set (which you already did) - I suggest you contact tech support at newshosting.com

  10. #10
    Join Date
    Aug 2012
    Beans
    6

    Re: Help installing a .run file

    Ok, thanks for the help. Since it's not going to be working, at least for the foreseeable future, do you have any recommendations for a NZB download client that supports pick and choose which files in the NZB to download, and that's free?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •