ubuntu16安装wine

安装步骤如下

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
sudo apt-get install winetricks
winetricks

然后看一下wine的版本,

​wine --version

这时候报错,报错如下

解决方法如下,

sudo gedit ~/.bashrc
# 把下面这行注释掉
# export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4
# 输入下面内容
unset LD_PRELOAD
source ~/.bashrc

 

posted @ 2020-08-03 16:29  cumtchw  阅读(299)  评论(0编辑  收藏  举报