LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   EXE? (https://www.linuxquestions.org/questions/linux-newbie-8/exe-695600/)

Keyes.D 01-07-2009 10:50 AM

EXE?
 
I'm trying to install Wintrade (an online banking program) on my newly installed Ubuntu linux. The file is called Wintrade.Exe . One of the system demands to Wintrade, is that it has to be installed on a Windows OS. But for Linux to survive in a world of Microsoft, then there has to be some stubborn geniuses out there, who can terminate these annoying barriers.

When i open the file it just give me an error with this:
[/home/zeth/Skrivebord/WinTradeSetup.11.4.9.Net.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /home/zeth/Skrivebord/WinTradeSetup.11.4.9.Net.exe or
/home/zeth/Skrivebord/WinTradeSetup.11.4.9.Net.exe.zip, and cannot find /home/zeth/Skrivebord/WinTradeSetup.11.4.9.Net.exe.ZIP, period.

But I cannot come up with any similarities between EXE files and ZIP files. It's open with the Archive Manager.

I read something about a program called Wine, but have no idea what it does.

Any suggestions?

stratotak 01-07-2009 10:53 AM

Use synaptic and look for wine..install it..then try to install it again..now that does not mean it will..and if it does it doesnt mean it will run..Linux cant run windows programs ..it needs wine.

monsm 01-07-2009 11:00 AM

Stratotak is correct, you will need to install wine first in order to even attempt to run Windows programs.

The reason it is opening the archive manager is that .exe files are sometimes executable zip files. The archive manager can extract the zip components from those.

Mons

stratotak 01-07-2009 11:08 AM

other alternitve is to install virtualbox..then install windows into virtualbox..Then you can run windows programs in a windows enviroment on Linux..

stratotak 01-07-2009 11:12 AM

or if you want to stay linux..there GnuCash..dont know if it does online banking though
http://www.gnucash.org/
I dont know if that fits your needs..if it does you just look for it in Synaptic.
Googled it and saw this one..its written in java and runs on linux..
http://apps.sourceforge.net/mediawik...itle=Main_Page
and kde has ,,
http://kmymoney2.sourceforge.net/index-home.html
I dont know anything about online banking but maybe theres a alternitive to Wintrade that will work for you..

andrew22 01-07-2009 11:31 AM

open a terminal and type sudo apt-get install wine Then try running your .exe again. Unfortunately , wine cant run some .exe files so , good luck

mrrangerman 01-07-2009 11:39 AM

Quote:

Keyes.D

But for Linux to survive in a world of Microsoft, then there has to be some stubborn geniuses out there, who can terminate these annoying barriers.
Um if you want to run a program that will only run on windows, put it on window. Linux is doing just fine, there are at lease two or three programs of the same kind to every one of windows programs. So maybe you can find a replacement program that will run natively on linux. I'm not trying to start anything here by any means, but linux is not a cure all. It is a VERY well put together OS and is getting better with every version that is put out. Linux is not about taking over the windows market, it is about the freedom to have a OS that can be altered and improved by anyone.

stratotak 01-07-2009 12:12 PM

Just to let you know..i went ahead and installed Kmymoney..and it does offer online banking...give it a try...

Keyes.D 01-07-2009 01:40 PM

...
 
Neat!

Now I have lots of opportunities to get started on. Thx... Just because I'm curious. Where can i find information about the commands I write into the terminal?

Fx. sudo apt-get install wine ?? What does it mean? It worked - it installed wine, but why? what is sudo? short for sudoku ;-) ?

pixellany 01-07-2009 01:48 PM

for terminal commands, there are a bazillion sources of information.

In a terminal:
info coreutils
man -k <keyword> eg: "man -k file" give you all the commands relating to files.

Google: "linux commands"

http://tldp.org
start with the Bash Guide for Beginners

sudo = "super user do" or "switch user do"
This is a way of running one command as the root or "super" user. It is common on Ubuntu because the root account is disabled by default. On most systems you would switch to root using "su", and then run admin commands.

stratotak 01-07-2009 03:29 PM

sudo apt-get install wine..
sudo is what previous post said.."apt-get" is command for APT,a package manager in Debian and Ubuntu.."install"..well it means to install..and "wine" is the package to install..If you wanted to remove it.. sudo apt-get remove wine..
some comman commands are..
apt-get update..updates your source list packages list
apt-get upgrade...upgrades any packages that have a newer version
apt-get autoclean..cleans out cache of packages you have downloaded
apt-get autoremove removes any packages that are not needed anymore..
there are more but those are ones you most of the time..if you want to know more..
http://www.debian.org/doc/manuals/apt-howto/

agrestic 01-07-2009 04:34 PM

...
Quote:

Originally Posted by Keyes.D (Post 3400215)
it installed wine, but why? what is sudo? short for sudoku ;-) ?

