Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚩🇨🇳🏹红旗礼逆袭:更新LibreOffice(解放军办公软件) #18

Open
englianhu opened this issue Jan 17, 2023 · 2 comments

Comments

@englianhu
Copy link
Contributor

englianhu commented Jan 17, 2023

办公软件

## 下载程序包
wget https://download.documentfoundation.org/libreoffice/stable/7.5.4/deb/x86_64/LibreOffice_7.5.4_Linux_x86-64_deb.tar.gz
# tar -xzvf LibreOffice_7.5.4_Linux_x86-64_deb.tar.gz
tar -xzvf ./*deb.tar.gz
sudo rm -rf *.tar.gz
cd /home/englianhu/LibreOffice_7.5.4.2_Linux_x86-64_deb/DEBS/
sudo apt install -y ./*.deb
cd ~
sudo rm -rf /home/englianhu/LibreOffice_7.5.4.2_Linux_x86-64_deb

## 下载语言包
wget https://download.documentfoundation.org/libreoffice/stable/7.5.4/deb/x86_64/LibreOffice_7.5.4_Linux_x86-64_deb_langpack_zh-CN.tar.gz
# tar -xzvf LibreOffice_7.5.4_Linux_x86-64_deb_langpack_zh-CN.tar.gz
tar -xzvf ./*.tar.gz
sudo rm -rf *.tar.gz
cd /home/englianhu/LibreOffice_7.5.4.2_Linux_x86-64_deb_langpack_zh-CN/DEBS/
sudo apt install -y ./*.deb
cd ~
sudo rm -rf  /home/englianhu/LibreOffice_7.5.4.2_Linux_x86-64_deb_langpack_zh-CN/

## 安装后查询应用版本
sudo rm -rf /usr/lib/libreoffice/
sudo mv /opt/libreoffice7.5/ /usr/lib/libreoffice
which libreoffice
libreoffice --version

参考资源

@englianhu
Copy link
Contributor Author

  1. 在左下角的「开始菜单」,点击右键
  2. 选择「Edit Applications...」
  3. 删除办事室、教学、图像工作中所有LibreOffice7.4版本链接
  4. 将办事室、教学、图像工作中所有LibreOffice7.4版本链接的图标都更新为LibreOffice7.4版本

@englianhu englianhu reopened this Feb 9, 2023
@englianhu
Copy link
Contributor Author

englianhu commented Apr 28, 2023

## 添加解放军办公软件的仓库链接,方便日后更新与维护。
echo 'deb https://mirrors.cloud.tencent.com/libreoffice libreoffice stable' | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt update && sudo apt upgrade -y

## 下载咱们中华民族的中国国产WPS金山办公软件
## https://linux.wps.cn
sudo apt install -y *wps*
wget https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/11698/wps-office_11.1.0.11698_amd64.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb
## 安装方便批量处理(包括替换代码)的编译器
sudo snap install notepadqq
sudo snap install notepad-plus-plus

出处:How to Install Notepad++ on Linux (and 5 Alternatives to Try)

预知更多详情,请查阅 https://zh-cn.libreoffice.org/download/pre-releases

参考文献

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant