Ubuntu – How to install wps office via terminal

command linesoftware installationwps-office

It's pretty complicated and sometimes the system freezes when I try to download and install wps office. I think it is much more convenient to use the terminal. But I never used installed WPS Office from the command line. That would be great if I could update it using software manager or terminal. Third party deb files are from separate locations. I specifically want to know about WPS

Best Answer

OK so...

32-bit (depending on your hardware - check by uname -a):

cd && wget -O wps-office.deb http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office_10.1.0.5672~a21_i386.deb
sudo dpkg -i wps-office.deb
sudo apt-get -f install && rm wps-office.deb
wget -O web-office-fonts.deb http://kdl.cc.ksosoft.com/wps-community/download/a15/wps-office-fonts_1.0_all.deb
sudo dpkg -i web-office-fonts.deb

For 64-bit:

cd && wget -O wps-office.deb http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb
sudo dpkg -i wps-office.deb
sudo apt-get -f install && rm wps-office.deb
wget -O web-office-fonts.deb http://kdl.cc.ksosoft.com/wps-community/download/fonts/wps-office-fonts_1.0_all.deb
sudo dpkg -i web-office-fonts.deb

And that's it.

Edit: As the wget links are likely to break at every version change, you can also visit the download page here as noted by JonasCZ in this comment

Related Question