ubuntu下安装wine
首先,在终端下输入:wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
将apt key导入。
For Ubuntu Jaunty (9.04) 执行以下命令:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Intrepid (8.10) 执行以下命令:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Hardy (8.04)  执行以下命令:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
 

接下来更新源:sudo apt-get update
然后安装wine: sudo apt-get install wine
 

安装wine后执行一下语句,让wine的启动中文时的速度加快:
sudo sed -i -e '/GBK/,/^}/d' /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE
 
 
最近发布的Ubuntu9.10 可按照Ubuntu9.04的方法安装即可。