linux 使用wine

If you use Linux, you probably know about WINE. This handy program can run many different kinds of Windows programs. I personally use it to run Office (but be careful; not all versions work well). It also runs a few other programs when I just can’t get Linux equivalent. You probably already have WINE installed and if you don’t, you can get it from your distribution’s package manager. However, most people don’t use it to its full potential. There’s a handy tool, Q4Wine, that will make using WINE much easier, but you don’t have to use it to get most of the benefits.

如果您使用Linux,则可能了解WINE。 这个方便的程序可以运行许多不同种类的Windows程序。 我个人使用它来运行Office(但要小心;并非所有版本都能正常工作)。 当我无法获得等效的Linux时,它还会运行其他一些程序。 您可能已经安装了WINE,如果没有安装,则可以从发行版的程序包管理器中获取。 但是,大多数人没有充分利用它的潜力。 有一个方便的工具Q4Wine,它将使使用WINE更加容易,但是您不必使用它即可获得大多数收益。

基本酒 (Basic WINE)

Using WINE is pretty easy. Suppose you have WINWORD.EXE somewhere on your hard drive. All you have to do is run:

使用WINE非常简单。 假设您的硬盘驱动器上某处有WINWORD.EXE。 您所要做的就是运行:

wine WINWORD.EXE

Sounds simple, right? Well, it is, but then again it isn’t. If you only had WINWORD.EXE there, you probably don’t have all the other ancillary files it needs. The right thing to do is run the installer under WINE first. That will install the programs you need — usually. You might also need to run Winetricks to download things like fonts and DLLs. Sometimes you can get an idea if a program will run and what special things might be needed by reading the WINEHQ App Database.

听起来很简单,对吧? 是的,但是再一次不是。 如果那里只有WINWORD.EXE,则可能没有它需要的所有其他辅助文件。 正确的做法是先在WINE下运行安装程序。 通常,这将安装您需要的程序。 您可能还需要运行Winetricks来下载诸如字体和DLL之类的内容。 有时,您可以通过阅读WINEHQ App Database了解一个程序是否可以运行以及需要哪些特殊功能。

使用WINEPREFIX (Using WINEPREFIX)

There is one big problem, though. By default, WINE makes a fake C drive for you (usually at ~/.wine/drive_c). As you install things, you get the same problems real Windows users have. The 5th program you install might upgrade a DLL that the 2nd program doesn’t like. Luckily, there is a very simple fix for that.

不过,有一个大问题。 默认情况下,WINE为您制作一个伪造的C驱动器(通常在〜/ .wine / drive_c中)。 安装东西时,您会遇到真正的Windows用户所遇到的相同问题。 您安装的第5个程序可能会升级第2个程序不喜欢的DLL。 幸运的是,有一个非常简单的解决方案。

When WINE starts, it looks for an environment variable called WINEPREFIX. If it is set, that is where the configuration for this WINE session will reside. So before installing Office, you might create a directory ~/msoffice and then say:

WINE启动时,它将查找一个名为WINEPREFIX的环境变量。 如果已设置,则将驻留此WINE会话的配置。 因此,在安装Office之前,您可以创建目录〜/ msoffice,然后说:

WINEPREFIX=~/msoffice wine setup32.exe

Now, every time you start an Office program you’ll need to provide the same WINEPREFIX. All the programs will use ~/msoffice/drive_c as their C drive. Other programs will either use the default or a different prefix.

现在,每次启动Office程序时,都需要提供相同的WINEPREFIX。 所有程序将使用〜/ msoffice / drive_c作为其C驱动器。 其他程序将使用默认值或其他前缀。

I try to do nothing in the default prefix. Every program gets its own prefix. That way if something is wrong with that program it doesn’t affect the others. If I want to wipe out and start over, I won’t kill every other Windows program I installed.

我尝试在默认前缀中不执行任何操作 。 每个程序都有自己的前缀。 这样,如果该程序出现问题,则不会影响其他程序。 如果要清除并重新开始,则不会杀死安装的所有其他Windows程序。

输入Q4Wine (Enter Q4Wine)

It is a pain remembering the prefix and typing it in all the time. So install Q4Wine (which might be in your distribution’s repos; otherwise download it).

记住前缀并一直输入很痛苦。 因此,安装Q4Wine(可能在您的发行版本的存储库中;否则请下载 )。

The program actually has a lot of features, but the best thing is that it provides a nice menu of programs and arranges for each to have its own prefix.

