How to Install OnlyOffice on Fedora 40 or 39 Linux

ONLYOFFICE is a comprehensive office suite that includes document, spreadsheet, and presentation editing tools. It offers compatibility with Microsoft Office formats, collaboration features, and a user-friendly interface. ONLYOFFICE is an excellent choice for individual users and teams looking for a robust and versatile office solution.

To install ONLYOFFICE on Fedora 40 or 39 using the command-line terminal, you can download the official ONLYOFFICE RPM, which is often the best method. Alternatively, you can use Flatpak with the Flathub repository if you prefer Flatpaks or need the latest features.

Method 1: Install OnlyOffice via RPM

Update Fedora Packages Before OnlyOffice Installation

To begin, updating your Fedora system to ensure all packages are current is crucial. This step prevents potential conflicts and ensures compatibility with the new software.

Execute the following command in the terminal to update your system:

sudo dnf upgrade --refresh

Download OnlyOffice RPM

The next step involves acquiring the OnlyOffice RPM package. You can easily download it directly from the OnlyOffice website using the wget command. This utility retrieves files from the web and is a straightforward method for downloading the necessary package.

Use this command in your terminal:

wget https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.x86_64.rpm

This command downloads the latest version of OnlyOffice Desktop Editors specifically for 64-bit Linux systems and saves it directly to your local machine.

Install OnlyOffice via DNF Command

After downloading the package, the next step is to install OnlyOffice. The DNF tool, Fedora’s package manager, simplifies this process. Run the following command to install OnlyOffice:

sudo dnf install onlyoffice-desktopeditors.x86_64.rpm

This command instructs DNF to install the OnlyOffice package you just downloaded.

Method 2: Install OnlyOffice via Flatpak and Flathub

Verify Flatpak Installation

To start, it’s essential to ensure that the Flatpak package manager is installed on your Fedora system. Flatpak is a standard package manager in Fedora and is often pre-installed. If you’ve previously removed it or need to verify its presence, you can reinstall it using the following command:

sudo dnf install flatpak -y

This command checks for Flatpak and installs it if it is missing. The -y flag automatically confirms the installation, saving time.

Enable Flathub For OnlyOffice Installation

With Flatpak in place, the next step is to enable Flathub, a repository for Flatpak applications. Flathub is essential for accessing a wide range of applications, including OnlyOffice.

Execute this command to add Flathub to your system:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

This command ensures Flathub is added to your Flatpak configuration, making OnlyOffice and other applications readily available.

Install OnlyOffice via Flatpak Command

Now, you are ready to install OnlyOffice. Using Flatpak for installation ensures you receive the latest binary updates seamlessly. Run the following command:

flatpak install flathub org.onlyoffice.desktopeditors

This command fetches and installs OnlyOffice from Flathub, ensuring you have the most recent version.

Troubleshoot OnlyOffice Flatpak Installation

Common Error Resolution

A frequent error encountered during Flatpak installations from Flathub is:

"error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote 'flathub,"

To resolve this, enable Flathub using:

flatpak remote-modify --enable flathub

This command re-enables Flathub, resolving the error and allowing the installation to proceed.

File System Access Permission

Another potential issue involves accessing system files. The following command should only be used if you have the necessary permissions and need to grant OnlyOffice access to the system files:

sudo flatpak override org.onlyoffice.desktopeditors --filesystem=host

Use this command judiciously and only if required for your specific installation setup. It overrides default permissions, allowing OnlyOffice more extensive access to the host system’s files.

Launching OnlyOffice

Now that you have completed the installation launch, you can do it in a few ways.

CLI Commands to Launch OnlyOffice

For users comfortable with the command line interface, launching OnlyOffice is straightforward. Open your terminal and input the following command:

onlyoffice

This command swiftly initiates OnlyOffice, allowing quick access to its suite of tools.

If OnlyOffice was installed via Flatpak, a different command is required. Open your terminal and enter:

flatpak run org.onlyoffice.desktopeditors

This command explicitly targets the Flatpak installation of OnlyOffice, ensuring the correct version of the application launches.

GUI Method to Launch OnlyOffice

OnlyOffice can be opened without requiring terminal commands for those who prefer a graphical user interface (GUI).

Follow these steps:

  1. Click on Activities at the top left of your screen.
  2. Select Show Applications to view the list of installed applications.
  3. Locate and click on OnlyOffice.

Introduction to OnlyOffice Suite Programs

Document on OnlyOffice

  • Functionality: OnlyOffice Document is a comprehensive word-processing program designed for creating and editing text documents, spreadsheets, and presentations.
  • Key Features:
    • Real-time collaboration and version control for team projects.
    • Advanced document commenting for efficient feedback.
    • Tools for formatting and adding images, tables, charts, and graphs.

Spreadsheet on OnlyOffice

  • Functionality: OnlyOffice Spreadsheet offers robust capabilities for creating, editing, and managing complex spreadsheets.
  • Key Features:
    • Support for complex calculations and data analysis.
    • Real-time collaboration, version control, and cell commenting.
    • Features to import/export data and create detailed charts and graphs.

Presentation on OnlyOffice

  • Functionality: OnlyOffice Presentation allows the creation of professional and engaging presentations, complete with multimedia elements.
  • Key Features:
    • Tools for adding animations, charts, and images to slides.
    • Real-time collaboration, version control, and presentation commenting.
    • Easy creation of slides with text, images, and multimedia enhancements.

Form Template on OnlyOffice with Fedora

  • Functionality: Only Office Form Template is designed to efficiently create and manage forms, surveys, and quizzes.
  • Key Features:
    • Real-time collaboration and version control for form creation.
    • Customizable forms with various question types and response gathering.
    • Ideal for customer feedback forms, employee surveys, or educational quizzes.

Additional Commands For OnlyOffice on Fedora

Update OnlyOffice

RPM Update Method for OnlyOffice

To upgrade OnlyOffice using the RPM method, you must manually download and reinstall the latest OnlyOffice RPM package.

Flatpak Update Method for OnlyOffice

If you installed OnlyOffice using Flatpak, the update process is streamlined. Flatpak automatically handles updates, making it easier to maintain the latest version of your software.

To check for and install updates for OnlyOffice, execute the following command:

flatpak update

This command searches for updates across all Flatpak-installed applications, including OnlyOffice, and installs them as needed.

Remove OnlyOffice

Depending on your installation method, removing OnlyOffice from your Fedora system can be achieved with specific commands.

DNF Remove Method for OnlyOffice

For users who installed OnlyOffice using the DNF method, removal is straightforward. Execute the following command to uninstall OnlyOffice:

sudo dnf remove onlyoffice-desktopeditors.x86_64

This command instructs the DNF package manager to remove the specified OnlyOffice package from your system.

Flatpak Remove Method for OnlyOffice

The removal process is slightly different for those who installed OnlyOffice via Flatpak. Use this command to uninstall OnlyOffice and delete its data:

flatpak remove  --delete-data org.onlyoffice.desktopeditors -y

This command removes OnlyOffice and deletes its associated data, ensuring a clean uninstallation. The -y flag automates the process by answering ‘yes’ to any prompts.

Conclusion

With ONLYOFFICE successfully installed on your Fedora system, you can now enjoy a powerful and versatile office suite. Whether you installed it using the official RPM or Flatpak, ONLYOFFICE provides a seamless experience for all your document, spreadsheet, and presentation needs. Make sure to explore its collaboration features to enhance productivity. Enjoy the robust functionality and user-friendly interface that ONLYOFFICE offers.

Leave a Comment