2016年7月3日 星期日

用dpkg安裝最新的libreoffice

如果隨著系統安裝的libreoffice版本不符合你的需求,你可以執行以下步驟來安裝最新的libreoffice版本。

本文是在ubuntu系統下安裝的,不適用windows系統。

以下參考自libreoffice解壓縮後的README檔

1.先到Libreoffice官網下載主程式安裝檔、中文翻譯和中文離線說明檔

For instructions on how to install a language pack (after having installed the US English version of LibreOffice), please read the section below entitled Installing a Language Pack.

2.找到你下載的檔案,並解壓縮
When you unpack the downloaded archive, you will see that the contents have been decompressed into a sub-directory. Open a file manager window, and change directory to the one starting with "LibreOffice_", followed by the version number and some platform information.

3.從解壓縮的資料夾找到”DEBS”資料夾
This directory contains a subdirectory called "DEBS". Change directory to the "DEBS" directory.

4.開啟終端機並進入到”DEBS”資料夾的路徑下
Right-click within the directory and choose "Open in Terminal". A terminal window will open. From the command line of the terminal window, enter the following command (you will be prompted to enter your root user's password before the command will execute):

The following commands will install LibreOffice and the desktop integration packages (you may just copy and paste them into the terminal screen rather than trying to type them):

5.在終端機輸入以下指令
sudo dpkg -i *.deb

The installation process is now completed, and you should have icons for all the LibreOffice applications in your desktop's Applications/Office menu.


安裝中文化

1.一樣解壓縮完以後找到”DEBS”的位置
Now change directory to the directory that was created during the extraction process. For instance, for the French language pack for a 32-bit Debian/Ubuntu-based system, the directory is named LibreOffice_, plus some version information, plus Linux_x86_langpack-deb_fr.

Now change directory to the directory that contains the packages to install. On Debian/Ubuntu-based systems, the directory will be DEBS. On Fedora, openSUSE or Mandriva systems, the directory will be RPMS.

From the Nautilus file manager, right-click in the directory and choose the command "Open in terminal". In the terminal window you just opened, execute the command to install the language pack (with all of the commands below, you may be prompted to enter your root user's password):

2.開啟終端機並進入到”DEBS”的路徑下,然後執行以下指令
sudo dpkg -i *.deb


Now start one of the LibreOffice applications - Writer, for instance. Go to the Tools menu and choose Options. In the Options dialog box, click on "Language Settings" and then click on "Languages". Dropdown the "User interface" list and select the language you just installed. If you want, do the same thing for the "Locale setting", the "Default currency", and the "Default languages for documents".

After adjusting those settings, click on OK. The dialog box will close, and you will see an information message telling you that your changes will only be activated after you exit LibreOffice and start it again (remember to also exit the QuickStarter if it is started).

The next time you start LibreOffice, it will start in the language you just installed.

同樣方式安裝離線說明檔

沒有留言:

張貼留言

Ubuntu指令列印libreoffice文件

在Ubuntu下指令列印libreoffice文件很簡單 只要輸入以下 libreoffice -p [文件位置] 例如: libreoffice -p /home/username/test.odt 預設的印表機就會幫你列印好了。 指定好資...