从命令行安装了葡萄酒,但是当我试图检查版本时,它说命令“葡萄酒”没有找到。接下来我该怎么办?
xx@xx-xx:~$ sudo apt install wine-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine-stable is already the newest version (6.0.2~bionic-1). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
xx@xx-xx:~$ wine --version
Command 'wine' not found, but can be installed with:
sudo apt install wine-development
sudo apt install wine-stable
xx@xx-xx:~$ winecfg
winecfg: command not found
发布于 2021-11-12 05:35:36
这看起来像是没有安装葡萄酒,或者没有设置为路径。
它可以像这样修理
#1卸载葡萄酒
稳定版本:sudo apt-get remove wine-stable
开发版本:sudo apt-get remove wine-development
对于ubuntu 18.04,您需要设置
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' then run "sudo apt update"
#2然后ReInstall它
对于稳定版本:
sudo apt-get install winehq-stable
关于发展的版本:
sudo apt-get install winehq-devel
别忘了做稳酒到稳酒。现在酒是葡萄酒了。
https://askubuntu.com/questions/1375032
复制相似问题