linux centos yum openoffice

sudo yum -y install openoffice.org-writer
sudo yum -y install openoffice.org-calc
sudo yum -y install openoffice.org-draw openoffice.org-impress

 

You can install just the components you need. To find out what is available, once you have Xfce or some other desktop environment running, start a terminal and type the following at the shell prompt:

 yum list|grep openoffice

This will produce about eighty lines of output that should start something like this:

 openoffice.org-calc.i386      1:2.3.0-6.4.fc7   olpc_koji-ship2
 openoffice.org-core.i386      1:2.3.0-6.4.fc7   olpc_koji-ship2
 openoffice.org-draw.i386      1:2.3.0-6.4.fc7   olpc_koji-ship2
 openoffice.org-impress.i386   1:2.3.0-6.4.fc7   olpc_koji-ship2
 openoffice.org-writer.i386    1:2.3.0-6.4.fc7   olpc_koji-ship2
 ...

Then just use yum to install whichever packages you want (use package names without the “.i386″ part). For example (as root):

 yum install openoffice.org-writer
 yum install openoffice.org-calc
 yum install openoffice.org-draw openoffice.org-impress

By the way, most of the space is taken up by the infrastructure; adding more components takes up little extra space.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>