在Ubuntu 24.04中通过Synaptic安装WPS Office的问题咨询
Hey there, let's work through getting WPS Office set up via Synaptic on your Ubuntu 24.04 machine!
First things first: you're spot-on to question the repository—WPS Office isn't part of Ubuntu's default software sources, which is exactly why you can't find it when searching Synaptic, no matter what terms you use (you tried all the right ones: WPS, wps-office, WPS Office—good job there!).
Here's a step-by-step fix for you:
Add the official WPS Office repository first
- Launch a terminal (press
Ctrl+Alt+Tto open it fast) - Run these commands one after another to add the repository and its trusted GPG key (this keeps your system safe from unvetted packages):
wget -qO - https://wdl1.pcfg.cache.wpscdn.com/wpslinux/linux/public-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/wps-office.gpg echo "deb [signed-by=/usr/share/keyrings/wps-office.gpg] https://wdl1.pcfg.cache.wpscdn.com/wpslinux/linux/2051a08a main" | sudo tee /etc/apt/sources.list.d/wps-office.list - Update your system's package list to recognize the new repo:
sudo apt update
- Launch a terminal (press
Search for WPS in Synaptic again
- Open Synaptic Package Manager, click the "Reload" button to refresh your package index
- Now search for
wps-office—you'll see the full suite (or individual apps likewps-office-writer,wps-office-spreadsheets) pop up - Mark the package(s) you want, then hit "Apply" to start installing
If you're not a fan of the terminal, another option is to download the WPS Office DEB package directly, then in Synaptic go to File > Install Package and select the downloaded file to install it that way.
Hope this helps you get WPS Office up and running smoothly!
备注:内容来源于stack exchange,提问作者Mayte Jiménez




