我用的是wine0.9.47,下载wine-0.9.47.tar.zip
用wineinstall安装:用普通用户登录,解压wine-0.9.10.tar.zip,解压后的目录就是原码安装包,进入该目录。运行:./tools/wineinstall按提示回答就可以了。

即:1。    su yhcgh (以普通用户yhcgh运行)
2.。   unzip wine-0.9.47.tar.zip -d /home/yhcgh/wine/(解压目录)
 3。    cd \home\yhcgh\wine
  4。   tar jxvf wine-0.9.47.tar.bz2
  5。 cd wine-0.9.47
  6。   cd tools
   7。  ./wineinstall(安装释放文件)
   8。  之后它会运行./configure,然后显示:We need to install wine as root user, do you want us to build wine,'su root' and install Wine? Enter 'no' to continue without installing(yes/no)
  yes 回车
  如果在此处出现错误,请检查此命令的输出,如果他没有找到一些需要的包,而你又希望使用那个包提供的功能时,请安装相应的 devel 包。
  如果你root用户设置了密码,还会提示你输入密码。
  待屏幕上出现:
  Installation complete for now. Good luck (this is still alpha software).
  If you have problems with WINE, please read the documentation first,
  as many kinds of potential problems are explained there.
  则表示安装成功了。
   在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" = "builtin, native"
  "ddraw" = "builtin, native"
  "dinput" = "builtin, native"
  "dsound" = "builtin, native"
  "mmsystem" = "builtin"
  "winmm" = "builtin"
  "msvcrt" = "native, builtin"
  "msvideo" = "builtin, native"
  "msvfw32" = "builtin, native"
  "mcicda.drv" = "builtin, native"
  "mciseq.drv" = "builtin, native"
  "mciwave.drv" = "builtin, native"
  "mciavi.drv" = "native, builtin"
  "mcianim.drv" = "native, builtin"
  "msacm.drv" = "builtin, native"
  "msacm" = "builtin, native"
  "msacm32" = "builtin, native"
  "midimap.drv" = "builtin, native"
  "wnaspi32" = "builtin"
  "icmp" = "builtin"
[x11drv]
  ; Number of colors to allocate from the system palette
  "AllocSystemColors" = "100"
  ; Use a private color map
  "PrivateColorMap" = "N"
  ; Favor correctness over speed in some graphics operations
  "PerfectGraphics" = "N"
  ; Color depth to use on multi-depth screens
  ;;"ScreenDepth" = "16"
  ; Name of X11 display to use
  ;;"Display" = ":0.0"
  ; Allow the window manager to manage created windows
  "Managed" = "N"
  ; Use a desktop window of 640x480 for Wine
  ;"Desktop" = "640x480"
  ; Use XFree86 DGA extension if present
  "UseDGA" = "Y"
  ; Use XShm extension if present
  "UseXShm" = "Y"
  ; Enable DirectX mouse grab
  "DXGrab" = "N"
  ; Create the desktop window with a double-buffered visual
  ; (useful to play OpenGL games)
  "DesktopDoubleBuffered" = "N"
  ; Code page used for captions in managed mode
  ; 0 means default ANSI code page (CP_ACP == 0)
  "TextCP" = "0"
  ; Use this if you have more than one port for video on your setup
  ; (Wine uses for now the first 'input p_w_picpath' it finds).
  ;; "XVideoPort" = "43"
[fonts]
  ;Read documentation/fonts before adding aliases
  "Resolution" = "96"
  "Default" = "-misc-simsun-"
[serialports]
  "Com1" = "/dev/ttyS0"
  "Com2" = "/dev/ttyS1"
  "Com3" = "/dev/ttyS2"
  "Com4" = "/dev/modem"
[parallelports]
  "Lpt1" = "/dev/lp0"
[spooler]
  "LPT1:" = "|lpr"
  ;"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
  ;"LPT3:" = "/dev/lp3"
[ports]
  ;"read" = "0x779,0x379,0x280-0x2a0"
  ; "write" = "0x779,0x379,0x280-0x2a0"
[spy]
  "Exclude" = "WM_SIZE;WM_TIMER;"
[registry]
  ;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
  ;Defaults are read all, write to Home
  ; Global registries (stored in /etc)
  "LoadGlobalRegistryFiles" = "Y"
  ; Home registries (stored in ~user/.wine/)
  "LoadHomeRegistryFiles" = "Y"
  ; Load Windows registries from the Windows directory
  "LoadWindowsRegistryFiles" = "Y"
  ; TRY to write all changes to home registries
  "WritetoHomeRegistryFiles" = "Y"
  ; Registry periodic save timeout in seconds
  ; "PeriodicSave" = "600"
  ; Save only modified keys
  "SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
  ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
  "WineLook" = "Win98"
[Console]
  ;"Drivers" = "tty"
  ;"XtermProg" = "nxterm"
  ;"InitialRows" = "25"
  ;"InitialColumns" = "80"
  ;"TerminalType" = "nxterm"
