debian系統下安裝開源辦公軟體libreoffice分三步:
第一步下載:到官方網站上下載linux版本的安裝包。
第二步解壓:tar -zxvf LibreOffice_7.2.4_Linux_x86-64_deb.tar.gz
第三步安裝:sudo dpkg -i *.deb
安裝代碼如下:
zhong@debian:~/下載$ tar xvf LibreOffice_7.2.4_Linux_x86-64_deb.tar.gz
LibreOffice_7.2.4.1_Linux_x86-64_deb/
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-en-us_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-writer_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-base_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-libreofficekit-data_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-math_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-core_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-onlineupdate_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-draw_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-dict-en_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-dict-es_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-extension-mediawiki-publisher_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-images_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-xsltfilter_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-ogltrans_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-librelogo_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-ooolinguistic_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-impress_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-extension-report-builder_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-graphicfilter_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-postgresql-sdbc_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-gnome-integration_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-base_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-impress_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-python-script-provider_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-extension-javascript-script-provider_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-kde-integration_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-dict-fr_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-calc_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-draw_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-ure_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-calc_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-writer_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-extension-nlpsolver_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-en-us_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-ooofonts_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-math_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-extension-beanshell-script-provider_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-extension-pdf-import_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-pyuno_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libobasis7.2-firebird_7.2.4.1-1_amd64.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/DEBS/libreoffice7.2-debian-menus_7.2.4-1_all.deb
LibreOffice_7.2.4.1_Linux_x86-64_deb/readmes/
LibreOffice_7.2.4.1_Linux_x86-64_deb/readmes/README_en-US
zhong@debian:~/下載$ sudo dpkg -i *.deb
[sudo] zhong 的密碼:
dpkg: 警告: 即將把 code 從 1.63.1-1639448820 降級到 1.62.3-1637137107
(正在讀取資料庫 ... 系統當前共安裝有 215297 個文件和目錄。)
準備解壓 code_1.62.3-1637137107_amd64.deb ...
正在解壓 code (1.62.3-1637137107) 並覆蓋 (1.63.1-1639448820) ...
準備解壓 fcitx-baidupinyin.deb ...
正在解壓 fcitx-baidupinyin:amd64 (1.0.1.0) 並覆蓋 (1.0.1.0) ...
正在選中未選擇的軟體包 microsoft-edge-beta。
準備解壓 microsoft-edge-beta_95.0.1020.20-1_amd64.deb ...
正在解壓 microsoft-edge-beta (95.0.1020.20-1) ...
準備解壓 nordvpn-release_1.0.0_all.deb ...
正在解壓 nordvpn-release (1.0.0) 並覆蓋 (1.0.0) ...
準備解壓 todesk_4.0.3_amd64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/todeskd.service.
正在解壓 todesk (4.0.3) 並覆蓋 (4.0.3) ...
正在選中未選擇的軟體包 wps-office。
準備解壓 wps-office_11.1.0.10702_amd64.deb ...
正在解壓 wps-office (11.1.0.10702) ...
正在設置 code (1.62.3-1637137107) ...
正在設置 fcitx-baidupinyin:amd64 (1.0.1.0) ...
正在設置 microsoft-edge-beta (95.0.1020.20-1) ...
正在設置 nordvpn-release (1.0.0) ...
正在設置 todesk (4.0.3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/todeskd.service → /etc/systemd/system/todeskd.service.
正在設置 wps-office (11.1.0.10702) ...
正在處理用於 mailcap (3.69) 的觸發器 ...
正在處理用於 shared-mime-info (2.0-1) 的觸發器 ...
正在處理用於 man-db (2.9.4-2) 的觸發器 ...
正在處理用於 hicolor-icon-theme (0.17-2) 的觸發器 ...
正在處理用於 fontconfig (2.13.1-4.2) 的觸發器 ...
卸載libreoffice命令:
sudo apt-get remove --purge libreoffice*