LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I run exe file in Ubuntu? (Using Wine) (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-run-exe-file-in-ubuntu-using-wine-746177/)

Randymanme 08-09-2009 04:00 AM

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

gregorian 08-09-2009 04:26 AM

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.

Randymanme 08-09-2009 10:11 AM

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.]

i92guboj 08-09-2009 10:50 AM

Quote:

Originally Posted by Randymanme (Post 3636674)
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.

Randymanme 08-11-2009 03:34 AM

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.

dezza 08-11-2009 06:11 AM

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.

Randymanme 08-11-2009 08:11 PM

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.

i92guboj 08-12-2009 09:34 AM

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.

malekmustaq 08-12-2009 11:39 AM

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

malekmustaq 08-12-2009 11:39 AM

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

Randymanme 08-12-2009 10:55 PM

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.

Randymanme 08-12-2009 11:23 PM

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?

Randymanme 08-13-2009 12:00 AM

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.

dezza 08-14-2009 01:23 AM

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) ..

Randymanme 08-14-2009 03:16 PM

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


All times are GMT -5. The time now is 03:07 PM.