Friday, March 27, 2015

Kingsoft Office (WPS) - Ubuntu

Hi peeps, I prefer using WPS (Kingsoft Office) instead of LibreOffice or OpenOffice program. Later, i realize Kingsoft has release a new alpha edition. Let's download it now :

I tried to install WPS deb package..but i got some error :
[email protected]:~/Downloads$ sudo dpkg -i wps-office_9.1.0.4751~a15_i386.deb 
Selecting previously unselected package wps-office.
(Reading database ... 302163 files and directories currently installed.)
Preparing to unpack wps-office_9.1.0.4751~a15_i386.deb ...
Unpacking wps-office ( ...
dpkg: error processing archive wps-office_9.1.0.4751~a15_i386.deb (--install):
 trying to overwrite '/usr/bin/wps', which is also in package kingsoft-office
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:

What the heck? So, i assume WPS don't auto replace old version of WPS. So the solution is very simple. I need to purge the installed package:
[email protected]:~/Downloads$ sudo apt-get purge kingsoft-office
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 464 MB disk space will be freed.
Do you want to continue? [Y/n] Y

Lastly, just install the newer package dpkg command :
[email protected]:~/Downloads$ sudo dpkg -i wps-office_9.1.0.4751~a15_i386.deb 
(Reading database ... 300395 files and directories currently installed)
Preparing to unpack wps-office_9.1.0.4751~a15_i386.deb ...
Unpacking wps-office ( ...
Setting up wps-office ( ...

No comments:

Post a Comment