Debian/Ubuntu安装WPS (转)

时间:2022-09-21 01:11:11

卸载libreoffice

sudo apt-get remove --purge libreoffice*

官网下载WPS
http://wps-community.org/downloads?vl=2019#download
http://wps-community.org/downloads?vl=2016#download
http://wps-community.org/downloads?vl=fonts#download

用命令行安装或双击安装:

sudo dpkg -i wps-office_10.1.0.6758_amd64.deb
sudo dpkg -i wps-office-fonts_1.0_all.deb

下载额外的字体包
https://pan.baidu.com/s/1eS6xIzo

###开始安装
# 建立字体文件夹

sudo mkdir /usr/share/fonts/wps-office

# 把字体解压到里面 如果还有缺失,就去Windows下面拷过来放这里
消除一下缓存和生成新的缓存

sudo mkfontscale
sudo mkfontdir
sudo fc-cache

参考:https://blog.csdn.net/qq_14824885/article/details/81286682