avatar

Ebit

编程爱好者
欢迎交流!

全部文章总字数:434.8k


⣿⣿⣿⣿⣿⣿⡿⢛⠝⣠⡾⠋⠁⢀⣴⡶⣎⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣮⣭⣙⡻⠿⠋⣠⡞⠟⠃⠀⢀⡌⠻⢿⣿⣿
⣿⣿⣿⣿⣿⡿⠁⢀⣼⠟⠀⠀⣀⣽⣿⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡍⢀⣴⡏⠁⠀⠀⢠⣿⣿⣷⣦⡹⣿
⣿⣿⣿⣿⣿⢣⣄⠈⠁⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠀⠾⠏⡇⠀⡄⣠⡿⣿⣿⣿⣿⣿⣾
⣿⣿⣿⣿⣏⣿⣿⡦⢀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠐⢿⣿⡼⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⡟⣱⣿⣿⣿⣿⣿⣿⠃⣿⡿⣿⣿⣿⣿⣿⡟⠈⢿⣿⣿⣿⣿⢿⣻⣿⣿⣿⣿⡄⠀⠀⠀⠘⣮⣿⠝⢻⣿⣿⣿⣿
⣿⣿⣿⣿⣿⢏⣼⡿⣻⣿⣿⣿⣿⠃⢀⢹⡇⣿⣿⣿⣿⣿⣷⠀⡈⢻⣿⣿⣿⣎⢿⣏⢿⣿⣿⣷⡀⠀⠀⠀⠘⣿⡇⠘⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣞⡝⣴⣿⣿⣿⣿⠃⢠⣿⠸⡇⢹⣿⣿⣿⢻⣿⡀⣿⡌⢻⣿⣿⣿⡌⣿⡌⣿⣿⣿⣷⠀⠀⠀⠀⠈⠧⢠⣿⣿⣿⣿
⣿⣿⣿⣿⣿⡿⣸⣿⣿⣿⣿⠇⢀⡛⣛⣇⢇⠈⣿⣿⣿⡎⣿⠁⢛⣛⡀⢛⡿⢿⣿⡘⣧⢹⣿⣿⣿⡇⢠⣄⡀⣠⠀⠈⢻⣿⣿⣿
⣿⣿⣿⣿⣿⢡⣿⣿⣿⣿⡏⢀⡟⣸⣿⣿⡌⠀⡸⣿⣿⣷⢸⠀⢸⣿⣿⣄⠻⣿⣿⣧⢹⢸⣿⣿⣿⣿⠸⡿⢰⣿⠀⢀⠻⣿⣿⣿
⣿⣿⣿⣿⡏⣾⣿⣿⣿⣿⠀⣾⠻⠿⠿⢿⣷⡀⢣⢻⣿⣿⡆⠀⢸⣯⡻⠿⣧⡘⢿⣿⣆⠀⣿⣿⣿⣿⡇⠀⠈⠉⠀⢸⡆⢸⣿⣿
⣿⣿⣿⣿⣁⣿⣿⣿⣿⡇⠘⠁⣠⡶⠂⠀⠙⣷⡈⢧⠹⣿⣇⢠⠈⠉⣠⣤⡄⠈⠙⠿⣿⡄⣿⣿⣿⣿⡇⠰⠖⠃⠀⢸⣷⠈⣿⣿
⣿⣿⣿⣼⣿⣿⣿⣿⣿⠀⢀⣾⣿⠟⠁⠀⠀⣿⣷⡀⣅⢹⣿⠘⡇⣿⣿⡿⠆⠀⠀⠀⠈⠃⠛⣿⣿⣿⡇⠀⠀⠀⠀⣿⣿⠀⣿⣿
⣿⣿⠟⣻⠿⣿⣿⣿⡟⠀⢸⣿⣿⡄⡄⠠⡀⣿⣿⣷⣜⣷⣬⣁⣿⣿⣿⠀⠀⡀⠀⠀⣧⢸⢡⣿⣿⡟⠁⠀⠀⠀⢰⣿⣿⡆⣿⣿
⣿⣿⣤⣿⠀⣿⣿⣿⡇⠀⠀⢿⣿⣷⣼⣯⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠻⠯⠟⣰⡟⠀⣾⣿⣿⡇⠀⠀⠀⠀⣿⣿⣿⡇⣿⣿
⣿⣿⣿⣿⡆⢹⣏⢿⡇⢠⣖⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⣼⣿⣿⣿⡇⠀⠀⠀⣠⣿⣿⣿⣧⣿⣿
⣿⣿⣿⣿⡱⠀⢿⡎⡡⠾⠿⢀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⣡⢰⢃⣿⣿⣿⠁⠀⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣷⣀⣄⢸⣿⣿⣭⣝⡊⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠂⣾⣿⣿⡟⢀⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⢿⣿⣿⣿⣿⣿⣿⢠⠙⢿⣿⣿⣿⣷⣬⡻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠋⡀⢸⣿⣿⢻⠇⠸⠃⠿⠿⠿⣿⣿⣿⣿⣿⣿
⢿⣿⣿⣿⣿⣿⡏⣸⠀⡇⠙⢿⣿⣿⣿⣿⣷⣍⠻⢿⣿⣿⣿⣿⣿⠿⢛⣭⡶⢋⣼⠇⣿⣿⡏⠀⠀⠀⣼⢛⣵⣾⣶⣮⡻⣿⣿⣿
⢸⣿⣿⣿⣿⣿⡇⣿⠀⠁⠀⡀⣍⠻⣿⣿⣿⣿⣧⣠⠙⠛⠋⢭⣶⡿⢟⣩⣶⣿⠟⣼⣿⠟⠀⠀⢀⣾⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⡇⣿⠀⣤⡀⣷⡝⣰⣿⣿⣿⣿⣿⠏⠰⠿⠀⣨⣵⣾⣿⣿⠟⠁⣼⡿⢋⣀⣤⠀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⡇⡿⣸⣿⣷⡟⣼⣿⣿⣿⣿⣿⡏⣠⣾⣿⡆⡸⣿⠿⣋⣵⢎⣚⣫⣴⣿⣿⡏⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⡇⢠⣿⡿⢋⣾⣿⣿⣿⣿⣿⡟⢠⣿⣿⠏⡀⢧⠁⢺⣿⣿⣿⣿⡿⣻⣿⡟⣰⡿⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⡇⣿⠏⠀⣿⣿⣿⣿⣿⣿⡟⠀⣼⡿⢁⢸⣧⣄⢀⡈⢿⣿⣿⣭⣾⣿⡟⣰⡿⣰⠇⣼⡄⣰⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⠘⠁⠆⠀⣿⣿⣿⣿⣿⡟⣰⡶⣿⢡⠏⢸⣿⠋⠚⣡⡈⣿⣿⣿⣿⠟⣱⣿⣇⠉⣴⠟⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿

