e股脑电脑教程网
  • 首 页
  • 操作系统
  • 应用软件
  • 下载工具
  • 影音视频
  • 办公软件
  • 媒体制作
  • 网站建设
  • 平面设计
  • 数据库
  • 程序开发
  • 视频教程
编辑推荐: | 文章搜索:
您现在的位置: e股脑 >> 操作系统 >> Linux教程 >> WINE安装教程 >> 教程正文
 
教程搜索
 
 
相关教程
  • WINE安装教程
  • 如何远程安装Linux操作系
  • 图解红旗Linux 4.0桌面系
  • Linux操作系统网络应用解
  • 怎样在UNIX系统下安装MyS
  • 中软linux券商管理办公系
  • 中软Linux办公自动化系统
  • 中软Linux指纹仪识别系统
  • 中软linux流媒体服务解决
  • RedHat7.2简明汉化(整理版
  • Linux服务器安全点滴
  • 服务器伪装信息修改法
  • 如何配置FTP服务器
  • 在Linux下安装Oracle Dat
  • 让 Linux/Windows 联合体
  • Linux操作系统网卡安装指
 
 
赞 助 商
 
 
WINE安装教程
  • 来源:e股脑
  • 点击次数:
  • 更新时间:2007-8-9

因为我们学校的校园网是通过在本机运行一个客户端来上网的,所以我在linux下上网必须使这个软件能够运行,才能上咱linuxsir,于是我就想着怎么来安装一个最新版的wine来让它支持汉字。

下面是我的安装步骤:

安装前的准备

把原先的wine卸载掉,redhat 7.3有wine和wine-devel两个文件,先卸载掉第二个,然后再卸载第一个,如果你更好的想玩游戏,把OPENGL也升级一下,freetype不用升级了,redhat 7.3自带的就可以满足汉字的支持了。

把你的C盘挂接在linux下,建立目录来挂接

c盘

mkdir /winc

挂接C盘

mount /dev/hda1 /winc

下载wine的最新版到/wind,http://www.winehq.com上边有它的最新版wine-20020804.tar.gz。

以普通用户登录linux,把wine-20020804.tar.gz拷贝到/tmp目录下,进入/tmp目录。

shell〉cd /tmp

解压wine

shell〉tar vfzx wine-20020804.tar.gz

进入解压后的目录

shell〉cd wine-20020804

用wine的安装工具进行安装

shell〉./tools/wineinstall

然后就是漫长的等待。

在安装过程中它要你回答yes/no,你选择yes就可以了。wine自动搜索windows的目录的,等你你编译完了,它要让你输入root的密码进入安装,这是就快安装完了,如果安装成功,就会有good lucky的提示。

在shell下运行wine,第一次运行不成功,这是正常,因为没有在/root/.wine/config文件里配置好.找到这些吧。

[Drive C]

"Path" = "/usr/share/win_c"

"Type" = "hd"

"Label" = "MS-DOS"

"Filesystem" = "win95"

改为:[Drive C]

"Path" = "/winc"

"Type" = "hd"

"Label" = "MS-DOS"

"Filesystem" = "win95"

就可以了,如果你安装了simsun字体.wine默认就会找到这个字体的,下边就是我的/root/.wine/config。

WINE REGISTRY Version 2

;; All keys relative to MachineSoftwareWineWineConfig

;;

;; MS-DOS drives configuration

;;

;; Each section has the following format:

;; [Drive X]

;; "Path"="xxx" (Unix path for drive root)


;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')

;; "Label"="xxx" (drive label, at most 11 characters)

;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)

;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')

;; This is the FS Wine is supposed to emulate on a certain

;; directory structure.

;; Recommended:

;; - "win95" for ext2fs, VFAT and FAT32

;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)

;; DON'T use "unix" unless you intend to port programs using Winelib !

;; "Device"="/dev/xx" (only if you want to allow raw device access)

;;

[Drive A]

"Path" = "/mnt/floppy"

"Type" = "floppy"

"Label" = "Floppy"

"Serial" = "87654321"

"Device" = "/dev/fd0"

[Drive C]

"Path" = "/winc"

"Type" = "hd"

"Label" = "MS-DOS"

"Filesystem" = "win95"

[Drive D]

"Path" = "/mnt/cdrom"

"Type" = "cdrom"

"Label" = "CD-Rom"

"Filesystem" = "win95"

; make sure that device is correct and has proper permissions !

"Device" = "/dev/cdrom"

[Drive E]

"Path" = "/tmp"

"Type" = "hd"

"Label" = "Tmp Drive"

"Filesystem" = "win95"

[Drive F]

"Path" = "${HOME}"

"Type" = "network"

"Label" = "Home"

"Filesystem" = "win95"


[Drive Z]

"Path" = "/"

"Type" = "network"

"Label" = "Root"

"Filesystem" = "win95"

[wine]

"Windows" = "c:windows"

"System" = "c:windowssystem"

"Temp" = "e:"

"Path" = "c:windows;c:windowssystem;e:;e: est;f:"

"Profile" = "c:windowsProfilesAdministrator"

"GraphicsDriver" = "x11drv"

; Wine doesn't pass directory symlinks to Windows programs by default.

; Enabling this may crash some programs that do recursive lookups of a whole

; subdir tree in case of a symlink pointing back to itself.

;"ShowDirSymlinks" = "1"

"ShellLinker" = "wineshelllink"

# 〈wineconf〉

[DllDefaults]

; "EXTRA_LD_LIBRARY_PATH" = "${HOME}/wine/cvs/lib"

"DefaultLoadOrder" = "native, builtin, so"

[DllOverrides]

"commdlg" = "builtin, native"

"comdlg32" = "builtin, native"

"ver" = "builtin, native"

"version" = "builtin, native"

"shell" = "builtin, native"

"shell32" = "builtin, native"

"lzexpand" = "builtin, native"

"lz32" = "builtin, native"

"comctl32" = "builtin, native"

"commctrl" = "builtin, native"

"wsock32" = "builtin"

"winsock" = "builtin"

"advapi32" = "builtin, native"

"crtdll" = "builtin, native"

"mpr" = "builtin, native"

"winspool.drv

[1] [2] 下一页

  • 上一篇教程: 如何远程安装Linux操作系统
  • 下一篇教程: 没有了
  •  

    关于本站 | 广告联系 | 版权声明 | 使用帮助

    Copyright © 2004-2008 www.egunao.com All rights reserved.