LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   BL5.1-32-Legacy - How to reinstall WINE, pleaase? (https://www.linuxquestions.org/questions/bodhi-92/bl5-1-32-legacy-how-to-reinstall-wine-pleaase-4175669383/)

madmax25 02-11-2020 01:09 PM

BL5.1-32-Legacy - How to reinstall WINE, pleaase?
 
On my netbook with "BL 5.1 Legacy" (= 32bit) installed, I tried to install 'XMedia Recode 32bit', which is a Windows tool.

That's when I realized my WINE installation seems to be faulty.

How can I purge everything referring to WINE and reinstall it again properly, please?

business_kid 02-11-2020 01:43 PM

Uninstall your package - easiest way. Remove every ~/.wine directory

If that's a source compile, it's messy. /usr/bin has a pile of stuff, and you'll have to hope the next install overwrites it. But neat directories exist in /usr/include/wine, /usr/lib/wine, /usr/share/doc/wine, and /usr/share/wine. Do 'rm -rf' on them if you must.

In the source there is/was a ~/tools/wineinstall utility if the configure mystifies you.

madmax25 02-11-2020 02:40 PM

Looks like WINE came together with the bodhi-apppack, so I'll try to uninstall that pack and reinstall it again.
I hope to get a working WINE again that way.

EDIT:
Yeah, I did it! ;-D

Here's what I did:

First of all, I installed kernel 5.3.0-28 by means of the following script
(don't worry, that kernel is running fine for BL 5.1, even on an old 32 bit device like my netbook):

Code:

Install kernel :
******************

read -p "Please kernel number: `echo '\n> '`" a
sleep 1
echo

sudo apt install linux-headers-"${a}" linux-headers-"${a}"-generic linux-image-"${a}"-generic linux-modules-"${a}"-generic linux-modules-extra-"${a}"-generic
sleep 2
echo

read -p "Hit 'Enter' key to close ... " Enter

(Rem.: If you want to remove a kernel just replace install with purge)

Now, the crucial step:
I had to install...
libfaudio0_19.07-0~bionic_i386.deb
...from here.

After that I installed WINE using these commands:

Code:

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

Don't mind the lots of messages in the terminal, WINE will work anyway.
If, during the installation, you are asked to install Mono and Gecko, you'll know, everything is going to be ok.

Next, I created a personal starter within the settings console like this:
Tab Easy->Name and in Easy->Application:
Code:

Winecfg
Tab Symbol:
Click the symbol preview and navigate to
Code:

/usr/share/icons/Faenza/apps/48
Below the preview, enter
Code:

wine-winecfg.png
Hit OK and close everything regarding the settings console.

Now, you have a starter for winecfg in the main menu, in section Others.

Finally, I made sure, EXE's of Windows tools are associated with the 'WINE Windows application starter'.


All times are GMT -5. The time now is 09:13 AM.