For the complete documentation index, see llms.txt. This page is also available as Markdown.

18.9 WPS Office (Linux Version)

WPS Office for Linux is a Linux office suite developed by Kingsoft Software, compatible with Microsoft Office file formats, supporting word processing, spreadsheets, and presentations.

WPS Office does not have a native FreeBSD version, and the WPS in Ports is unmaintained; it needs to be installed through a self-built Linux compatibility layer. This section provides installation and configuration steps based on the Rocky Linux compatibility layer.

Warning

Because this Port is unmaintained, do not use WPS Office from Ports. Please build a compatibility layer yourself before installing and using it.

Based on Rocky Linux Compatibility Layer (FreeBSD Port)

Note

Please refer to other chapters of this book to complete the installation of the Rocky Linux compatibility layer (FreeBSD Port) first.

The RPM tool is used to install RPM packages into the Rocky Linux compatibility layer in the base system.

Installing the RPM Tool

Refer to other relevant chapters of this book to install the RPM tool (pkg install rpm4).

Downloading WPS Office

WPS Office official download address: WPS Office for Linux. Select "64-bit RPM format"

Please obtain a valid link yourself. If using the Firefox browser, you may need to disable the "Enhanced Tracking Protection" feature in the browser's address bar before you can download.

Tip

This link has issues and currently cannot be downloaded via fetch or wget. If you have a solution, please submit a PR or issue.

The file obtained in this article is wps-office-12.1.2.25882.AK.preread.sw.Personal-1-663297.x86_64.rpm.

Installing WPS Office

Switch to the compatibility layer path:

Install WPS Office:

Tip

The username ykla, hostname ykla, and path /home/ykla shown in the examples in this section are for illustration only; please replace them with actual values for your environment.

Error messages similar to "symlink" are normal. Please replace the path with the actual path of the locally downloaded file.

WPS Office file structure:

Resolving Dependency Issues

Since dynamic installation via the package manager was not used, dependencies may be abnormal; you must check the dependency items.

Switch to the compatibility layer's shell:

View the dynamic library dependencies of the WPS executable:

The output indicates that the dependency libraries are complete.

Running WPS Office

Launch WPS Office in the Linux compatibility environment with regular user privileges:

Accept the software's license agreement and privacy policy:

FreeBSD WPS

Input method working normally.

FreeBSD WPS

Shortcut: Copy /compat/linux/opt/kingsoft/wps-office/desktops/wps-office-wps.desktop to the desktop and modify it as follows.

After granting permissions, it can be used.

Based on Arch Linux Compatibility Layer

Please refer to other relevant chapters of this book to build the Arch Linux compatibility layer first, then enter the compatibility layer and switch to a regular user:

Start installation:

Installation complete.

Fcitx5 input method is temporarily unavailable; this feature awaits further testing. If you have a solution, please provide a reference.

Based on Ubuntu Compatibility Layer

Please refer to other relevant chapters of this book to build the Ubuntu compatibility layer first, then enter it and install WPS Office:

Install dependency packages:

Download the WPS Office Debian package:

Use the package manager to install WPS Office:

Installation complete.

Note

At the time of writing this section, Fcitx5 input method was not working; this feature awaits further testing. If you have a solution, please provide a reference.

Troubleshooting and Unfinished Items

Cannot Start

View the dynamic library dependencies of the /usr/lib/office6/wps executable:

Supplement the missing libraries based on the ldd output.

Requires Root Privileges to Start

Not yet resolved.

WPS Cannot Start Due to Missing Bash

WPS's startup file needs to call Bash; after installing Bash, it can start normally.

  • Install using pkg:

  • Alternatively, install using Ports:

Last updated