WINE means WINdows Emulator, it lets you run several Windows programs in Linux. Look up (i.e., google) "winetricks" to quickly and simply install Directx 9.0c, the .Net stuff, the .msi Installer, etc. There are several windows programs that need .net and the like.

At the commandline (terminal) make sure you are in the directory where your .exe file is, then type wine program_name.exe to launch its installer. Or you can right-click the .exe's icon and choose "Open with Wine Windows Program Loader" -- it says something to that effect.

As for sudo, I've always thought of it as "Super User DO", because invoking sudo means you're doing something as the Administrator / superuser.

sudo apt-get install qbankmanager kmymoney2-plugin-aqbanking
You may like either qbankmanager or kmymoney, or both. :)

stratotak 01-07-2009 04:59 PM

actually it means Wine Is Not an Emulator


1.4. Is Wine an emulator? There seems to be disagreement.

There is a lot of confusion about this, particularly caused by people getting Wine's name wrong and calling it WINdows Emulator.

When users think of an emulator, they tend to think of things like game console emulators or virtualization software. This is the wrong way to think about Wine - Wine runs Windows applications in essentially the same way Windows does. Wine is just a native Unix substitute for the components of Windows; there is no inherent loss of speed due to "emulation" when using Wine, nor is there a need to open Wine before running your application.

That said, Wine can be thought of as a Windows emulator in much the same way that Windows Vista can be thought of as a Windows XP emulator; both allow you to run the same applications by translating system calls in much the same way. Setting Wine to mimic Windows XP is not much different from setting Vista to launch an application in XP compatibility mode.

There are a few things that makes wine more than just an emulator.

* Sections of Wine can be used on Windows. Some virtual machines use Wine's OpenGL-based implementation of Direct3D on Windows rather than truly emulate 3D hardware.
* Winelib can be used for porting windows application source code to other operating systems that Wine supports to run on any processor - even processes that neither Windows nor the Emulator bit of Wine supports.

"Wine is not just an emulator" would be a more correct name. Thinking of Wine as just an emulator is really forgetting about the other things it is. Wine's "emulator" is really just a binary loader that allows Windows applications to interface with the Wine API replacement.

ErV 01-07-2009 05:44 PM

Quote:

Originally Posted by pixellany (Post 3400226)
In a terminal:

In terminal, type "help" or "info" and press enter.
This is enough to get started.

Quote:

Originally Posted by agrestic (Post 3400402)
...
WINE means WINdows Emulator

Wrong. Read this:
Quote:

Myth 1: "Wine is slow because it is an emulator"
Some people mean by that that Wine must emulate each processor instruction of the Windows application. This is plain wrong. As Wine's name says: "Wine Is Not an Emulator": Wine does not emulate the Intel x86 processor. It will thus not be as slow as Wabi which, since it is not running on a x86 Intel processor, also has to emulate the processor. Windows applications that do not make system calls will run just as fast as on Windows (no more no less).

agrestic 01-08-2009 12:47 AM

Quote:

Originally Posted by stratotak (Post 3400427)
...That said, Wine can be thought of as a Windows emulator in much the same way that Windows Vista can be thought of as a Windows XP emulator...

Haha. :) And thanks for the informative correction.


All times are GMT -5. The time now is 06:44 PM.