FedoraRHEL Based

How To Install OpenOffice on Fedora 42

Install OpenOffice on Fedora 42

Apache OpenOffice stands as a powerful, free alternative to proprietary office suites, offering comprehensive document creation and editing capabilities without the hefty price tag. This complete guide walks through every step of installing OpenOffice on Fedora 42, from system preparation to post-installation configuration. Whether you’re transitioning from commercial software or exploring open-source productivity tools, this tutorial provides the knowledge needed to successfully deploy OpenOffice on your Fedora system.

What is Apache OpenOffice?

Apache OpenOffice represents a mature, open-source office productivity suite maintained by the Apache Software Foundation. The software originated from OpenOffice.org and has evolved into a robust platform supporting word processing, spreadsheets, presentations, graphics, databases, and mathematical formula editing.

The suite includes six core applications that cover virtually every office productivity need. Writer handles word processing tasks, Calc manages spreadsheets and data analysis, Impress creates presentations, Draw produces vector graphics and diagrams, Base provides database management, and Math generates mathematical equations. Each component integrates seamlessly with others, enabling users to embed spreadsheets in documents or incorporate charts into presentations.

OpenOffice supports multiple file formats, including its native Open Document Format (ODF) and Microsoft Office formats like DOC, XLS, and PPT. This cross-platform compatibility makes OpenOffice suitable for personal use, business environments, educational institutions, and government organizations seeking cost-effective software solutions.

System Requirements for Fedora 42

Before beginning the installation process, verify that your Fedora 42 system meets the minimum hardware and software specifications. OpenOffice requires a 64-bit (x86-64) processor architecture compatible with modern Intel and AMD processors.

The application needs at least 256 MB of RAM, though 512 MB or higher is recommended for optimal performance, especially when working with large documents or multiple applications simultaneously. Storage requirements include at least 400 MB of free disk space for the base installation, plus additional space for documents, templates, and user data.

Display resolution should be set to 1024×768 pixels or higher to properly view toolbars and menus. A Java Runtime Environment (JRE), preferably OpenJDK 8 or newer, is required for certain features like Base database functionality and advanced extension support. An active internet connection facilitates downloading the installation package and accessing online resources.

Prerequisites Before Installation

Update Your Fedora System

Keeping Fedora 42 current with the latest packages ensures compatibility and security. Open a terminal and execute the system update command:

sudo dnf upgrade --refresh

This command refreshes repository metadata and upgrades all installed packages to their newest versions. Wait for the process to complete and reboot if kernel updates were applied.

Verify Java Installation

Many OpenOffice features depend on Java Runtime Environment. Check whether Java is already installed by running:

java -version

If Java is not found, install OpenJDK using the Fedora package manager:

sudo dnf install java-latest-openjdk

OpenJDK 8, 11, or newer versions work well with OpenOffice. Java powers the Base database component, enables macro functionality, and supports various extensions that enhance productivity.

Backup Important Documents

Although installing OpenOffice doesn’t modify existing files, creating backups of important documents provides peace of mind. Copy critical files to external storage or cloud services before proceeding with software installation.

Removing LibreOffice (Optional but Recommended)

Fedora 42 ships with LibreOffice as the default office suite. While both applications can coexist, removing LibreOffice prevents file association conflicts and menu duplication. To remove LibreOffice while preserving dependencies needed by other applications, execute:

sudo dnf --setopt=clean_requirements_on_remove=false remove libreoffice\*

The --setopt=clean_requirements_on_remove=false flag prevents DNF from removing shared libraries that other system components might need. The asterisk wildcard removes all LibreOffice packages including Writer, Calc, Impress, and associated language packs. Verify removal by searching for remaining LibreOffice packages:

dnf list installed | grep libreoffice

An empty result confirms successful removal.

Step 1: Download Apache OpenOffice

Navigate to the official Apache OpenOffice website to obtain the installation package. The current stable release is version 4.1.15, optimized for Linux 64-bit RPM-based distributions.

For terminal-based downloading, use wget with the direct download link:

