Results 1 to 6 of 6

Thread: How to EXECUTE a file in Ubuntu?????

  1. #1
    Join Date
    Nov 2009
    Location
    Vancouver, Canada
    Beans
    30
    Distro
    Ubuntu 9.10 Karmic Koala

    How to EXECUTE a file in Ubuntu?????

    Hello, I am new to Ubuntu (love it btw) and linux, finally freed from *******.
    But years of click the .exe and bingo there the app is, have left me dumb.
    I am very confused as to how to execute a program in Ubuntu!


    In particular, I am trying to execute Xsane.
    So I found the executable, and obviously click on it, and the error comes up that 'could not open document Xsane' – 'there is no installed viewer capable of displaying the document'
    Ok... That is really quite confusing to me on many levels.

    1. Why is it defaulted to open as a document when file manager lists it as an executable?
    2. How does one execute an executable in Ubuntu???



    I am also having trouble with managing TeX – eg: how do I access it, where is it, I understand it is scripting ( I need it for Psych Grad work ) but if I open any .tex file, it opens as a document with no available compile or run options... So then I downloaded Kile to try to see if that would enable me to access TeX in a usable way, but now Kile is on the system somewhere, but again I have no clue as how to access it or execute it...
    It is frustrating to me as I was a poweruser in *******- from reg editing to batching to file corrolations etc. And now Im a dumbo who cant even RUN a program or install it in a way that make it show up on a program list!!!


    If anyone could answer the first questions re Xsane/executing files in Ubuntu ( why are they read as documents??? whats with that? ) I would greatly appreciate this!


    If anyone could give me some help with TeX, even telling me how to install and use a WYSIWYG GUI for TeX just, that would be a blessing, but my main question is:
    how do you execute an executable?


    Thank you very much to anyone who helps- I really do appreciate this, as I need to get things going for my graduate work in helping autistic children and this would require teX (and LaTeX math) for the complex research documentation mountains created in such work. ( and sorry to be corny, but the children would also appreciate it! )


    Drew Beckett

  2. #2
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,059
    Distro
    Ubuntu Development Release

    Re: How to EXECUTE a file in Ubuntu?????

    With scanner switched on.

    Applications>graphics>xsane

  3. #3
    Join Date
    Nov 2009
    Location
    Vancouver, Canada
    Beans
    30
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How to EXECUTE a file in Ubuntu?????

    Quote Originally Posted by philinux View Post
    With scanner switched on.

    Applications>graphics>xsane
    Great! That solves that particular problem , however there are other situations (and also just to be a decent user) where I will need to know how to execute an executable that I have installed which may not show up in the menu- eg: with teX (like LaTeX) Ive installed it and I dont see it anywhere, only if I search do I find the execute file, and then I get that pseudo-document error.
    For my betterment, could you tell me simply how to execute an executable outside of using the menu?

    Thank you so much= Nbala/Drew

  4. #4
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: How to EXECUTE a file in Ubuntu?????

    Quote Originally Posted by Nbala View Post
    For my betterment, could you tell me simply how to execute an executable outside of using the menu?
    Thank you so much= Nbala/Drew
    One option is to use the command line (Applications->Accessories->Terminal) by typing in the program name. As with Windows, the exact details can very depending on things like whether or not it's in the path and which directory the executable file is saved.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  5. #5
    Join Date
    Nov 2007
    Beans
    124
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to EXECUTE a file in Ubuntu?????

    Alt+F2 opens the equivalent of Windows' Run.

    If you have a file that your system doesn't detect as executable:
    From the command line you can make a file executable with
    Code:
    chmod +x <file>
    Then you can run it by double clicking on it in the file manager, or run it from the command line using its full path or (when you're in the right location)
    Code:
    ./<file>
    Most applications will run from the terminal with the command being their name already though. Any that have been installed should.

    My favourite way is to use Gnome-Do to launch any programs listed in the menu.

  6. #6
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,059
    Distro
    Ubuntu Development Release

    Re: How to EXECUTE a file in Ubuntu?????

    Quote Originally Posted by Nbala View Post
    Great! That solves that particular problem , however there are other situations (and also just to be a decent user) where I will need to know how to execute an executable that I have installed which may not show up in the menu- eg: with teX (like LaTeX) Ive installed it and I dont see it anywhere, only if I search do I find the execute file, and then I get that pseudo-document error.
    For my betterment, could you tell me simply how to execute an executable outside of using the menu?

    Thank you so much= Nbala/Drew

    Press Alt + F2 and enter xsane for instance would run it.

    For latex not sure. Most executables are in /usr/bin. If you open synaptic and go to the latex entry then click installed files you can find the name there. /usr/bin is a defined path do you only need the name of the target most times in alf f2 or terminal.

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
  •