wine is in lmde with UP5work in progress - i need your input for completeness
if we see the amount of topics in the forum regarding this app we realize how important it is.
- if you are in 32bit simply skip all this topic and
Code: Select all
apt install wine
1- installing from the default repos (wine 1.4.1 at the time of writing)
the wine package in the debian repo (64bit) is just a helper package with the necessary information to enable multiarch
basically (putting it simple) this means that you have to enable 32bit and 64bit in one system; and wine is 32bit, so after that change when you go to actually install wine you have to install a lot of 32bit pkgs into your 64bit system;
how-to
the process itself is fairly simple:
Code: Select all
sudo dpkg --add-architecture i386
Code: Select all
sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
Code: Select all
sudo apt-get update
Code: Select all
zerozero@wine ~ $ dpkg --print-foreign-architectures
i386
Code: Select all
zerozero@wine ~ $ sudo apt-get install wine-bin:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcc-4.7-base:i386 libasound2:i386 libc6:i386 libc6-i686:i386
libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386
libexpat1:i386 libffi5:i386 libfreetype6:i386 libgcc1:i386
libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
libglu1-mesa:i386 libgpm2:i386 libgsm1:i386 libice6:i386 libjpeg8:i386
liblzma5:i386 libmpg123-0:i386 libncurses5:i386 libpciaccess0:i386
libpng12-0:i386 libsm6:i386 libssl1.0.0:i386 libstdc++6:i386 libtinfo5:i386
libuuid1:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386
libwine-gecko-1.4 libwine-gl:i386 libx11-6:i386 libx11-xcb1:i386
libxau6:i386 libxcb-glx0:i386 libxcb1:i386 libxcomposite1:i386
libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386
libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxrandr2:i386
libxrender1:i386 libxxf86vm1:i386 zlib1g:i386
Suggested packages:
libasound2-plugins:i386 glibc-doc:i386 locales:i386 libglide3:i386 gpm:i386
wine-doc:i386 libwine-cms:i386 libwine-sane:i386 libwine-ldap:i386
libwine-print:i386 libwine-openal:i386 libwine-gphoto2:i386
Recommended packages:
ttf-liberation:i386 xml-core:i386
The following packages will be REMOVED:
wine64-bin
The following NEW packages will be installed:
gcc-4.7-base:i386 libasound2:i386 libc6:i386 libc6-i686:i386
libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386
libexpat1:i386 libffi5:i386 libfreetype6:i386 libgcc1:i386
libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
libglu1-mesa:i386 libgpm2:i386 libgsm1:i386 libice6:i386 libjpeg8:i386
liblzma5:i386 libmpg123-0:i386 libncurses5:i386 libpciaccess0:i386
libpng12-0:i386 libsm6:i386 libssl1.0.0:i386 libstdc++6:i386 libtinfo5:i386
libuuid1:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386
libwine-gecko-1.4 libwine-gl:i386 libx11-6:i386 libx11-xcb1:i386
libxau6:i386 libxcb-glx0:i386 libxcb1:i386 libxcomposite1:i386
libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386
libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxrandr2:i386
libxrender1:i386 libxxf86vm1:i386 wine-bin:i386 zlib1g:i386
0 upgraded, 54 newly installed, 1 to remove and 0 not upgraded.
Need to get 100 MB of archives.
After this operation, 258 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
2- installing from the mepis repos (wine 1.5.12 at the time of writing)
a)- mepis wine is not multiarch, it depends on ia32-libs (see sobrus post bellow
b)- as with all the non-standard repos we need extra care adding the mepis community repository (see the warnings http://www.mepis.org/docs/en/index.php? ... Repository)
ok, let's start
1- add the relevant repos to your sources.list:
Code: Select all
##mepis wine
deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr test
deb http://restricted.mepis-deb.org/mepiscr/testrepo/ mepis11cr test-restricted
2-a) make sure the system is fully updated (as in apt dist-upgrade) before adding the repo
2-b) modify the preferences file so it looks like this
Code: Select all
Package: *
Pin: release o=linuxmint
Pin-Priority: 700
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700
Package: *
Pin: release o=Debian
Pin-Priority: 500
Package: wine*
Pin: release a=mepis
Pin-Priority: 500
Package: *
Pin: release a=mepis
Pin-Priority: -100
2-c) apt update && apt dist-upgrade has to output exactly the same as before these changes (if it doesn't we have a problem somewhere)
Code: Select all
zerozero@wine ~ $ apt dist-upgrade
[sudo] password for zerozero:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
zerozero@wine ~ $ apt policy wine
wine:
Installed: (none)
Candidate: 1.5.12-0mcr110+1
Package pin: 1.5.12-0mcr110+1
Version table:
1.5.12-0mcr110+1 500
-100 http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr/test amd64 Packages
1.4.1-1 500
500 http://mirror.rts-informatique.fr/linuxmint/debian/incoming/ testing/main amd64 Packages
2-e) now the getting part
Code: Select all
zerozero@wine ~ $ sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cups-bsd docbook-xsl fonts-horai-umefont fonts-unfonts-core ia32-libs
kate-data katepart kde-runtime kde-runtime-data kdebase-runtime kdelibs-bin
kdelibs5-data kdelibs5-plugins kdoctools lib32asound2 lib32bz2-1.0 lib32gcc1
lib32ncurses5 lib32nss-mdns lib32stdc++6 lib32tinfo5 lib32v4l-0 lib32z1
libattica0 libc6-i386 libclucene0ldbl libdbusmenu-qt2 libdlrestrictions1
libiodbc2 libkatepartinterfaces4 libkcmutils4 libkde3support4
libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
libkparts4 libkpty4 libkrosscore4 libktexteditor4 libmysqlclient18
libnepomuk4 libnepomukquery4a libnepomukutils4 libnss-winbind
libntrack-qt4-1 libntrack0 libosmesa6 libpam-winbind libphonon4 libplasma3
libpolkit-qt-1-1 libqca2 libqt4-dbus libqt4-declarative libqt4-designer
libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql
libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtwebkit4
libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
libthreadweaver4 libutempter0 libvirtodbc0 mysql-common
ntrack-module-libnl-0 oxygen-icon-theme phonon phonon-backend-vlc
plasma-scriptengine-javascript qdbus shared-desktop-ontologies
soprano-daemon ttf-mscorefonts-installer ttf-umefont ttf-unfonts-core
virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
winbind wine-gecko1.7 winetricks
Suggested packages:
docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
docbook-xsl-doc libsaxon-java libxslthl-java docbook-xsl-saxon fop xalan
dbtoepub ia32-libs-gtk djvulibre-bin icoutils finger avahi-autoipd zeroconf
hspell libqca2-plugin-cyrus-sasl libqca2-plugin-gnupg libqca2-plugin-ossl
libqt4-declarative-folderlistmodel libqt4-declarative-gestures
libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer
libqt4-dev phonon-backend-gstreamer phonon-backend-mplayer
Recommended packages:
ttf-symbol-replacement-wine
The following NEW packages will be installed:
cups-bsd docbook-xsl fonts-horai-umefont fonts-unfonts-core ia32-libs
kate-data katepart kde-runtime kde-runtime-data kdebase-runtime kdelibs-bin
kdelibs5-data kdelibs5-plugins kdoctools lib32asound2 lib32bz2-1.0 lib32gcc1
lib32ncurses5 lib32nss-mdns lib32stdc++6 lib32tinfo5 lib32v4l-0 lib32z1
libattica0 libc6-i386 libclucene0ldbl libdbusmenu-qt2 libdlrestrictions1
libiodbc2 libkatepartinterfaces4 libkcmutils4 libkde3support4
libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
libkparts4 libkpty4 libkrosscore4 libktexteditor4 libmysqlclient18
libnepomuk4 libnepomukquery4a libnepomukutils4 libnss-winbind
libntrack-qt4-1 libntrack0 libosmesa6 libpam-winbind libphonon4 libplasma3
libpolkit-qt-1-1 libqca2 libqt4-dbus libqt4-declarative libqt4-designer
libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql
libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtwebkit4
libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
libthreadweaver4 libutempter0 libvirtodbc0 mysql-common
ntrack-module-libnl-0 oxygen-icon-theme phonon phonon-backend-vlc
plasma-scriptengine-javascript qdbus shared-desktop-ontologies
soprano-daemon ttf-mscorefonts-installer ttf-umefont ttf-unfonts-core
virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
winbind wine wine-gecko1.7 winetricks
0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded.
Need to get 190 MB of archives.
After this operation, 576 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Code: Select all
Recommends: gnome-exe-thumbnailer but it is not installable or
kdebase-runtime but it is not going to be installed or
kde-runtime but it is not going to be installed
Code: Select all
0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded.
Need to get 190 MB of archives.
After this operation, 576 MB of additional disk space will be used.
Code: Select all
dpkg: error processing /var/cache/apt/archives/winetricks_svn20110324-0mcr_all.deb (--unpack):
parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'winetricks':
error in Version string 'svn20110324-0mcr': version number does not start with digit
Code: Select all
sudo dpkg --clear-avail
Code: Select all
Errors were encountered while processing:
/var/cache/apt/archives/winetricks_svn20110324-0mcr_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
zerozero@wine ~ $ sudo apt-get install wine
[sudo] password for zerozero:
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
104 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
3- compiling 32bit wine in lmde 64bit
user andrez posted here an howto
------------------------------------------------------------------------------------------------------------------------------------------------------
as additional info i leave here for now
http://forums.linuxmint.com/viewtopic.p ... 41#p601063
http://forums.linuxmint.com/viewtopic.p ... 63#p601641
http://forums.linuxmint.com/viewtopic.p ... 10#p619560
important (final for now) notes:
- i'm not a wine user, so i appreciate all the help (and with all the info possible);
- surely there's others (alternative) ways to get wine; please share your experiencies;