VER=4.1.15
wget https://sourceforge.net/projects/openofficeorg.mirror/files/$VER/binaries/en-US/Apache_OpenOffice_${VER}_Linux_x86-64_install-rpm_en-US.tar.gz

This command stores the installation archive in your current directory. The file size is approximately 160-180 MB depending on the specific version. Verify the download completed successfully by checking file size:

ls -lh Apache_OpenOffice_*

Alternative download mirrors exist if the primary source experiences high traffic or connectivity issues.

Step 2: Extract the Downloaded Archive

The OpenOffice package arrives as a compressed tar.gz archive requiring extraction before installation. Navigate to your download directory and extract the contents:

tar xvf Apache_OpenOffice_*_Linux_x86-64_install-rpm_en-US.tar.gz

The x flag extracts files, v displays verbose output showing extraction progress, and f specifies the filename. Extraction creates an en-US directory containing the installation files.

List the extracted directory contents:

ls -l en-US/

You should see a RPMS subdirectory containing individual package files and a desktop-integration folder with menu integration packages.

Step 3: Install OpenOffice RPM Packages

Change into the RPMS directory where the core installation packages reside:

cd en-US/RPMS/

This directory contains dozens of RPM packages, each representing different OpenOffice components and language resources. Install all packages simultaneously using the RPM package manager with upgrade flags:

sudo rpm -Uvh *.rpm

The -U flag upgrades existing packages or installs new ones, v provides verbose output, and h displays hash marks indicating installation progress. The asterisk wildcard selects all RPM files in the current directory.

Installation typically takes 2-5 minutes depending on system performance. OpenOffice installs to /opt/openoffice4/ by default, keeping it separate from system-managed packages. This location prevents conflicts with distribution packages and simplifies updates.

Alternative installation using DNF provides better dependency resolution:

sudo dnf install *.rpm

DNF automatically handles any missing dependencies, though OpenOffice typically has minimal external requirements on a standard Fedora installation.

Step 4: Install Desktop Integration

Desktop integration packages create application menu entries, file associations, and MIME type registrations that integrate OpenOffice with the GNOME desktop environment. Navigate to the desktop-integration subdirectory:

cd desktop-integration/

Fedora uses GNOME as its default desktop, making the freedesktop or redhat menu packages most appropriate. Install the Fedora-specific integration package:

sudo rpm -Uvh openoffice4.*-redhat-menus-*.noarch.rpm

Alternatively, use the freedesktop package for broader compatibility:

sudo rpm -Uvh openoffice4.*-freedesktop-menus-*.noarch.rpm

Desktop integration establishes proper icon placement in application menus, configures file associations so OpenOffice opens when clicking supported document types, and registers MIME types for document recognition.

Update the desktop database to ensure changes take immediate effect:

update-desktop-database ~/.local/share/applications/

Step 5: Launch and Verify OpenOffice

Multiple methods exist for launching OpenOffice after installation. Press the Super key (Windows key) to open GNOME Activities and search for “OpenOffice” or individual component names like “Writer” or “Calc”.

Access OpenOffice through the Applications menu by navigating to Activities > Show Applications > Office category. Installed components appear as separate entries for Writer, Calc, Impress, Draw, Base, and Math.

Command-line launching works from any terminal:

openoffice4

Alternatively, use the direct executable path:

/opt/openoffice4/program/soffice

First launch presents a setup wizard requesting basic configuration preferences. Accept the license agreement by reading and clicking “Accept.” User registration is optional and can be skipped. Configure whether OpenOffice checks for updates automatically.

Test each component individually to verify proper installation. Open Writer and create a test document. Launch Calc and enter spreadsheet data. Start Impress and generate a sample presentation. Each component should launch without errors.

Post-Installation Configuration

Customize Default File Formats

Access configuration options through the Tools menu within any OpenOffice application. Navigate to Tools > Options > Load/Save > General to configure default save formats.

