LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2009, 05:00 AM   #1
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Rep: Reputation: 16
Question How do I run exe file in Ubuntu? (Using Wine)


At www.ehow.com, I found the following:

Step 1

From your Ubuntu command line type "$ wine application.exe" where "application" is replaced by the name of your .EXE file. This method will only work if your file is located in a path location. WineHQ gives these examples: Path="c:\windows;c:\windows\system;e:\;e:\test;f:\."
#
Step 2

Type "$ wine c:\\myapps\\application.exe" to run the file from outside of the path. This will launch your program for use in Ubuntu.
#
Step 3

You must give the full path to the executable in the Windows format of operation not using the Unix command lines.
#
Step 4

Setup the program by following the steps for the .EXE file you are accessing if asked for additional information. The .EXE file will then launch and be ready for use.

But that is too complicated for me. Will someone tell me precisely, verbatim, what to type in the terminal? I'm using Jaunty Jackalope 9.04 and Ff3.0
 
Old 08-09-2009, 05:26 AM   #2
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Launch your shell. If your application is in your home folder (say moocow)

Type wine /home/moocow/application.exe (Use Tab completion to ensure you don't type the path wrongly)

Alternatively, you can right click on the file and view the properties. Set the default application for .exe to Wine.
 
Old 08-09-2009, 11:11 AM   #3
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
Unhappy How do I run exe file in Ubuntu

Thank you.

"Launch your shell(?)" What's a shell and how might I "launch" it?

How do I use a "tab completion?"

When I right click FFDShow Codec Pack.doc,in home folder, I don't see anything indicating "defaul application" in properties.

When it comes to computers, I'm pretty dumb -- please assume that I don't know anything.

[In the meantime, I will look in some glossaries to try to figure some of this stuff out; but still assume that I wouldn't know "it" if it slapped me in the face.]

Last edited by Randymanme; 08-09-2009 at 11:15 AM. Reason: want to mention something else
 
Old 08-09-2009, 11:50 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by Randymanme View Post
Thank you.

"Launch your shell(?)" What's a shell and how might I "launch" it?
If you are in a desktop environment, you will usually use what we call a "terminal emulator", which is a little application that emulates a text terminal in the old fashion. There you can type commands. You usually can find one or more terminal emulator applications in the main menu of your desktop. If you can't find anything resembling the word "terminal", try to look for something called gnome-terminal, xterm, urxvt, konsole or a similar thing, those are common terminal emulators. Once you launch it you should see a window where you can type commands.

Quote:
How do I use a "tab completion?"
When typing paths to file in a command you can press the TAB key (above the caps lock key usually) to autocomplete them. This saves you some typing and ensures that the path is correct. Assuming that you have a file called "foo.exe" in your home directory, and that your home directory is "/home/randymanme", you could use this to run it with wine (assuming that the concrete .exe that you want to run will work under wine, which you can never be sure):

Code:
wine /ho[press TAB]rand[press TAB]foo.exe
Of course, adjust the directory and file names to whatever their real value is. If everything went ok, your .exe program should run. But, as said, wine can't always run all the windows programs. Some work, some don't.


Quote:
When I right click FFDShow Codec Pack.doc,in home folder, I don't see anything indicating "defaul application" in properties.
That's a .doc file, not a .exe one, I hope you realized that. You can usually open .doc file using openoffice, koffice or abiword. Most systems will be preconfigured to use one of these applications to open .doc files if you have one of them installed. So, try installing openoffice if you truly want to read that document.
 
Old 08-11-2009, 04:34 AM   #5
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
Thumbs up How do I run exe file in Ubuntu? (Using Wine)

I right clicked the .exe file, set the default application to Wine. After that, I double clicked the file icon and it installed itself.

Thank you very much for the information, especially the verbatim commands and other explanations.
 
Old 08-11-2009, 07:11 AM   #6
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian
Posts: 132

Rep: Reputation: 18
You cannot install FFDShow to Linux, or .. You probably can, through wine, but it will have no effect .. You can use mplayer, Xine, and many others for viewing video.
 
Old 08-11-2009, 09:11 PM   #7
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
How do I run exe file in Ubuntu? (Using Wine)

Thanks for letting me know -- I was so pleased over getting something to do what I wanted it to do, that it hadn't occurred to me that FFDShow would have no effect. I thought that the no effect was due to whatever reason(s) Mplayer, Realplayer, and VLC don't play at all, and Youtube plays slow and choppy in full screen and Movie Player plays slow and choppy.

By the way, after the FFDShow.exe ran and I restarted, a gracious thank you appeared on the screen from "Wine Internet Explorer (as though it's an actual brand)." After I closed it, it has never come back. If I need to download it to use it, why/how did it pop up the first time?

My wanting to run an .exe file, in the first place, was another of my feeble attempts to rectify an on-going problem of not being able to play videos (in a normal manner) for the entire 5 or 6 weeks since I upgraded (?!?) to Jaunty from Hardy. I'm feeling rather discourged.
 
Old 08-12-2009, 10:34 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
I suggest to open a new thread describing the actual problem about your videos, so the people around can help you to fix it, instead of randomly trying "solutions" like this one. I am not sure if FFDShow will work under wine, but, if it does at all, will only be for the windows media players that you run under wine, and not for the linux ones.

Linux programs have absolutely no means to know that you installed FFDShow.

About the flash plugin, well, it never works well, overall with the newer formats. It leaks cpu time like mad, that's nothing new, and it happens in Windows as well. However, if you truly have problems with the rest of video format there must be something wrong with your setup. Maybe you didn't set up the better video driver for your card or something. Or maybe you are using too much desktop effects.
 
Old 08-12-2009, 12:39 PM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
Randymanme,

You said: "When it comes to computers, I'm pretty dumb -- please assume that I don't know anything.
[In the meantime, I will look in some glossaries to try to figure some of this stuff out; but still assume that I wouldn't know "it" if it slapped me in the face.]"


It appears that you have real difficulty at handling Linux. If ever you have time it is more helpful if you read a tutorial in linux, that way you can greatly improve skill to tackle simple problems. Download any tutorial, or this one offered under my signature, then read it.

hope this helps.

good luck
 
Old 08-12-2009, 12:39 PM   #10
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
Randymanme,

You said: "When it comes to computers, I'm pretty dumb -- please assume that I don't know anything.
[In the meantime, I will look in some glossaries to try to figure some of this stuff out; but still assume that I wouldn't know "it" if it slapped me in the face.]"


It appears that you have real difficulty at handling Linux. If ever you have time it is more helpful if you read a tutorial in linux, that way you can greatly improve skill to tackle simple problems. Download any tutorial, or this one offered under my signature, then read it.

hope this helps.

good luck
 
Old 08-12-2009, 11:55 PM   #11
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
How do I run exe file in Ubuntu? (Using Wine)

I started a thread titled "RealPlayer" in which I described my problem as being unable to get any videos to play.

I suspect that there is something wrong with my set up. Shortly after I upgraded, Jaunty began . . .(I don't know the correct term) . . disentegrating. For several days I'd get on the bus and take the tower back to where I got the computer, but there would be no one there with the technical know how to fix it.

Finally, someone gave me another hard drive that had Jaunty on it. it works much better than the other one, but still won't play videos correctly. And Firefox is slow and/or sluggish.

I got this computer from FreeGeek Columbus. FreeGeek is a non-profit community organization that recycles and refurbishes used technology. FreeGeek happily provides computers, education, and job skills training to volunteers in exchange for their service. There are FreeGeek chapters/branches across the USA. All the computers from FreeGeek Columbus have Linux Ubuntu and tons of software on them.

The prevailing attitude at FreeGeek Columbus is that I have a computer, plenty of software, and much Linux and Ubuntu (and other) community support. Whatever the problem is, I should be able to figure it out.

That's what I'm trying to do.

Last edited by Randymanme; 08-13-2009 at 12:00 AM. Reason: misspelled words
 
Old 08-13-2009, 12:23 AM   #12
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
Exclamation

Sorry to not start another thread, but I think that this information fits in with the momentum already going on here. When I opened Add/Remove Applications a couple of minutes ago, I got the following error message:

Failed to check for installed and available applications

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

What do I do now?
 
Old 08-13-2009, 01:00 AM   #13
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
Unhappy How do I run exe file in Ubuntu? (Using Wine)

In my thread, "Realplayer," someone mentioned adding the Medibuntu Repository in Synaptic. In the last post to that thread, I mentioned how I can make a selection in synaptic, but it may not necessarily install.

Yesterday, I tried again to add Medibuntu Repository and have encountered some major complications.

I almost hate to impose on you all like this, but could someone go to Launchpad Ubuntu, "Open Question #79793, asked on 2009-08-12, by Randymanme, 'Can't (so far) add Medibuntu repository,'" for more elaboration on the major complications? I'd really appreciate it.
 
Old 08-14-2009, 02:23 AM   #14
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian
Posts: 132

Rep: Reputation: 18
Firstly, I think your problem is with your driver, what is your video driver and which graphics card do you own?

Secondly.. This is the problem with Ubuntu .. It's wiki is useless, and if you google for help you will encounter alot of people who honestly don't know sh*t about what they are talking about and recommending to install from source without prefix etc.

Ubuntu is good, until the GUI becomes booring and the config tools fail .. Then Ubuntu is no better than anything else ..

Reading docs on a distribution with proper documentation can give you a fairly good understanding on the linux system just by reading it ..

Read all of these articles for better understanding:
http://www.tuxfiles.org

Secondly, you should try to read the Gentoo Handbook or ArchLinux Beginners Guide and try to set them up from scratch, in the end you will have no problems searching for HOWTO that or fix this with Ubuntu, it's always a fail and which is why I hate that "pretend to" be easy Linux, they did nothing whatsoever to make it easy other than GNOME, and being one of the first serious Debian-based beginner distributions.

I started on Debian back in 2001, and I learned alot from it, and had no difficulties after (not much) ..

Last edited by dezza; 08-14-2009 at 02:25 AM.
 
Old 08-14-2009, 04:16 PM   #15
Randymanme
Member
 
Registered: Jul 2009
Location: Columbus, OH, USA
Distribution: Ubuntu 12.04; Knoppix 7
Posts: 121

Original Poster
Rep: Reputation: 16
Hello. Thank you for your attention to my thread and the advice you gave me. I'll read the tutorials.

To tell you the truth, I don't know what a video driver is. I went to sytsems>administration>hardware drivers, and it said: "No proprietary drivers are in use in this system." If that was not the way to find out what my video driver is, please tell me how to find out that information.

I Googled "graphics card" and ended up at www.cyberciti.biz/faq/linux-tell-which-graphics-vga-card-installed/ - Similar - . The information I got from those directions is: "VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)." I made it a point not to experiment with any of the information given there.

Thank you for your time and trouble,

Regards,

Randall
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run .exe file as we run the samwe in windows chandrala13 Linux - Newbie 2 05-22-2008 06:30 AM
how to run .exe files using wine av.dubey Linux - Newbie 9 01-13-2008 03:02 PM
SETUP.EXE/autorun.exe don't run in wine mst3kman Linux - Games 3 01-22-2006 03:20 PM
can i run vb application(.exe) on linux using Wine? host Fedora 1 01-05-2006 05:35 PM
wine will run notepad.exe 0o0 Linux - Newbie 9 06-20-2004 08:38 AM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration