LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wine problem - cant install any app (https://www.linuxquestions.org/questions/linux-software-2/wine-problem-cant-install-any-app-4175516339/)

Hopsahejsa 08-25-2014 04:18 PM

Wine problem - cant install any app
 
Do you have any idea how to overcome this problem?

[admin@localhost ~]$ wine64 /home/admin/Downloads/anki-2.0.28.exe
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
wine: Bad EXE format for Z:\home\admin\Downloads\anki-2.0.28.exe.

Or If I try to run any win app through Wine file it returns only "Error"...

Thanks...

EDDY1 08-25-2014 04:34 PM

Why not try the file that's for a linux distro
http://ankisrs.net/download/mirror/

notKlaatu 08-25-2014 04:38 PM

I'm no expert with WINE, but these are things I've run into when attempting to use it...

Does wine start at all? for instance, Notepad (I think it is) comes along as a demo app, and there are a few other wine apps that exist along with the install. Are you able to launch any of those? Usually upon first launch, there are some additional parameters that WINE has to set and download, so if you have never launched it and are now trying to install something, that could be part of the problem.

Have you tried installing other applications or is anki.blah.exe the first and only? perhaps look for a very small and simple app from sourceforge (maybe a text editor) and see if you have any luck with those. Could be as simple as actually having a corrupt .exe file.

EDDY1 08-25-2014 06:05 PM

Ok I got it to work although pointless since it's available in linux.
But did it just to know howto use wine
Downloaded file it defaulted to /tmp (yours maybe different)
My wine version is compholio so change yours to your version
issued command
Quote:

/opt/wine-compholio/bin/winefile
wine opens
I click on Shell(which is host) to navigate to /tmp
double click in Anki .exe file
box opens prompting install
File installs & creates icon on Desktop

Hopsahejsa 08-26-2014 03:34 AM

First thanks to all for your replies.
Just to clarify. Anki was the last app I tried to run so I pasted it here. I know Anki is for Linux :) Trying to install Remedy ticketing program.

To notKlaatu: Wine Wordpad, Wine file everything is working. It even downloaded some files upon starting.

To EDDY1: nice! Can I ask where did you get the wine-cornholio from? Do I need to get only that working or do I need normal wine as well?
I tried it from pipelight.net /repo for Fedora 20 and during installation (yum install wine-compholio) it asked for:

Error: Package: wine-1.7.24-10.1.x86_64 (home_DarkPlayer_Pipelight)
Requires: wine-mono
Error: Package: wine-core-1.7.24-10.1.i686 (home_DarkPlayer_Pipelight)
Requires: nss-mdns(x86-32)
Error: Package: wine-1.7.24-10.1.x86_64 (home_DarkPlayer_Pipelight)
Requires: mingw64-wine-gecko
Error: Package: wine-openal-1.7.24-10.1.i686 (home_DarkPlayer_Pipelight)
Requires: libopenal.so.1
Error: Package: wine-1.7.24-10.1.x86_64 (home_DarkPlayer_Pipelight)
Requires: mingw32-wine-gecko
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

The sam if I tried yum install wine. In my current repos only 1.7.22-1.el7 is available.

Sorry If this is stupid a question but I am kinda newcomer to Linux :)

EDDY1 08-26-2014 06:37 AM

http://www.compholio.com/wine-compholio/
Netflix even works.

Hopsahejsa 08-26-2014 09:26 AM

Tried on FC20 (1.7.24-1.fc20) and working like charm. Will need to struggle a little more to get it working in CentOS7.
Thanks

EDDY1 08-26-2014 11:34 AM

It's all the same, you shouldn't have any problems.
If icon doesn't display as in gnome3, you can run
Quote:

wine "C:\Program Files\Anki\anki.exe"


All times are GMT -5. The time now is 01:59 AM.