1, redhat
2, http://www.openoffice.org/zh-cn/download/
download tar.gz here, select os and platform. here we choose linux-32bit rpm
3, tar -xzvf the file
4, install
RPM Installation
1. su to root, if necessary, and navigate to Apache OpenOffice installation directory.
You will likely need to be root to run the rpm command to install the software.
2. cd into the RPMS subdirectory of the installation directory. You should see a lot of rpms here and one sub-directory called "desktop-integration".
3. Install this new version by typing: rpm -Uvih *rpm.
By default, this will install Apache OpenOffice in your /opt directory. Alternatively, you can use a GUI package installer, reference the installation directory, and install all rpms at the top level. This may also aid you in determining any dependency problems if they exist.
4. Install the desktop integration features for your setup.
cd to desktop-integration
in the installation directory, and, depending on your package manager/system, install the appropriate desktop interface using RPM.
5. Finally, start up Apache OpenOffice 4.0.0 to insure it's working.
2, http://www.openoffice.org/zh-cn/download/
download tar.gz here, select os and platform. here we choose linux-32bit rpm
3, tar -xzvf the file
4, install
RPM Installation
1. su to root, if necessary, and navigate to Apache OpenOffice installation directory.
You will likely need to be root to run the rpm command to install the software.
2. cd into the RPMS subdirectory of the installation directory. You should see a lot of rpms here and one sub-directory called "desktop-integration".
3. Install this new version by typing: rpm -Uvih *rpm.
By default, this will install Apache OpenOffice in your /opt directory. Alternatively, you can use a GUI package installer, reference the installation directory, and install all rpms at the top level. This may also aid you in determining any dependency problems if they exist.
4. Install the desktop integration features for your setup.
cd to desktop-integration
in the installation directory, and, depending on your package manager/system, install the appropriate desktop interface using RPM.
5. Finally, start up Apache OpenOffice 4.0.0 to insure it's working.
5,open office with cmd line
soffice -writer file &
or
swrite file &
Type of document | Component | Command-line option |
---|---|---|
Text | Writer | -writer |
Spreadsheet | Calc | -calc |
Drawing | Draw | -draw |
Presentation | Impress | -impress |
Formula | Math | -math |
Web page | Writer | -web |
reference :
https://wiki.openoffice.org/wiki/Documentation/FAQ/Installation/How_do_I_install_OpenOffice.org_on_Linux%3F#RPM_Installation
https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Getting_Started/Starting_from_the_command_line