Results 1 to 3 of 3

Thread: Problem running script

  1. #1
    Join Date
    Sep 2009
    Beans
    2

    Problem running script

    Hi. I'm new to the forum and pretty new to ubuntu. I have 9.04 (64-bit) installed. I've used this OS sporadically for Internet, word processing, etc and now I'm starting to get into some heavier stuff.

    I'm trying to install a Fortran compiler but am getting an error message. I've unzipped the install packages into a temporary folder, and I'm following the install instructions provided by the software producer. can you tell me why this won't work?


    Code:
    pete@pete-desktop:~/Temp$ ls
    fl22.tar  fll6i22dcl.tar  in.html  install.sh  mk22_doc.tar  un.html
    pete@pete-desktop:~/Temp$ ./install.sh
    bash: ./install.sh: Permission denied
    pete@pete-desktop:~/Temp$ sudo ./install.sh
    [sudo] password for pete: 
    sudo: ./install.sh: command not found
    pete@pete-desktop:~/Temp$

  2. #2
    Join Date
    Jul 2009
    Location
    London
    Beans
    1,480
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Problem running script

    Hi, make the script executable first, then try running it:
    Code:
    chmod +x install.sh

  3. #3
    Join Date
    Sep 2009
    Beans
    2

    Re: Problem running script

    Thanks for the quick reply -- that worked. I'll have to read up on this.

Tags for this Thread

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
  •