CentOS7下安装Wine

时间:2025-04-27 08:30:12
  • CentOS 7 安装 64 位 Wine
    1.1 安装 EPEL 软件源
    Wine 3 最新稳定版包含在 EPEL 软件源中,安装 Wine 3 首先需要安装 EPEL 软件源:
    sudo yum install epel-release
    1.2 CentOS 7 安装 64 位 Wine 3.0
    安装 EPEL 软件源后,直接使用如下命令安装 64 位 Wine 3 最新稳定版:
    sudo yum -y install wine
  • CentOS 7 安装 32 位 Wine
    32 位 Wine 依赖于 EPEL 软件源中 64 位 Wine,所以首先按如上安装 EPEL 软件源。
    2.1 安装 CentOS/RHEL 7 32 位 Wine 软件源:
    sudo yum -y install /wine32/7/i386/
    2.2 CentOS 7 安装 32 位 Wine
    sudo yum -y install wine.i686
  • Wine 3 安装启动 Windows 程序
    Wine 3 安装完成后,你可以右击 Windows exe 文件,然后选择“用‘Wine Windows Program Loader’打开”,来安装程序。
    程序安装完成后,在桌面上有 Windows 程序的快捷方式,双击程序的快捷启动程序。
  • Wine 3 卸载 Windows 程序
    CentOS 7 安装 Wine 3 后,如需卸载应用程序,进入菜单“应用程序–>Wine”,点击菜单项“Wine Software Uninstaller”卸载 Windows 应用程序。