Choose between Open Document Format (ODF) and Microsoft Office formats based on your compatibility requirements. ODF ensures long-term file accessibility and full OpenOffice feature support. Microsoft Office formats provide compatibility with Word, Excel, and PowerPoint users.

Personalize the User Interface

OpenOffice offers interface customization matching personal preferences and workflow requirements. Access View > Toolbars to enable or disable specific toolbar sets. Right-click toolbars to customize button arrangements.

Configure sidebar behavior through View > Sidebar to access formatting panels and document properties. Theme selection under Tools > Options > Appearance adjusts color schemes for better visibility or aesthetic preferences.

Install Extensions

Extensions expand OpenOffice functionality beyond default capabilities. Access Tools > Extension Manager to browse, install, and manage extensions. Popular extensions include additional templates, dictionaries for spell checking in various languages, PDF import functionality, and specialized formatting tools.

Download extensions from the official OpenOffice extensions repository or trusted third-party sources. Install by clicking “Add” in the Extension Manager and selecting the downloaded extension file.

Understanding OpenOffice Components

Writer (Word Processor)

Writer provides comprehensive word processing capabilities for creating letters, reports, books, newsletters, and any text-based document. Features include mail merge for generating personalized correspondence, style management for consistent formatting, and extensive template libraries.

Advanced features support master documents for lengthy publications, cross-references, indexes, bibliographies, and table of contents generation. Track changes functionality enables collaborative editing and document review processes.

Calc (Spreadsheet Application)

Calc handles numerical data analysis, financial calculations, statistical operations, and chart creation. The application supports hundreds of functions covering mathematics, statistics, finance, and database operations.

Features include pivot tables for data summarization, scenario management for what-if analysis, goal seeking, and solver functions for optimization problems. Chart creation tools generate professional visualizations from spreadsheet data.

Impress (Presentation Software)

Impress creates slide presentations with text, images, animations, and multimedia elements. The application includes slide templates, transition effects between slides, and object animation capabilities.

Export presentations to PDF, PowerPoint format, or HTML for web-based viewing. Presenter console displays notes and upcoming slides during presentations while audiences see only current slides.

Draw (Vector Graphics Editor)

Draw produces technical drawings, flowcharts, network diagrams, and organizational charts. The vector-based approach ensures scalability without quality loss.

Features include 3D object creation, artistic text effects, dimension lines for technical drawings, and connector tools for diagram relationships. Export drawings to various formats including PDF, SVG, and bitmap images.

Base (Database Management)

Base creates and manages databases using various backend engines. The application supports internal HSQLDB databases, MySQL, PostgreSQL, and ODBC connections to external database servers.

Design forms for data entry, create queries for information retrieval, and generate reports for data presentation. Wizards simplify database creation, table design, and relationship establishment.

Math (Formula Editor)

Math generates mathematical and scientific formulas for inclusion in other OpenOffice documents. The equation editor supports complex expressions including fractions, integrals, matrices, and specialized scientific notation.

Formulas integrate seamlessly into Writer documents, Calc spreadsheets, and Impress presentations, maintaining formatting consistency across applications.

Common Installation Issues and Solutions

Missing libcrypt.so.1 Library Error

Some Fedora installations lack the legacy cryptography library required by OpenOffice. Error messages reference missing libcrypt.so.1 during launch. Install the compatibility package:

sudo dnf install libxcrypt-compat

This package provides backward compatibility with older cryptographic functions without compromising system security.

Java Runtime Not Found Warning

If OpenOffice displays warnings about missing Java during startup, verify Java installation and configure OpenOffice to recognize the JRE location. Navigate to Tools > Options > Java and ensure the installed Java version appears in the list.

If no Java version is listed, install OpenJDK:

sudo dnf install java-latest-openjdk

Restart OpenOffice after installation to detect the newly installed Java runtime.

Desktop Icons Missing

If application icons don’t appear in GNOME Activities after installation, refresh the icon cache:

gtk-update-icon-cache /usr/share/icons/hicolor/

Restart GNOME Shell by pressing Alt+F2, typing r, and pressing Enter. Icons should appear after the shell restarts.