该程序实际上具有很多功能,但是最好的事情是它提供了一个不错的程序菜单,并安排了每个程序都有自己的前缀。

There are many ways you can use Q4Wine, but I always start at the Prefixes tab. Press the first toolbar button (Create New) and fill out the dialog.

您可以使用多种方式使用Q4Wine,但我始终从“前缀”选项卡开始。 按第一个工具栏按钮(“新建”)并填写对话框。

You’ll need the name of the new prefix, the directory you want to use (I keep everything under ~/wineprefixes) and there are a few other options you can ignore for now.

您将需要新前缀的名称,要使用的目录(我将所有内容保留在〜/ wineprefixes下),并且您现在可以忽略其他一些选项。

Once you create the prefix it will show up on the Programs tab. Right-click on the prefix name and pick Run… then select your program name (probably an installer).

创建前缀后,它将显示在“程序”选项卡上。 右键单击前缀名称,然后选择“运行...”,然后选择您的程序名称(可能是安装程序)。

Whatever it installs will wind up on the right-hand side (as you can see in the screenshot above). If it doesn’t, you can right-click in the empty space and select New Icon to set one up.

无论安装什么,它都会显示在右侧(如您在上面的屏幕快照中所见)。 如果没有,您可以右键单击空白处,然后选择“新建图标”进行设置。

Now you can run your program from here anytime and it will have the right setup with all the options you want. The program can also add icons to your desktop menu, as well.

现在,您可以随时从此处运行程序,它将具有正确的设置以及所需的所有选项。 该程序还可以将图标添加到您的桌面菜单。

还有更多 (There’s More)

You can do a lot more with Q4Wine, but that will get you started. For more details, read the documentation. You can use different versions of WINE, autostart programs, and a lot more. Give it a try!

您可以使用Q4Wine做更多的事情,但这会让您入门。 有关更多详细信息,请阅读文档 。 您可以使用WINE的不同版本,自动启动程序等等。 试试看!

翻译自: https://medium.com/for-linux-users/use-linux-wine-like-a-boss-f45da5ef76e7

linux 使用wine


http://www.taodudu.cc/news/show-5090586.html

相关文章:

  • WINE 使用及其调试
  • Wine完全使用完全指南(从初级到高级)
  • wine 使用
  • wine使用备忘
  • deepin自带wine使用方法_图解deepin操作系统安装,体验定制版的国产操作系统
  • wine使用
  • linux的wine使用方法,Wine模拟器使用手册(转)
  • Ubuntu wine使用问题记录
  • ubuntu wine使用_如何使用Wine在Ubuntu上运行Windows软件
  • wine的使用方法
  • wine 的使用方法
  • [翻译]Wine完全使用指南——从基本到高级[转]
  • linux系统RootKit木马查杀
  • 算法笔记----递归算法
  • 递归算法介绍
  • 牛逼的软件
  • 在电脑上观看 蓝光dvd 攻略
  • 解压linux的iso软件,linux下解压iso文件
  • 刻盘的思考
  • ubuntu系统中安装软件的三种方法
  • Fedora14常用软件安装
  • Linux软件管理(未完待续)
  • 计算机基本办公软件应用技能考试,办公软件应用操作专项职业能力考核规范
  • linux centos怎么安装软件,怎么在linux(centos)服务器上安装软件?
  • UltraISO 刻录 Ubuntu 16.04 - Ubuntu 18.04 U 盘系统盘 (启动盘)
  • 未来计算机基于生物质 模拟人脑,IBM开发人脑模拟芯片 可能改变未来计算机
  • 如何到达计算机科学家,科学家能将人脑上传到计算机?
  • 人脑与计算机类比文献,人脑计算机接口基于隐马科夫模型的思维运动异步分类...
  • 人脑计算机印度电影免费播放,《人脑计算机》
  • 巨型计算机和人脑,超级计算机和人脑比谁更厉害?研究员测试后给出答案

