Monday, August 06, 2012

Scientific Linux: Installing WINE via RPM


And here is another one... Installing WINE without using a third party repository, just like I did with VLC, mostly to -hopefully- avoid conflicts with dependencies on the long run...
This is on a Scientific Linux 32 bits with all the updates installed as of today.

First get the RPM package:
wget http://pkgs.repoforge.org/wine/wine-1.2.3-1.el6.rf.i686.rpm
And then test the RPM install to see how the thing goes:
> sudo rpm --test -ivh wine-1.2.3-1.el6.rf.i686.rpm 
[sudo] password for XXXXXXX: 
warning: wine-1.2.3-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: Failed dependencies:
 wine-capi = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-cms = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-core = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-esd = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-gecko = 1.0.0 is needed by wine-1.2.3-1.el6.rf.i686
 wine-jack = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-ldap = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-nas = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
 wine-twain = 1.2.3-1.el6.rf is needed by wine-1.2.3-1.el6.rf.i686
Things don't look so bleak as they did on the VLC install... So let's just start downloading some stuff... Get all of the packages onto the same directory on your box.
wget http://pkgs.repoforge.org/wine/wine-capi-1.2.3-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/wine/wine-cms-1.2.3-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/wine/wine-core-1.2.3-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/wine/wine-esd-1.2.3-1.el6.rf.i686.rpm
wget ftp://rpmfind.net/linux/dag/redhat/el6/en/i386/dag/RPMS/wine-gecko-1.0.0-1.nodist.rf.i386.rpm
wget http://pkgs.repoforge.org/wine/wine-ldap-1.2.3-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/wine/wine-jack-1.2.3-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/wine/wine-nas-1.2.3-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/wine/wine-twain-1.2.3-1.el6.rf.i686.rpm
And then, once you are on the directory, give it another go...
> sudo rpm --test -ivh *rpm
[sudo] password for XXXXXXX: 
warning: wine-1.2.3-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: Failed dependencies:
 /usr/bin/xmessage is needed by wine-core-1.2.3-1.el6.rf.i686
 libmpg123.so.0 is needed by wine-core-1.2.3-1.el6.rf.i686
 libesd.so.0 is needed by wine-esd-1.2.3-1.el6.rf.i686
This time, some of the packages are available on the repositories, pretty easy to install:
> sudo yum install xmessage
> sudo yum install esound-libs
You know how it goes... Another test:
> sudo rpm --test -ivh *.rpm
warning: wine-1.2.3-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: Failed dependencies:
 libmpg123.so.0 is needed by wine-core-1.2.3-1.el6.rf.i686
Get the last package using the hard wget way:
wget http://pkgs.repoforge.org/mpg123/mpg123-1.14.2-1.el6.rf.i686.rpm
Install it, and then, finally, test the WINE install:
> sudo rpm -ivh mpg123-1.14.2-1.el6.rf.i686.rpm
> sudo rpm --test -ivh wine-*.rpm
warning: wine-1.2.3-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
Goes Ok, so here it goes the final bit:
> sudo rpm -ivh wine-*.rpm
warning: wine-1.2.3-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:wine-core              ########################################### [ 10%]
   2:wine-gecko             ########################################### [ 20%]
   3:wine-capi              ########################################### [ 30%]
   4:wine-cms               ########################################### [ 40%]
   5:wine-esd               ########################################### [ 50%]
   6:wine-jack              ########################################### [ 60%]
   7:wine-ldap              ########################################### [ 70%]
   8:wine-nas               ########################################### [ 80%]
   9:wine-twain             ########################################### [ 90%]
  10:wine                   ########################################### [100%]

Labels: , , ,

0 Comments:

Post a Comment

<< Home