File Association Problems

When OpenOffice doesn’t open automatically when clicking document files, manually configure file associations. Right-click any supported document, select “Properties,” navigate to the “Open With” tab, and choose the appropriate OpenOffice application as default.

For system-wide associations, use xdg-mime commands:

xdg-mime default openoffice4-writer.desktop application/vnd.oasis.opendocument.text

Replace the MIME type and application as needed for different document formats.

Permission Denied Errors During Installation

Installation requires administrative privileges. Ensure proper use of sudo before commands. If permission errors persist, verify you belong to the wheel group allowing sudo access:

groups

The output should include “wheel.” If missing, add your user to the wheel group:

sudo usermod -aG wheel $USER

Log out and back in for group membership changes to take effect.

Conflicts with Existing LibreOffice

Complete LibreOffice removal prevents conflicts. If issues arise, remove all LibreOffice packages including dependencies:

sudo dnf remove libreoffice\* --noautoremove

Clean residual configuration files:

rm -rf ~/.config/libreoffice

Reinstall OpenOffice following the standard procedure.

Tips for Using OpenOffice on Fedora 42

Master keyboard shortcuts to increase productivity. Ctrl+N creates new documents, Ctrl+O opens existing files, Ctrl+S saves changes, and Ctrl+P initiates printing. Application-specific shortcuts like Ctrl+B for bold, Ctrl+I for italic, and Ctrl+U for underline work consistently across components.

Enable automatic save features to prevent data loss. Configure autosave intervals under Tools > Options > Load/Save > General. Set intervals between 5-15 minutes based on document modification frequency.

Explore template collections for professional document creation. OpenOffice includes built-in templates for letters, resumes, reports, presentations, and spreadsheets. Additional templates are available from the OpenOffice templates repository.

Integrate cloud storage for document accessibility across devices. Use Fedora’s file manager to mount cloud services like Google Drive, Nextcloud, or Dropbox. Save OpenOffice documents directly to mounted cloud directories.

Configure printer settings within OpenOffice for optimal output. Access File > Printer Settings to adjust paper size, orientation, print quality, and color options. Test print settings with draft output before final printing.

Export documents to PDF for universal compatibility. File > Export as PDF provides extensive options including security settings, compression levels, and PDF/A archival format compliance.

Updating Apache OpenOffice

OpenOffice doesn’t include automatic update functionality. Periodically check the official Apache OpenOffice website for new releases addressing security vulnerabilities, bug fixes, and compatibility improvements.

Download newer versions following the same procedure outlined in this guide. The installation process upgrades existing installations while preserving user preferences, custom dictionaries, and template collections.

Before upgrading, backup custom templates and extension configurations. While upgrades typically preserve user data, maintaining backups ensures no customization loss.

Remove the previous installation before installing major version upgrades:

sudo rpm -e openoffice4*

Then proceed with fresh installation following standard procedures. Minor updates typically install over existing versions without removal.

Uninstalling OpenOffice (If Needed)

Complete OpenOffice removal involves deleting RPM packages and cleaning user configuration directories. Remove all OpenOffice packages:

sudo rpm -qa | grep openoffice | xargs sudo rpm -e

This command identifies all installed OpenOffice packages and removes them systematically. Delete user configuration files:

rm -rf ~/.openoffice
rm -rf ~/.openoffice.org

Remove desktop integration entries:

rm -f ~/.local/share/applications/openoffice4-*

Update desktop and MIME databases:

update-desktop-database ~/.local/share/applications/
update-mime-database ~/.local/share/mime/

If reinstalling LibreOffice after OpenOffice removal, use DNF:

sudo dnf install libreoffice

Fedora’s package manager reinstalls LibreOffice with all standard components and proper desktop integration.

Congratulations! You have successfully installed OpenOffice. Thanks for using this tutorial for installing the Apache OpenOffice on your Fedora 42 Linux system. For additional help or useful information, we recommend you check the official OpenOffice website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button