linux 使用wine_像老板一样使用Linux Wine相关推荐

  1. ps3能装linux上网,上百度聊QQ 装Linux让你的PS3无所不能

    微软的XBox一代由于设计上和PC过于相似,落下不少诟病.事实上一代的XBOX也是能改装成一台PC用的,玩过XBox一代的玩家应该都对主机的DIY改造记忆犹新,通过安装XBox Linux系统,可以把 ...

  2. 过滤Linux下不同大小的文件,linux查找当前目录下 M/G 大小的文件,删除Linux下指定大小的文件

    过滤Linux下不同大小的文件,linux查找当前目录下 M/G 大小的文件,删除Linux下指定大小的文件 find ./ -type f -size +1G| xargs rm 在清理系统日志文件 ...

  3. windows增量到linux,Beyond Compare 3在windows和linux下实现提取增量包

    需求:要实现在windows或linux下的自动对比打得WAR包,进行增量发布(缺点就是只能增量部署增加的和修改的,对删除的不能进行减量部署) 具体实现:利用Beyond Compare 3来实现,功 ...

  4. linux系统发送信号的系统调用是,linux系统编程之信号:信号发送函数sigqueue和信号安装函数sigaction...

    信号发送函数sigqueue和信号安装函数sigaction sigaction函数用于改变进程接收到特定信号后的行为. sigqueue()是比较新的发送信号系统调用,主要是针对实时信号提出的(当然 ...

  5. linux设置nexus开机自启动_在linux中使用nexus搭建maven私服

    首先介绍下为什么要搭建maven私服,简单点说就是就是把项目工程中的Jar包放在一个服务器上,每次Jar包的修改都能去私服上面Down到本地.可以对整个项目组的人形成一个统一的管理. 2.下载完之后就 ...

  6. python 测试linux dev文件,Linux测试开发人员要掌握的Linux命令有哪些?

    今天小编要跟大家分享的文章是关于Linux测试开发人员要掌握的学习Linux和 一.文件和目录相关 文件和目录相关 1.进入目录--cd cd /usr/local //进入/usr/local这个目 ...

  7. linux mint 19 内核4.9,检查Linux Mint 19系统版本号和代号的方法

    本文介绍检查Linux Mint 19操作系统版本号和代号的方法.Linux Mint每两年发布一次主要版本(如Mint 19),每六个月左右发布一次小版本(如Mint 19.1.19.2等),你可以 ...

  8. 如何在linux系统下修改mysql密码_如何在linux下修改mysql数据库密码?linux修改数据库密码的方法...

    本篇文章给大家带来的内容是介绍如何在linux下修改mysql数据库密码?linux修改数据库密码的方法.有一定的参考价值,有需要的朋友可以参考一下,希望对你们有所帮助. Linux下修改Mysql的 ...

  9. linux怎么压缩后保留原文件,Linux 实现压缩保留源文件的方法

    linux下gzip的压缩详解 Linux压缩保留源文件的方法: gzip ?c filename > filename.gz Linux解压缩保留源文件的方法: gunzip ?c filen ...

最新文章

  1. SAP Fiori refreshSecurityToken
  2. 【视频】Vue作者分享:Vue 3.0 进展
  3. 图片服务 - thumbor设置背景色
  4. Huaman Gene Functions
  5. Python实现获取IP代码
  6. 数据包接收系列 — 上半部实现(网卡驱动)
  7. Android常用对话框大全——Dialog
  8. Java 对 Excel 修改
  9. 时序逻辑领域的开拓者
  10. 云流化是什么?对软件企业有什么好处?
  11. h5直接播放amr文件
  12. 如何在AutoCAD中实现鼠标双击事件
  13. eclipse设置护眼豆沙绿背景色以及字体颜色
  14. eclipse取消默认工作空间的两种方法
  15. 3D教程:浩辰3D软件[零件族],你无法拒绝的高效工具!
  16. 今夕何夕 HDU - 6112 ( 模拟 )
  17. LaTex 数学公式中的空格
  18. zedboard linux,Linux之关于zedboard的petaLinux使用有感
  19. 小如雪花的微尘计算机阅读答案,《有趣的“三”》阅读答案
  20. 【通用mapper】项目升级通用Mapper引发的一连串问题以及问题解决

热门文章

  1. HP刀片服务器更换两个硬盘后无法引导启动
  2. jQuery Mobile 和 Kendo UI 的比较(转)
  3. unity3d鼠标移动到上面变色
  4. 已解决(Python cn2an库实现中文数字与阿拉伯数字互转)ValueError: mode 仅支持 [‘low‘, ‘up‘, ‘rmb‘, ‘direct‘]
  5. 双生世界服务器维护,我的世界宝可梦彼岸双生服务器
  6. google的网络U盘
  7. Hash(哈希(字符串哈希))模板和做题总结(详细易懂)
  8. 为什么输入法显示中文打不出中文_搜狗输入法打不出中文怎么回事 打不出汉字解决方法...
  9. 项目:YouToBe
  10. Queue(队列)-Dequeue(双端队列)-Set-Map及迭代器 等相关方法