个人工具
119.28.94.63
该IP地址的讨论
登录
查看“UbuntuHelp:Microsoft Office”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Microsoft Office”的源代码
来自Ubuntu中文
←
UbuntuHelp:Microsoft Office
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Microsoft_Office}} {{Languages|UbuntuHelp:Microsoft_Office}} Microsoft Office is a commonly-used, proprietary office suite. Because the Microsoft Office suite is designed for Microsoft Windows, it cannot be installed directly onto a computer running Ubuntu. However, it is possible to install and run certain versions of Office using the WINE Windows-compatibility layer available in Ubuntu. WINE is available only for the Intel/x86 platform. Alternatively, Ubuntu offers a wide range of high-quality office software, some of which is compatible with the Microsoft Office file formats. Notably, OpenOffice.org is Ubuntu's default office suite and is installed/available on all platforms supported by Ubuntu. A brief guide to the office software available in Ubuntu can be found on the OfficeApplications page. The following guide gives instructions on how to install and run Microsoft Office on Ubuntu by using WINE. == Checking if your version of Office is supported by WINE == This guide assumes that you have a copy of Microsoft Office 2000, which seems to be the version which is best supported by WINE. All versions may suffer from stability issues when run using WINE, as Office isn't specifically designed to be run in this way. To check if your version of Office can be run using WINE, view the Microsoft Office entry in the [http://appdb.winehq.org/appview.php?appId=31 WINE Application Database]. With some versions of Office, only one or two applications from the suite are supported, so it may be helpful to check the Application Database for each application individually. If your copy of Office is not compatible with WINE, a commercial application called ''CrossOver Office'' (which is based on WINE) may still support it. Visit the [http://www2.codeweavers.com/ CrossOver Office] website for more information. == Installing the WINE Windows-compatibility layer == WINE allows Windows-only applications such as Microsoft Office to be run on the Intel/x86 versions of Ubuntu. You must first install the <code><nowiki>wine</nowiki></code> package, available from the <code><nowiki>universe</nowiki></code> software channel. See the AddingRepositoriesHowto for information on how to enable the <code><nowiki>universe</nowiki></code> software channel. See InstallingSoftware for information on how to install packages, or open a Terminal (''Applications -> Accessories -> Terminal'') and type <code><nowiki>sudo apt-get install wine</nowiki></code>. More information on WINE is available from the [[UbuntuHelp:Wine]] page. == Installing Microsoft Office == Ensure that you have all of the materials required to install your copy of Microsoft Office, including any documentation and licensing information which may be required during the installation process. The installation process should proceed as if the installation was being run on a Microsoft Windows computer. First, determine which drive letter your CD-ROM drive has been assigned. To do this, opena Terminal (''Applications -> Accessories -> Terminal''), type <code><nowiki>winecfg</nowiki></code> and then press the <code><nowiki>Return</nowiki></code> key on the keyboard. The WINE configuration application will start. Select the ''Drives'' tab and look for the entry ''/media/cdrom0'' or similar and note the drive letter, for example ''e:''. Put the Microsoft Office installation CD into your CD-ROM drive, open a Terminal, type <code><nowiki>wine "e:\setup.exe"</nowiki></code> (substitute 'e:' with the drive letter you noted down earlier) and press the <code><nowiki>Return</nowiki></code> key. The Microsoft Office setup program should run normally. == Install additional DLL files == After installing Microsoft Office, you may need to make some Windows DLL files available to WINE. You should be able to locate the required files on a computer which has Microsoft Windows 2000 or XP installed. Locate the files <code><nowiki>riched20.dll</nowiki></code> and <code><nowiki>ole32.dll</nowiki></code> and copy them into the <code><nowiki>/home/<username>/.wine/drive_c/windows/system32</nowiki></code> directory, substituting '<username>' with your user name. Next, open a Terminal, type <code><nowiki>winecfg</nowiki></code> and press the <code><nowiki>Return</nowiki></code> key. For each Microsoft Office application that you want to set up, click ''Add Application'' and then browse for the Office application under the <code><nowiki>C:\Program Files\Microsoft Office\Office</nowiki></code> directory (or similar). Then, click the ''Libraries'' tab and add the appropriate DLL override for the application as given below: ''(obtained from [http://frankscorner.org/index.php?p=office2000])'' '''For <code><nowiki>winword.exe</nowiki></code>''' <code><nowiki>ole32=native</nowiki></code> <code><nowiki>riched20=native</nowiki></code> '''For <code><nowiki>excel.exe</nowiki></code>''' <code><nowiki>riched20=native</nowiki></code> '''For <code><nowiki>powerpnt.exe</nowiki></code>''' <code><nowiki>riched20=native</nowiki></code> == Running an Office application == To run an Office application initially, open a Terminal, type <code><nowiki>wine "c:\program files\microsoft office\office\app_name.exe"</nowiki></code> and press the <code><nowiki>Return</nowiki></code> key. Replace ''app_name.exe'' with the name of the application you want to run, for example ''excel.exe''. For regular usage, it is recommended that you create a 'launcher' for each of the various Office applications and add these to the Applications menu. This will allow you to start a Microsoft Office application in the same way as any other application. To do this, click ''Applications -> Accessories -> Alacarte Menu Editor'' to start the menu editor. Select the ''Office'' category and then click ''File -> New Entry''. Fill out the ''Entry Editor'' window appropriately for the Office application you are adding to the menu. For example: '''Name:''' Microsoft Word '''Comment:''' Type and edit text documents such as letters and reports '''Command:''' wine "c:\program files\microsoft office\office\winword.exe" Once completed, press the ''OK'' button. Add any other installed Microsoft Office applications you may want to access and then close the menu editor. Click ''Applications -> Office'' and try to start the applications you just added. If you entered the 'Command' correctly for the applications in the menu editor, the applications will start and can be used normally. ---- [[category:CategoryDocumentation]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Microsoft Office
。