Install WPS Office on Debian 9 Stretch

WPS Office is another Office Suite alternative to Microsoft Office. While MS Office is not available for Linux, WPS Office comes to play. It’s a free Office Suite you can use on your Linux distribution. WPS Office comes with a nice and interesting user interface. Personally, I would prefer this WPS Office than the OpenOffice or LibreOffice. On this tutorial, I am going to show you how to install WPS Office on Debian 9 Stretch. WPS Office comes with 3 applications: Write, Spreadsheet and Presentation. 

WPS Office Screenshots on Debian 9

install WPS Office on Debian 9

Steps to install WPS Office on Debian 9 Stretch

Installing WPS Office on Debian 9 is pretty easy but there is one thing we need to solve during the installation. But let’s start from the beginning. First, we need to download WPS Office for Linux (DEB package). You can click this link to download or use the following command to download the WPS Office DEB package. Please note that this is the 64 bit version. For another version, please visit the official download page

wget http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb

Now try to install it with this command

dpkg -i wps-office_10.1.0.5707~a21_amd64.deb

You will possibly end up with the following error:

root@debian:/home/dhani/Downloads# dpkg -i wps-office_10.1.0.5707~a21_amd64.deb 
Selecting previously unselected package wps-office.
(Reading database ... 150371 files and directories currently installed.)
Preparing to unpack wps-office_10.1.0.5707~a21_amd64.deb ...
Unpacking wps-office (10.1.0.5707~a21) ...
dpkg: dependency problems prevent configuration of wps-office:
 wps-office depends on libpng12-0; however:
  Package libpng12-0 is not installed.

dpkg: error processing package wps-office (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 wps-office

Solution How to fix dependency problem on Debian 9 while installing WPS Office “Package libpng12-0 is not installed”

Download and install libpng12-0. Please note that this package is now obsolete and does not available for Debian Stretch. But I can install it and works well on my Debian 9. 

Install the libpng12-0 package

dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb

Now try to reinstall the WPS Deb package once again

dpkg -i wps-office_10.1.0.5707~a21_amd64.deb

Output:

root@debian:/home/dhani/Downloads# dpkg -i wps-office_10.1.0.5707~a21_amd64.deb 
(Reading database ... 152878 files and directories currently installed.)
Preparing to unpack wps-office_10.1.0.5707~a21_amd64.deb ...
Unpacking wps-office (10.1.0.5707~a21) over (10.1.0.5707~a21) ...
Setting up wps-office (10.1.0.5707~a21) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...

Now the WPS Office installation is successful. 

3 Comments

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.