文档章节

centos7安装wine1.8

云淡V
 云淡V
发布于 2016/01/20 15:56
字数 458
阅读 172
收藏 1

Installing Wine 1.8 Using Source Code

Step 1: Installing Dependency Packages

We need to install ‘Development Tools‘ with some core development tools such gccflexbison,debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.

# yum -y groupinstall 'Development Tools'
# yum -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison

Note: On Fedora 22+ versions, yum package manager no longer in use, you should use dnf instead yum in the command below.

# dnf -y groupinstall 'Development Tools'
# dnf -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison

Read more about Learn dnf command with these 27 examples.

Step 2: Downloading Wine 1.8

Download the source file using Wget command under /tmp directory as a normal User.

$ cd /tmp
$ wget http://dl.winehq.org/wine/source/1.8/wine-1.8.tar.bz2

Step 3: Extracting Wine 1.8

Once the file is downloaded under /tmp directory, use the below commands to extract it.

$ tar -xvf wine-1.8.tar.bz2 -C /tmp/

Step 4: Installing Wine 1.8

It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user.

Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter rootpassword.

$ cd wine-1.8/
$ ./tools/wineinstall

Install Wine Using EPEL Repository

Note: If you don’t want to mess with these all source code compilation and installation, there is an easy way using epel repository, but the available version of wine bit older.

Let’s first install and enable EPEL repository to install wine as shown:

# yum install epel-release
# yum install wine

Once the installation completes run the “winecfg” configuration tool from KDE or GNOME desktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.

# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"

# yum groupinstall "GNOME Desktop"        [On CentOS 7]

# yum groupinstall "Server with GUI"      [On RHEL 7]

Once the X Window System installed, run the command as normal user to see wine configuration.

$ winecfg

Winecfg Configuration

Winecfg Configuration

Step 5: Running Wine 1.8

To run the Wine, you must specify the full path to the executable program or program name as shown in example below.

--------- On 32-bit Systems ---------
$ wine notepad
$ wine c:\\windows\\notepad.exe
--------- On 64-bit Systems ---------
$ wine64 notepad
$ wine64 c:\\windows\\notepad.exe

Wine Running Windows Programs on Linux

Wine Running Windows Programs on Linux

Wine is not perfect, because while using wine we see so many programs crashes. I think wine team will soon fix all bugs in their upcoming version and meanwhile do share your comments using our below form.


© 著作权归作者所有

云淡V
粉丝 6
博文 62
码字总数 16819
作品 0
南通
程序员
私信 提问
搭建基于http的本地yum源服务器

概述 yum相较于rpm,能够更好地解决安装软件时的依赖包问题,使用yum安装更简单更方便。搭建本地YUM源服务器,可以避免升级安装软件时占用公网带宽;有了本地YUM源服务器,可以解决无法连接I...

Zero零_度
2016/09/29
31
0
CentOS7环境部署kubenetes1.12版本五部曲之五:安装kubectl

版权声明:欢迎转载,请注明出处,谢谢。 https://blog.csdn.net/boling_cavalry/article/details/83717786 本文是《CentOS7环境部署kubenetes1.12版本五部曲》系列的终篇,前面章节我们已搭...

博陵精骑
2018/11/04
0
0
centos7安装图形化界面

centOS7下安装GUI图形界面 1、如何在centOS7下安装GUI图形界面 当你安装centOS7服务器版本的时候,系统默认是不会安装GUI的图形界面程序,这个需要手动安装CentOS7 Gnome GUI包。 2、在系统下...

KMT1994
2017/10/18
0
0
Docker实践(一):安装

前提 系统:我这边都使用虚拟机安装的CentOS7,具体安装可以参考:Windows安装Linux虚拟机(CentOS7) yum:推荐更新下yum:yum update;我们这边CentOS7自带docker,如果没有安装docker可以用y...

u010246789
2016/12/31
0
0
CentOS7学习笔记

写在前面:本笔记根据学习CentOS7中遇到的问题整理,以便日后学习参考。 1.安装CentOS7 1.1.下载地址 完整安装 最小安装 1.2.安装步骤 参考网页: U盘安装CentOS 7.0图文详解教程 用 CentOS...

fortyone41
2016/10/31
0
0

没有更多内容

加载失败,请刷新页面

加载更多

springboot配置百度UEditor 富文本详解

富文本简介 UEditor是由百度web前端研发部开发所见即所得富文本web编辑器,具有轻量,可定制,注重用户体验等特点,开源基于MIT协议,允许自由使用和修改代码... 准备工作 ueditor需要单独文...

wotrd
昨天
0
0
mysql 5.7之my.cnf配置大全

[client]port = 3306socket = /tmp/mysql.sock[mysqld]###############################基础设置######################################Mysql服务的唯一编号 每个mysql服务...

Online_Reus
昨天
2
0
MAVEN打包时引入外部链接的包

1.项目引入了ORACLE的jar包,MAVEN配置如下 2.打jar包的时候需要指定下main入口函数mainClass <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> ......

Cobbage
昨天
1
0
rror: Default interface methods are only supported starting with Android N (--min-api 24): java.io.

项目运行的时候,如果报错 Error: Default interface methods are only supported starting with Android N (--min-api 24): java.io.InputStream org.apache.poi.sl.usermodel.ObjectShape.......

chenhongjiang
昨天
2
0
聊聊spring cloud openfeign的Targeter

序 本文主要研究一下spring cloud openfeign的Targeter Targeter spring-cloud-openfeign-core-2.2.0.M1-sources.jar!/org/springframework/cloud/openfeign/Targeter.java interface Targe......

go4it
昨天
2
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部