[Clipboard]
  "ClearAllSelections" = "0"
  "PersistentSelection" = "1"

  # 〈/wineconf〉

转载于:https://blog.51cto.com/feiying/46265

在fedora linux中,wine 成功安装手记相关推荐

  1. linux中wine yum安装,分享|在基于RedHat或Debian的系统上安装 Wine 1.7

    Wine,Linux上最流行也是最有力的软件, 可以顺利地在Linux平台上运行Windows程序和游戏. 这篇文章教你怎么在像CentOS, Fedora, Ubuntu, Linux Mint一样 ...

  2. Linux中Wine QQ上线 转变成离线问题的解决(什么时候才能自己修改?)(qq2012出了 那个没有这个BUG)

    Linux中Wine QQ问题的解决 因为周围朋友同事都使用QQ,联络上离不开QQ.WebQQ的聊天记录和文件传送功能有限,LinuxQQ经常显示备注出错,并且文件传送功能也很有限,无奈选用非常占资源 ...

  3. Linux中常用软件安装

    Linux中常用软件安装 0 软件安装命令 rpm命令 yum命令 1 JDK安装 2 Mysql安装 0 MySQL安装与卸载 (新增于 2021-06-06) 1 卸载 yum方式 rpm方式 2 ...

  4. linux中使用apt-get安装软件包的时候报错:E: Could not get lock /var/lib/dpkg/lock-frontend

    文章目录: 1 问题原因分析 2 问题解决方式 1 问题原因分析 在linux中使用apt-get安装哭包的时候,报错:E: Could not get lock /var/lib/dpkg/lock ...

  5. linux重启kvm服务命令,linux中kvm的安装及快照管理

    一.kvm的安装及状态查看 1.安装软件 yum -y install kvm virt-manager libvirt 2.启动libvirtd 报错,升级device-mapper-libs yu ...

  6. linux中字体的安装以及Terminal字体重叠问题解决

    linux中字体的安装以及Terminal字体重叠问题解决 参考文章: (1)linux中字体的安装以及Terminal字体重叠问题解决 (2)https://www.cnblogs.com/lxmw ...

  7. linux中源码安装node

    Linux上安装Node.js 直接使用已经编译好的包 node 官网已经把linux 下载版本更改为已经编译好的版本了,我们可以直接下载解压后使用: wget https://nodejs.org/ ...

  8. Linux中软件的安装,vim编辑器

    文章目录 Linux中软件的安装,vim编辑器 Linux中软件的安装 vim编辑器 在线安装vim编辑器 vim的使用 vim的命令 Linux中软件的安装,vim编辑器 Linux中软件的安装 L ...

  9. Linux中虚拟机的安装详细教程

    Linux中虚拟机的安装详细教程 1 linux中虚拟机的安装 1.1 kvm安装条件 1.2 KVM虚拟化安装 1.3 KVM虚拟化相关信息 1.4 手动安装虚拟机步骤 1.5 脚本安装虚拟机 2 ...

最新文章

  1. Java中关于路径和使用exe4j打包成ext可执行程序的一些小总结
  2. Python 多进程异常处理的方法,你会吗
  3. DBLINK 无统计信息导致SQL变慢
  4. #pragma once与#ifndef的区别?
  5. 【C++】Visual studio样式定制
  6. 清理buffer/cache/swap的方法梳理
  7. OpenStack的部署T版(九)——控制台部署
  8. 作者: ​李国杰,中国工程院院士。现任中国科学院计算技术所首席科学家,国家信息化专家咨询委员会信息技术与新兴产业专委会副主任。...
  9. 跨越DDD从理论到工程落地的鸿沟
  10. 计算机专业学生前端该怎么自学?
  11. xilinx sdk文本编辑器显示行数
  12. XP和win7的软件崩溃提示
  13. coreldraw怎么打印荣誉证书_教你如何打印大于A4尺寸的荣誉证书和奖状
  14. java rhino js类_Rhino -- 基于java的javascript实现
  15. oa办公系统服务器网址是什么,OA办公系统登陆地址是多少呢?
  16. 在Excel里怎么输入可以打钩的选择框?
  17. C++计算两平面之间的夹角
  18. cocos2dx腾讯实时语音sdk接入
  19. 数据集制作之xml文件转化为csv
  20. python 根据word生成ppt_python操作word、ppt的详解

热门文章

  1. HTML5文件上传插件 Huploadify V2.1发布
  2. 主机与虚拟机不能通信
  3. hibernate 之HQL查询实例
  4. View-client自动登录
  5. Linux 命令(13)—— cut 命令
  6. C++ 接口继承与实现继承的区别和选择
  7. C++利用MySQL API连接和操作数据库
  8. db2建库、建表空间基本流程
  9. https://leetcode.com/problems/palindromic-substrings/description/
  10. 安装IPython攻略