2024-01-09T00:00:00.000Z

linux辦公套件

本片包括安裝apache open office以打開MS_office系列文件:docx/xlsx/pptx, 以及常用的編輯器vscode(ubuntu商店裏的是閹割版,不能輸入中文,必須換源)和ubuntu自帶中文輸入法的安裝

  1. office:apache open office
    • Download:注意選擇下載版本, 我是ubuntu系統, 是debian系的,所以我選擇Linux 64-bit (x86-64)(DEB)下載(chinese simplified)
    • Installation Guides
  2. 安裝實錄: 首先下載.tar.gz文件, 然後解壓, 得到壓縮包, 進入壓縮包:Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN$ ls
zh-CN
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN$ cd zh*
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN$ ls
DEBS  licenses  readmes
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN$ cd DEBS
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS$
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS$ ls
desktop-integration
openoffice_4.1.14-1_amd64.deb
openoffice-base_4.1.14-1_amd64.deb
openoffice-brand-base_4.1.14-1_amd64.deb
openoffice-brand-calc_4.1.14-1_amd64.deb
openoffice-brand-draw_4.1.14-1_amd64.deb
#...
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS$ sudo dpkg -i *.deb
[sudo] password for yibotian:
Selecting previously unselected package openoffice.
(Reading database ... 187701 files and directories currently installed.)
Preparing to unpack openoffice_4.1.14-1_amd64.deb ...
Unpacking openoffice (4.1.14-1) ...
Selecting previously unselected package openoffice-base.
Preparing to unpack openoffice-base_4.1.14-1_amd64.deb ...
#...
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS$ ls
desktop-integration
openoffice_4.1.14-1_amd64.deb
openoffice-base_4.1.14-1_amd64.deb
openoffice-brand-base_4.1.14-1_amd64.deb
#...
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS$ cd desk*
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS/desktop-integration$ ls
openoffice4.1-debian-menus_4.1.14-9811_all.deb
yibotian@Nicolette86132:~/Downloads/ApacheOpenOffice/Apache_OpenOffice_4.1.14_Linux_x86-64_install-deb_zh-CN/zh-CN/DEBS/desktop-integration$ sudo dpkg -i *.deb
Selecting previously unselected package openoffice-debian-menus.
(Reading database ... 191990 files and directories currently installed.)
Preparing to unpack openoffice4.1-debian-menus_4.1.14-9811_all.deb ...
Unpacking openoffice-debian-menus (4.1.14-9811) ...
Setting up openoffice-debian-menus (4.1.14-9811) ...
#...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
#over
  • 接下來是vscode:
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update && sudo apt install code

由於源在海外,整個過程可能需要十幾分鍾.當然,到官網下載他們指定的的安裝包也可以吧(我沒試過):安裝包

  • 中文輸入的問題, ubuntu是自帶漢語輸入的, 設置辦法:
  1. setting--region&language--manage更新語言包, 在language for裏面滾動鼠標確認有漢語/中文
  2. Keyboard--input_sources--"+"--Chinese(china)--chinese(intelligent pinyin)
  3. reboot

我是昨天設置的漢語輸入,這些過程沒有實操檢驗, 但是憑藉網上的教程我也比較快的解決了, 現在回憶起來大概是這個流程

注意,101中提到應使用apt install ./*.deb代替dpkg -i *.deb安裝