Hi All,
Anyone know of a repo or similar way to install Wine32
on EL7? Any simple or semi-simple work arounds?
-T
Wine32 on EL7 yet?
-
- Posts: 400
- Joined: 2007/02/20 04:27:08
- Location: Milky Way/Sol/Earth/USA/Nevada GMT-8
- bluegroper
- Posts: 266
- Joined: 2005/09/07 23:04:21
- Location: .au
-
- Posts: 400
- Joined: 2007/02/20 04:27:08
- Location: Milky Way/Sol/Earth/USA/Nevada GMT-8
Re: Wine32 on EL7 yet?
If you want to build an RPM, you can check out my post over here. It is not real current though:
http://scientificlinuxforum.org/index.p ... f=6&t=3170
Lately, I just compile the tar ball directly. The trick is "./configure --disable-win64"
Wine Staging (full tar ball):
https://github.com/wine-compholio/wine-patched/releases
updatewinestaging.sh
http://scientificlinuxforum.org/index.p ... f=6&t=3170
Lately, I just compile the tar ball directly. The trick is "./configure --disable-win64"
Wine Staging (full tar ball):
https://github.com/wine-compholio/wine-patched/releases
updatewinestaging.sh
Code: Select all
#!/bin/bash
IAm="${0##*/}"
Pause () {
echo ""
read -n 1 -s -p "Press any key to continue..."
echo ""
}
RunCmd () {
echo "$1"
eval "$1"
}
if [ -z "$1" ]; then
echo ""
echo "Error: the first paramemter is missing"
echo " usage: ${IAm} tarball"
echo " where tarbal is a Wine Staging gz tar ball"
echo ""
echo " example: ${IAm} wine-patched-staging-1.9.15.tar.gz"
echo ""
echo " Notes: please do not use on beta versions"
echo " this only will work correctly on the 32 bit version"
echo ""
exit 1
elif [ -z "$(echo $1 | grep -i ".tar.gz")" ]; then
echo ""
echo "Error: the first paramemter is not a tar.gz tarball"
echo ""
exit 1
elif [ -z "$(echo $1 | grep -i -E "wine-patched-stagin")" ]; then
echo ""
echo "Error: the first paramemter is Wine Staging gz tarball"
echo ""
exit 1
elif [ ! -f $1 ]; then
echo ""
echo "Error: unable to locate tarball <$1>"
echo ""
exit 1
fi
if [ -z "$(/usr/bin/whoami | grep root)" ]; then
echo ""
# ErrorSound
echo 'Dude! You must be root to do this.'
echo "Try"
echo " su root -c \"${IAm} $1\""
echo 'Exiting. Bummer ...'
echo ""
Pause
exit 1
fi
NewRev="$(echo $1 | awk -F "-" '{print $2}' | awk -F ".tar.gz" '{print $1'})"
NewPath="$(echo $1 | awk -F ".tar.gz" '{print $1'})"
echo ""
echo "New Rev: $NewRev"
echo "New Path: $NewPath"
if [ -d $NewPath ]; then
echo ""
echo "Error: new directory already exists <$NewPath>"
echo ""
exit 1
fi
echo ""; echo ""
RunCmd "tar xzvf $1 > /dev/nul"
RunCmd "cd $NewPath"
RunCmd "./configure --disable-win64"
RunCmd "make depend;"
RunCmd "make"
RunCmd "make install"
RunCmd "cd .."
RunCmd "rm -rf $NewPath"
echo ""
RunCmd "wine --version"
echo ""