Deleted
Deleted Member
Posts: 0
Likes:
|
Post by Deleted on Jul 28, 2023 8:00:17 GMT
I want to run some Windows program using Wine. If you are currently using Wine on Bodhi what has been your experience? Especially, if it has been good - forum posts tend to be dominated by people having problems and probably are not an accurate representation of the general experience.
The version in the repo is 5.0. The current version of Wine is 8.0. Can I install Wine 8.0 on Bodhi 6.1? If not how about the coming Bodhi 7.0?
Any opinions on Wine on Bodhi would be gratefully appreciated.
|
|
|
Post by thewaiter on Jul 28, 2023 8:25:49 GMT
Hello
I do not use Wine anymore as I had problems with that years ago. Not sure how stable and good it is these days. I have checked the wine version in BL7 RC and it is 6.03. What kind of win apps are you using? Have you looked for their linux alternatives?
Stefan
|
|
Deleted
Deleted Member
Posts: 0
Likes:
|
Post by Deleted on Jul 28, 2023 10:07:10 GMT
Thank-you for the quick response. Wine 8.0 is suppose to a big deal - the result of 4 years of effort to move totally to PE format. I know of Linux versions but don't want to invest the time and effort. (I have used Windows for 25+ years.) Beyond that I have developed an intellectual curiosity about Wine and how it works. (Initially, I thought it was just another container but it is very different since the Windows OS is very different from the Linux OS and the usual container techniques will not work.) I have some experience with using build toolchains and since I can get the sources to some of the applications I want to run I am willing to build my own Linux versions of these Windows applications using the Winelib toolchain.
|
|
|
Post by suolainen on Jul 28, 2023 15:16:18 GMT
@mcuda I am one of the 'try and error (or success) faction" and experimented with wine on Bodhi 7 alpha. This is what made Wine 8 finally work - with both versions, 32 and 64 bit.
1) Install Wine 6.03: sudo apt install wine wine32 wine64 libdw1:i386=0.188-1~bpo22.04.1 libelf1:i386=0.188-1~bpo22.04.1 sudo apt update sudo apt upgrade sudo apt autoremove 2) Then install Wine 8.01 from Wine HQ sudo dpkg --add-architecture i386 sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources sudo apt update sudo apt install --install-recommends winehq-stable -yy wine cfg
It did work out in April. Not sure if it still does, though.
|
|
Deleted
Deleted Member
Posts: 0
Likes:
|
Post by Deleted on Jul 28, 2023 21:40:34 GMT
Thank-you very much for your detailed instructions. Do you know why it was necessary to install Wine 6 first? (just curious) I am currently running Bodhi 6 but I just bought a new SSD so I will install Bodhi 7 RC and test drive Bodhi 7 and the SSD together.
|
|
enigma9o7
Crew Member
 
Posts: 1,218
Likes: 1,215
|
Post by enigma9o7 on Jul 28, 2023 23:16:52 GMT
It is unlikely you need to install wine 6 first. Other than manually installing those two backported libraries, i'd expect everything would get overwritten anyway. And if you actually needed those two packages and they didn't get pulled in automatically, you could certainly install them later.
libdw1:i386=0.188-1~bpo22.04.1 libelf1:i386=0.188-1~bpo22.04.1
|
|
enigma9o7
Crew Member
 
