----------
Hi all,
I'm probably one more guy asking about it, but it seems crazy how hard it is for linux users to be able to read ebooks they purchased. After days of fiddling, my ebook is now worth a couple a bucks more.
I've seen very numerous forum posts about it, on askubuntu and co. After what I have read and tried, I'm about to give up, so this is a last attempt, thanks for your help.
In short, I tried 3 setups for Adobe Digital Editions 2.0:
- WineHQ-stable -> The install completes, but ADE crashes.
- WineHQ-devel -> but can't reach network. Probably related, ping does not work.
- WineHQ-staging -> install crashes (some memory error).
Code: Select all
## 0. Setup Wine (xUbuntu18.04)
# 0.1. Add the FAaudio dependency:
# 0.2. WineHQ from PPA:
# Install the PPA key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt update
sudo apt install winehq-devel wine32-development-preloader winetricks
Code: Select all
## 1. Create the wine environment
# WINEARCH=win32 is necessary for .NET 3.5 and ADE 2.0
WINEARCH=win32 WINEPREFIX=$HOME/.wine32_dotnet35 winecfg
# install wine-mono: Cancel (We want .NET from microsoft TM)
# install wine-gecko: Ok
Code: Select all
~/.cache/wine
Code: Select all
## 2. windowscodecs is listed in some places as required
WINEPREFIX=$HOME/.wine32_dotnet35 winetricks windowscodecs
# --> this will fail, but you can finish it:
# Open the .exe with the archive manager:
engrampa ~/.cache/winetricks/windowscodecs/wic_x86_enu.exe
# Extract windowscodecs.dll and windowscodecsext.dll to: ~/.wine32_dotnet35/drive_c/windows/system32/
# But then wine logs output: 000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
Code: Select all
## 3. Install .NET framework 3.5 Service Pack 1
WINEPREFIX=$HOME/.wine32_dotnet35 winetricks dotnet35sp1
# -> Fails on 64 bits installation!
# -> Will also install (automatically):
# .NET 2.0, .NET 2.0 SP1, .NET 2.0 SP2,
# XPS essentials pack,
# .NET 3.0, .NET 3.0 SP1,
# .NET 3.5
## Install Adobe Digital Editions
# Preferably version 2.0
WINEPREFIX=$HOME/.wine32_dotnet35 wine ~/Downloads/ADE_2.0_Installer.exe
So here start the rabbit holes: I thought I would check connectivity using ping:
Code: Select all
WINEPREFIX=$HOME/.wine32_dotnet35 wine cmd
Code: Select all
sudo setcap cap_net_raw+epi /opt/wine-devel/bin/wine-preloader
But now I fail even worse because wine cmd won't even start (Pb. #2):
Code: Select all
/opt/wine-devel/bin/wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
Code: Select all
apt-file search libwine.so.1
#libwine: /usr/lib/x86_64-linux-gnu/wine/libwine.so.1
#libwine: /usr/lib/x86_64-linux-gnu/wine/libwine.so.1.0
#libwine-development: /usr/lib/x86_64-linux-gnu/wine-development/libwine.so.1
#libwine-development: /usr/lib/x86_64-linux-gnu/wine-development/libwine.so.1.0
In summary, if you could help me solve these 3 problems, I would be very grateful:
1. Telling me where to get this libwine, or which preloader to authorize, so that ping works;
2. Or telling me how to get network connectivity from ADE2;
3. Optionally telling me if windowscodecs is required, and how to install it properly.
I tried those steps for WineHQ-stable and -staging as well, after changing my install:
Code: Select all
sudo apt purge winehq-devel # this uninstalls winetricks
sudo apt install winehq-staging winetricks
Thanks a lot!!