文書更新:2018年07月26日(木) 午前8時18分33秒

Home > 備忘録(Fedora) > アプリケーション > OpenOffice( 107 )

Fedoraのインストール時にOpenOfficeをインストールしないで、後日、インストールときです。

Apache OpenOffice を インストールする

  1. OpenOffice.org や LibreOffice.org をアンインストールする
  2. [root@server]# yum remove -y openoffice* libreoffice*
  3. openoffice.org-ure と libreoffice-ure package を update 禁止する
  4. [root@server]# vi /etc/yum.conf
    [main]
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=3
    exclude=openoffice.org-ure* libreoffice-ure*	←この行を追加する
  5. Apache OpenOffice をダウンロードする
  6. 32 ビット版
    [root@server ~]# wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/ja/Apache_OpenOffice_4.1.1_Linux_x86_install-rpm_ja.tar.gz/download -O Apache_OpenOffice.tar.gz
    64 ビット版
    [root@server]# wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/ja/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_ja.tar.gz/download -O Apache_OpenOffice.tar.gz
  7. Apache_OpenOffice.tar.gz を展開する
  8. [root@server]# tar -xvf Apache_OpenOffice.tar.gz
  9. Apache OpenOffice をインストールする
  10. [root@server]# rpm -ivh ja/RPMS/*.rpm ja/RPMS/desktop-integration/openoffice4.1.1-redhat-*.rpm
  11. インストール後の処理
  12. [root@server]# rm -rf Apache_OpenOffice.tar.gz	←ダウンロードしたファイルを削除する
    
    [root@server ~]# rm -rf ja	←展開してできたフォルダを削除する
    インストール時に出来たファイルやフォルダを削除する。

リポジトリにあるOpenOffice.orgをグループインストールする(旧版)

[root@server]# yum groupinstall Office/生産性		←生産性は日本語のまま
読み込んだプラグイン:downloadonly, fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: opensource.nchc.org.tw
 * livna: rpm.livna.org
 * rpmfusion-free: mirror.bjtu.edu.cn
 * rpmfusion-free-updates: mirrors.163.com
 * rpmfusion-nonfree: mirrors.163.com
 * rpmfusion-nonfree-updates: mirrors.163.com
 * updates: opensource.nchc.org.tw
グループ処理の設定をしています
Checking for new repos for mirrors
fedora/group_gz                                          | 425 kB     00:00     
livna/group_gz                                           |  448 B     00:00     
rpmfusion-free/group_gz                                  | 1.5 kB     00:00     
rpmfusion-nonfree/group_gz                               | 1.0 kB     00:00     
updates/group_gz                                         | 425 kB     00:00     
パッケージ evince-3.0.0-1.fc15.i686 はインストール済みか最新バージョンです
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> Package libreoffice-calc.i686 1:3.3.2.2-10.fc15 will be インストール
--> 依存性の処理をしています: libreoffice-ure = 1:3.3.2.2-10.fc15 のパッケージ: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
--> 依存性の処理をしています: libreoffice-core = 1:3.3.2.2-10.fc15 のパッケージ: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
	~~~~~途中省略~~~~~
---> Package autocorr-ja.noarch 1:3.3.2.2-10.fc15 will be インストール
---> Package libreoffice-langpack-ja.i686 1:3.3.2.2-10.fc15 will be インストール
--> 依存性解決を終了しました。

依存性を解決しました

================================================================================
 パッケージ                     アーキテクチャ
                                         バージョン             リポジトリー
                                                                           容量
================================================================================
インストールしています:
 autocorr-ja                    noarch   1:3.3.2.2-10.fc15      updates    87 k
 libreoffice-calc               i686     1:3.3.2.2-10.fc15      updates   7.7 M
 libreoffice-draw               i686     1:3.3.2.2-10.fc15      updates   653 k
 libreoffice-graphicfilter      i686     1:3.3.2.2-10.fc15      updates   194 k
 libreoffice-impress            i686     1:3.3.2.2-10.fc15      updates   994 k
 libreoffice-langpack-ja        i686     1:3.3.2.2-10.fc15      updates    16 M
 libreoffice-math               i686     1:3.3.2.2-10.fc15      updates   1.0 M
 libreoffice-writer             i686     1:3.3.2.2-10.fc15      updates   5.5 M
 libreoffice-xsltfilter         i686     1:3.3.2.2-10.fc15      updates   198 k
 planner                        i686     0.14.4-34.fc15         fedora    3.0 M
依存性関連でのインストールをします。:
 autocorr-en                    noarch   1:3.3.2.2-10.fc15      updates    90 k
 dejavu-fonts-common            noarch   2.33-1.fc15            fedora     63 k
 dejavu-sans-fonts              noarch   2.33-1.fc15            fedora    1.4 M
 dejavu-sans-mono-fonts         noarch   2.33-1.fc15            fedora    432 k
 dejavu-serif-fonts             noarch   2.33-1.fc15            fedora    776 k
 hyphen                         i686     2.7-1.fc15             fedora     22 k
	~~~~~途中省略~~~~~
 libwps                         i686     0.2.0-1.fc15           fedora     40 k
 lpsolve                        i686     5.5.2.0-3.fc15         fedora    476 k
 lucene                         noarch   2.9.4-4.fc15           fedora    2.1 M
 mythes                         i686     1.2.1-3.fc15           fedora     11 k
 mythes-en                      noarch   3.0-8.fc15             fedora    3.9 M
 silgraphite                    i686     2.3.1-4.fc15           fedora    173 k

トランザクションの要約
================================================================================
インストール        36 パッケージ

総ダウンロード容量: 129 M
インストール済み容量: 374 M
これでいいですか? [y/N]y
パッケージをダウンロードしています:
	~~~~~以下省略~~~~~

LibreOffice を 日本語化する

[root@server]# dnf -y install libreoffice-langpack-ja