Posts: 1,218
Likes: 1,215
|
Post by enigma9o7 on Jul 29, 2023 4:56:28 GMT
As a test I just tried installing winehq-stable on bodhi 7 beta, without installing wine from repo or random libraries first, and works fine.
To install I just followed ubuntu instructions on the winehq website, skipping stuff I knew was unnecessary....
sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources sudo apt update sudo apt install winehq-stable
The first time I ran it it did its configuration and setup automatically, which took a minute. Then it prompted me and I let it install upstream mono which took another minute. The next time, it just ran the app immediately (like screenshot above.)
It installed the following packages:
libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavahi-core7 libblkid1:i386 libbrotli1:i386 libbsd0:i386 libbz2-1.0:i386 libc6:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcom-err2:i386 libcrypt1:i386 libcups2 libcups2:i386 libcurl3-gnutls libcurl3-gnutls:i386 libcurl4 libcurl4:i386 libdaemon0 libdatrie1:i386 libdb5.3:i386 libdbus-1-3:i386 libdecor-0-0 libdecor-0-0:i386 libdecor-0-plugin-1-cairo libdecor-0-plugin-1-cairo:i386 libdeflate0:i386 libdrm2:i386 libdw1:i386 libedit2:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libffi8:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgbm1:i386 libgcc-s1:i386 libgcrypt20:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libgmp10:i386 libgnutls30:i386 libgpg-error-l10n libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-l10n libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386 libicu70:i386 libidn2-0:i386 libieee1284-3 libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.5-0 libldap-2.5-0:i386 libllvm15 libllvm15:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmd0:i386 libmount1:i386 libncurses6:i386 libnettle8:i386 libnghttp2-14:i386 libnsl2:i386 libnspr4:i386 libnss-mdns libnss-nis:i386 libnss-nisplus:i386 libnss3:i386 libodbc1 libodbc1:i386 libodbc2 libodbc2:i386 libodbccr2 libodbccr2:i386 libogg0:i386 libopengl0:i386 libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpci3:i386 libpcre2-8-0:i386 libpcre3:i386 libperl5.34:i386 libpixman-1-0:i386 libpng16-16:i386 libpoppler-glib8:i386 libpoppler118:i386 libpsl5:i386 libpulse0:i386 librtmp1:i386 libsamplerate0:i386 libsane-common libsane1 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libselinux1:i386 libsensors5:i386 libsndfile1:i386 libsnmp-base libsnmp40 libsnmp40:i386 libsqlite3-0:i386 libssh-4:i386 libssl3:i386 libstdc++6:i386 libsystemd0:i386 libtasn1-6:i386 libthai0:i386 libtheora0:i386 libtiff5:i386 libtinfo6:i386 libtirpc3:i386 libudev1:i386 libunistring2:i386 libunwind8:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvorbis0a:i386 libvorbisenc2:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386 libwebp7:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxslt1.1:i386 libxss1:i386 libxxf86vm1:i386 libzstd1:i386 ocl-icd-libopencl1:i386 sane-airscan sane-utils update-inetd wine-stable wine-stable-amd64 wine-stable-i386:i386 zlib1g:i386 Note libdw1:i386 and libelf1:i386 are not installed.
bodhi@7beta:~$ apt policy libelf1:i386 libelf1:i386: Installed: (none) Candidate: 0.188-1~bpo22.04.1 Version table: 0.188-1~bpo22.04.1 500 500 http://us.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages 0.186-1build1 500 500 http://us.archive.ubuntu.com/ubuntu jammy/main i386 Packages bodhi@7beta:~$ apt policy libdw1:i386 libdw1:i386: Installed: (none) Candidate: 0.188-1~bpo22.04.1 Version table: 0.188-1~bpo22.04.1 500 500 http://us.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages 0.186-1build1 500 500 http://us.archive.ubuntu.com/ubuntu jammy/main i386 Packages
|
|
|
Post by suolainen on Jul 29, 2023 5:28:59 GMT
@@mcuda "Do you know why it was necessary to install Wine 6 first? (just curious)"
I had to install Wine 6 first because that was - for me - the only way to get wine32 working which I needed for an 'old' programme.
Otherwise enigma9o7 is right. If you don't need wine32 but just wine64, you can skip (my) step one and just follow the advive given to you by enigma.
|
|
Deleted
Deleted Member
Posts: 0
Likes:
|
Post by Deleted on Jul 29, 2023 16:20:08 GMT
Thanks very much for the additional advice. unfortunately my computer did not recognize my new SSD and after many hours of research I finally tried on a different computer where it worked perfectly. So, I need to find space on a working drive and it will be tomorrow before I can try this.
|
|
enigma9o7
Crew Member
 
Posts: 1,218
Likes: 1,215
|
Post by enigma9o7 on Jul 29, 2023 17:31:43 GMT
I had to install Wine 6 first because that was - for me - the only way to get wine32 working which I needed for an 'old' programme. I'd be interested to test this old program. winehq installes both wine-stable-amd64 and wine-stable-i386 and by running wine it should automatic run 32-bit and 64-bit windows apps.
But in any case, doesn't hurt anything to install it first, or install those extra two 32-bit libraries, just seems probably unnecessary.
|
|
xpistian
Crew Member
 
Posts: 94
Likes: 76
|
Post by xpistian on Jul 30, 2023 4:55:37 GMT
I had to install Wine 6 first because that was - for me - the only way to get wine32 working which I needed for an 'old' programme. I'd be interested to test this old program. winehq installes both wine-stable-amd64 and wine-stable-i386 and by running wine it should automatic run 32-bit and 64-bit windows apps.
But in any case, doesn't hurt anything to install it first, or install those extra two 32-bit libraries, just seems probably unnecessary.
For some programs, you have to create a 32bit Wine prefix or they won't work. Or you use something like Play on Linux or Lutris, to have that process automated. However, they're specifically for gaming and while some other programs may have setups/ instructions for those two helpers, you're probably out of luck with anything that is not a game and rather niche.
|
|
Deleted
Deleted Member
Posts: 0
Likes:
|
Post by Deleted on Jul 30, 2023 6:50:58 GMT
The instructions given by enigma9o7 works. Thank-you very much.
sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources sudo apt update sudo apt install winehq-stable
I did not install mono as the applications I am interested are pre .NET - I am that old. I think wine has gotten bigger - if my memory is good the old wine 5 was ~1GB, wine 8 is 1.3GB.
|
|
xpistian
Crew Member
 
Posts: 94
Likes: 76
|
Post by xpistian on Jul 30, 2023 6:59:37 GMT
The instructions given by enigma9o7 works. sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources sudo apt update sudo apt install winehq-stable I did not install mono as the applications I am interested are pre .NET - I am that old. I think wine has gotten bigger - if my memory is good the old wine 5 was ~1GB, wine 8 is 1.3GB. If you build 32bit and 64bit, it's bound to be bigger than 64 or 32bit alone. Happy experimenting.
|
|