LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wine 1.2 upgrade? (http://www.linuxquestions.org/questions/linux-newbie-8/wine-1-2-upgrade-821379/)

qwertyjjj 07-21-2010 09:29 PM

wine 1.2 upgrade?
 
I was asked to upgrade to wine 1.2 but it doesn't seem to be in the cetos/epel repos, they only have 1.0.1 versions.

ANy ideas on where I can get this from?

Also, do I need to copy the old .wine folder and copy it back after or do I need to rinatll Windows software from it after the upgrade?

foodown 07-22-2010 12:17 AM

You can download the latest sources from http://www.winehq.org

Uninstall your existing packages (RPMs?) and build the new copy from source. It takes a while, so bring a magazine or something . . . hehe

After the new binaries are installed, they will automatically update your .wine folders on the first run. There's no need to mess with your .wine folders.

The download is called wine-1.2.tar.bz2 . . . move it into /usr/src

Then, execute the following commands as root:
Code:

tar xvjf wine-1.2.tar.bz2
rm wine-1.2.tar.bz2
cd wine-1.2
./configure
make
make install


qwertyjjj 07-22-2010 05:01 AM

Doesn't yum uninstall wine remove the folders and therefore the installed windows software?
Also, I have the source oage here but there are at least 10 or more 1.2 versions?
http://sourceforge.net/projects/wine/files/Source/

configure: error: Your flex version is too old. Please install flex version 2.5.33 or newer.
[root wine-1.2]# yum update flex
Loaded plugins: fastestmirror
Repository dag is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: mirrors.manchester.icecolo.com
* base: mirrors.manchester.icecolo.com
* centosplus: mirrors.manchester.icecolo.com
* epel: mirror01.th.ifl.net
* extras: mirrors.manchester.icecolo.com
* rpmforge: ftp-stud.fht-esslingen.de
* updates: mirrors.manchester.icecolo.com
Excluding Packages in global exclude list
Finished
Setting up Update Process
No Packages marked for Update
[root wine-1.2]# flex --version
flex version 2.5.4
[root wine-1.2]#

MTK358 07-22-2010 07:28 AM

You can back up your ~/.wine/drive_c (or is it c_drive?) directory if you're worried about losing your Windows programs.

foodown 07-22-2010 08:23 PM

Quote:

Originally Posted by qwertyjjj (Post 4041631)
Doesn't yum uninstall wine remove the folders and therefore the installed windows software?

I am not sure . . . this would seem to be a very undesirable functionality if so. Nonetheless, if you are worries, just do this:
Code:

cd ~;mv .wine .wine-backup
Then, do your uninstall, and then just . . .
Code:

cd ~;mv .wine-backup .wine
Quote:

Also, I have the source oage here but there are at least 10 or more 1.2 versions?
http://sourceforge.net/projects/wine/files/Source/
Here's the correct link:
http://prdownloads.sourceforge.net/w...ne-1.2.tar.bz2

Quote:

configure: error: Your flex version is too old. Please install flex version 2.5.33 or newer.

. . .

[root wine-1.2]# flex --version
flex version 2.5.4
[root wine-1.2]#
Are you on a 32 or 64 bit distribution . . . the libraries it is looking for are your 32-bit compatibility versions if your're running 64-bit.


All times are GMT -5. The time now is 05:20 AM.