特殊:Badtitle/NS100:Microsoft Office:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第10行: | 第10行: | ||
== Installing the WINE Windows-compatibility layer == | == 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 [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]] for information on how to enable the <code><nowiki>universe</nowiki></code> software channel. See [[UbuntuHelp:InstallingSoftware|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>. | 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 [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]] for information on how to enable the <code><nowiki>universe</nowiki></code> software channel. See [[UbuntuHelp:InstallingSoftware|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. | More information on WINE is available from the [[UbuntuHelp:Wine|Wine]] page. | ||
== Installing Microsoft Office == | == 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. | 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. | ||
第17行: | 第17行: | ||
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. | 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: | 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 | ''(obtained from [http://frankscorner.org/index.php?p=office2000])'' | ||
'''For <code><nowiki>winword.exe</nowiki></code>''' | '''For <code><nowiki>winword.exe</nowiki></code>''' | ||
<code><nowiki>ole32=native</nowiki></code> | <code><nowiki>ole32=native</nowiki></code> |
2008年10月19日 (日) 23:49的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Microsoft_Office }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/af | • {{#if: UbuntuHelp:Microsoft_Office|Afrikaans| [[::Microsoft Office/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ar | • {{#if: UbuntuHelp:Microsoft_Office|العربية| [[::Microsoft Office/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/az | • {{#if: UbuntuHelp:Microsoft_Office|azərbaycanca| [[::Microsoft Office/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/bcc | • {{#if: UbuntuHelp:Microsoft_Office|جهلسری بلوچی| [[::Microsoft Office/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/bg | • {{#if: UbuntuHelp:Microsoft_Office|български| [[::Microsoft Office/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/br | • {{#if: UbuntuHelp:Microsoft_Office|brezhoneg| [[::Microsoft Office/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ca | • {{#if: UbuntuHelp:Microsoft_Office|català| [[::Microsoft Office/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/cs | • {{#if: UbuntuHelp:Microsoft_Office|čeština| [[::Microsoft Office/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/de | • {{#if: UbuntuHelp:Microsoft_Office|Deutsch| [[::Microsoft Office/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/el | • {{#if: UbuntuHelp:Microsoft_Office|Ελληνικά| [[::Microsoft Office/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/es | • {{#if: UbuntuHelp:Microsoft_Office|español| [[::Microsoft Office/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/fa | • {{#if: UbuntuHelp:Microsoft_Office|فارسی| [[::Microsoft Office/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/fi | • {{#if: UbuntuHelp:Microsoft_Office|suomi| [[::Microsoft Office/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/fr | • {{#if: UbuntuHelp:Microsoft_Office|français| [[::Microsoft Office/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/gu | • {{#if: UbuntuHelp:Microsoft_Office|ગુજરાતી| [[::Microsoft Office/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/he | • {{#if: UbuntuHelp:Microsoft_Office|עברית| [[::Microsoft Office/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/hu | • {{#if: UbuntuHelp:Microsoft_Office|magyar| [[::Microsoft Office/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/id | • {{#if: UbuntuHelp:Microsoft_Office|Bahasa Indonesia| [[::Microsoft Office/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/it | • {{#if: UbuntuHelp:Microsoft_Office|italiano| [[::Microsoft Office/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ja | • {{#if: UbuntuHelp:Microsoft_Office|日本語| [[::Microsoft Office/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ko | • {{#if: UbuntuHelp:Microsoft_Office|한국어| [[::Microsoft Office/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ksh | • {{#if: UbuntuHelp:Microsoft_Office|Ripoarisch| [[::Microsoft Office/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/mr | • {{#if: UbuntuHelp:Microsoft_Office|मराठी| [[::Microsoft Office/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ms | • {{#if: UbuntuHelp:Microsoft_Office|Bahasa Melayu| [[::Microsoft Office/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/nl | • {{#if: UbuntuHelp:Microsoft_Office|Nederlands| [[::Microsoft Office/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/no | • {{#if: UbuntuHelp:Microsoft_Office|norsk| [[::Microsoft Office/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/oc | • {{#if: UbuntuHelp:Microsoft_Office|occitan| [[::Microsoft Office/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/pl | • {{#if: UbuntuHelp:Microsoft_Office|polski| [[::Microsoft Office/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/pt | • {{#if: UbuntuHelp:Microsoft_Office|português| [[::Microsoft Office/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ro | • {{#if: UbuntuHelp:Microsoft_Office|română| [[::Microsoft Office/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/ru | • {{#if: UbuntuHelp:Microsoft_Office|русский| [[::Microsoft Office/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/si | • {{#if: UbuntuHelp:Microsoft_Office|සිංහල| [[::Microsoft Office/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/sq | • {{#if: UbuntuHelp:Microsoft_Office|shqip| [[::Microsoft Office/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/sr | • {{#if: UbuntuHelp:Microsoft_Office|српски / srpski| [[::Microsoft Office/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/sv | • {{#if: UbuntuHelp:Microsoft_Office|svenska| [[::Microsoft Office/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/th | • {{#if: UbuntuHelp:Microsoft_Office|ไทย| [[::Microsoft Office/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/tr | • {{#if: UbuntuHelp:Microsoft_Office|Türkçe| [[::Microsoft Office/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/vi | • {{#if: UbuntuHelp:Microsoft_Office|Tiếng Việt| [[::Microsoft Office/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/yue | • {{#if: UbuntuHelp:Microsoft_Office|粵語| [[::Microsoft Office/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/zh | • {{#if: UbuntuHelp:Microsoft_Office|中文| [[::Microsoft Office/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/zh-hans | • {{#if: UbuntuHelp:Microsoft_Office|中文(简体)| [[::Microsoft Office/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Microsoft_Office | UbuntuHelp:Microsoft_Office | {{#if: | :}}Microsoft Office}}/zh-hant | • {{#if: UbuntuHelp:Microsoft_Office|中文(繁體)| [[::Microsoft Office/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Microsoft_Office|:Microsoft Office|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Microsoft Office/zh | | {{#ifexist: Microsoft Office/zh | | {{#ifeq: {{#titleparts:Microsoft Office|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Microsoft Office|1|-1|}} | zh | | }}
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 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 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 wine
package, available from the universe
software channel. See the AddingRepositoriesHowto for information on how to enable the universe
software channel. See InstallingSoftware for information on how to install packages, or open a Terminal (Applications -> Accessories -> Terminal) and type sudo apt-get install wine
.
More information on WINE is available from the 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 winecfg
and then press the Return
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 wine "e:\setup.exe"
(substitute 'e:' with the drive letter you noted down earlier) and press the Return
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 riched20.dll
and ole32.dll
and copy them into the /home/<username>/.wine/drive_c/windows/system32
directory, substituting '<username>' with your user name.
Next, open a Terminal, type winecfg
and press the Return
key. For each Microsoft Office application that you want to set up, click Add Application and then browse for the Office application under the C:\Program Files\Microsoft Office\Office
directory (or similar). Then, click the Libraries tab and add the appropriate DLL override for the application as given below:
(obtained from [1])
For winword.exe
ole32=native
riched20=native
For excel.exe
riched20=native
For powerpnt.exe
riched20=native
Running an Office application
To run an Office application initially, open a Terminal, type wine "c:\program files\microsoft office\office\app_name.exe"
and press the Return
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.