LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help to install Wine on Debian 8 (https://www.linuxquestions.org/questions/linux-newbie-8/help-to-install-wine-on-debian-8-a-4175612312/)

matrixebiz 08-20-2017 02:20 PM

Help to install Wine on Debian 8
 
Hello, I need some help to install Wine on Debian please. I used to have Wine installed before re-installing and when I double clicked my program.exe, Wine opened up automatically and installed my program to c_drive and I could go into there and run my program without any issues. I've re-installed my Distro now about 30 times trying to follow various online guides but to no evail, I am unable to install Wine like before :(

Soooo, can I get some help step my step to get Wine installed the way I had it before please. I use the lxde Desktop gui environment. Thanks

Rickkkk 08-20-2017 02:29 PM

Quote:

Originally Posted by matrixebiz (Post 5750248)
Hello, I need some help to install Wine on Debian please. I used to have Wine installed before re-installing and when I double clicked my program.exe, Wine opened up automatically and installed my program to c_drive and I could go into there and run my program without any issues. I've re-installed my Distro now about 30 times trying to follow various online guides but to no evail, I am unable to install Wine like before :(

Soooo, can I get some help step my step to get Wine installed the way I had it before please. I use the lxde Desktop gui environment. Thanks

Hey matrixebiz - Installing anything on Debian should be fairly straightforward, including Wine (assuming Debian maintains a package for it in its repositories).

After that, you use the wine commands to create your wineprefix(es) and install Windows programs using the wine command (ex. wine setup.exe). Sometimes it may be useful to run winecfg to adjust certain parameters or wine uninstall to check which Windows software is installed and remove if you want. The winetricks tool can also be useful for certain things ...

Where are you running into trouble ?

matrixebiz 08-20-2017 03:19 PM

Hello, I've tried various guides but none have helped me. Do you have some instructions to try then I will let you know the outcome? I would like to be able to have it recognize that I'm installing a windows program by double clicking on it. I've tried guides where I was able to use 'wine program.exe' but for some reason program installed to Program Files instead of Program Files (x86) then when trying to run the program, it didn't launch.

Rickkkk 08-20-2017 03:38 PM

Quote:

Originally Posted by matrixebiz (Post 5750260)
Hello, I've tried various guides but none have helped me. Do you have some instructions to try then I will let you know the outcome? I would like to be able to have it recognize that I'm installing a windows program by double clicking on it. I've tried guides where I was able to use 'wine program.exe' but for some reason program installed to Program Files instead of Program Files (x86) then when trying to run the program, it didn't launch.

OK - well unless you have previously had success with the same Windows program under the same version of Wine, it sounds like your program may not be ( or no longer) supported by the version of Wine you are using. For example, I am keeping a version of Wine frozen at 1.9.15 simply to be compatible with the Sonos desktop controller app. I have found that under more recent versions of Wine, the app stops working (or would require tweaks I haven't discovered yet). Bear in mind that, although Wine is impressive, it isn't perfect.

Pop back with some details and we'll see if we can be of assistance.

matrixebiz 08-20-2017 03:46 PM

Okay, I think it was version 1.7 but I've tried that version as well but it isn't working. Sorry, I have no idea what version it was but was working last week but I went through so many guides I'm not sure what sequence if commands I did to get it working :(

Rickkkk 08-20-2017 03:52 PM

Quote:

Originally Posted by matrixebiz (Post 5750272)
Okay, I think it was version 1.7 but I've tried that version as well but it isn't working. Sorry, I have no idea what version it was but was working last week but I went through so many guides I'm not sure what sequence if commands I did to get it working :(

Is Wine itself installed at this time ?

If so, how many wineprefixes do you have configured (if you're not sure what is meant by this, you probably only have one).

When you run winecfg, and go to the "About" tab, which version of Wine does it report ?

matrixebiz 08-20-2017 03:57 PM

Hello, no, I currently just did a fresh Debian install, again :) and waiting for further instruction.

Rickkkk 08-20-2017 04:12 PM

Quote:

Originally Posted by matrixebiz (Post 5750275)
Hello, no, I currently just did a fresh Debian install, again :) and waiting for further instruction.

OK, so go ahead and install the wine package for Debian. Then we'll see what happens.

matrixebiz 08-20-2017 04:17 PM

Okay, what guide should I try;
https://wiki.winehq.org/Debian
https://www.linux.com/blog/wine-1735...bianlinux-mint

Rickkkk 08-20-2017 04:23 PM

Sorry - I didn't realize this was part of what you were having trouble with.

Debian should have a package for wine. Although I am unfamiliar with Debian, assuming it works like its derivatives ... I would first update your system:

Code:

sudo apt update
... and then :

Code:

sudo apt upgrade
... and after all the updating is done, install wine (along with a few other useful things):

Code:

sudo apt install wine wine-gecko wine-mono winbind winetricks ttf-mscorefonts-installer

matrixebiz 08-20-2017 04:31 PM

1 Attachment(s)
During the upgrade, I'm getting the attached message;

Rickkkk 08-20-2017 04:32 PM

Hold the phone ... :-)

I just did some quick research - my unfamiliarity with Debian may be of greater importance than I thought ...

There is an entry in the Debian wiki which has more detailed instructions on installing Wine on Debian. I would suggest you follow these instead of those in my previous post.

Apologies in advance ...

https://wiki.debian.org/Wine

Rickkkk 08-20-2017 04:33 PM

Quote:

Originally Posted by matrixebiz (Post 5750288)
During the upgrade, I'm getting the attached message;

... for messages like these during an upgrade, I would choose to keep the existing version of any .ini or other config files.

Rickkkk 08-20-2017 04:36 PM

Quote:

Originally Posted by Rickkkk (Post 5750290)
... for messages like these during an upgrade, I would choose to keep the existing version of any .ini or other config files.

... and please make sure to see my previous post concerning the Debian wiki instructions for installing Wine ...

matrixebiz 08-20-2017 04:40 PM

Okay, following that guide, at this part;
sudo apt install \
wine \
wine32 \
wine64 \
libwine \
libwine:i386 \
fonts-wine

I get - E: Unable to locate package fonts-wine


All times are GMT -5. The time now is 03:47 AM.