CentOS 8 manual and dnf/yum installation of LibreOffice

LibreOffice is a powerful office software that uses the OpenDocument Format (ODF) by default and supports other formats such as *.docx, *.xlsx, *.pptx, etc.

It is a powerful, uses the OpenDocument Format (ODF) by default, and supports .docx, *.xlsx, *.pptx and other formats.
Manually install the latest version of LibreOffice under centos8. To install under Centos8, you need to download the LibreOffice package.
First visit the official Chinese website of LibreOffice.https://zh-cn.libreoffice.org/
The installation package is divided into "Main Installer", "Translated Language Pack", and "Offline Help". If you want to use the Chinese interface, you must download the Chinese language pack.
You need to download three files: LibreOffice main program, LibreOffice Chinese language pack, and LibreOffice Chinese help file.

wget https://download.documentfoundation.org/libreoffice/stable/6.4.2/rpm/x86_64/LibreOffice_6.4.2_Linux_x86-64_rpm.tar.gz wget http://download.documentfoundation.org/libreoffice/stable/6.4.2/rpm/x86_64/LibreOffice_6.4.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz wget http://download.documentfoundation.org/libreoffice/stable/6.4.2/rpm/x86_64/LibreOffice_6.4.2_Linux_x86-64_rpm_helppack_zh-CN.tar.gz

After downloading, unzip the three files and install them separately: All rpm packages in the .rpm installation directory

tar -xzf LibreOffice_6.4.2_Linux_x86-64_rpm.tar.gz tar -xzf LibreOffice_6.4.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz tar -xzf LibreOffice_6.4.2_Linux_x86-64_rpm_helppack_zh-CN.tar.gz sudo yum install LibreOffice_6.4.2.2_Linux_x86-64_rpm/RPMS/.rpm sudo yum install LibreOffice_6.4.2.2_Linux_x86-64_rpm_langpack_zh-CN/RPMS/.rpm sudo yum install LibreOffice_6.4.2.2_Linux_x86-64_rpm_helppack_zh-CN/RPMS/.rpm

If you want to uninstall, just enter the uninstall command.

sudo yum remove libreoffice6.4-

Install libreoffice using dnf/yum:
The disadvantage of using yum to install is that the version installed on yum is lower!

dnf -y install libreoffice-headless dnf -y install libreoffice-writer dnf -y install libreoffice-impress dnf -y install libreoffice-calc dnf -y install libreoffice-draw dnf -y install libreoffice-langpack-zh-Hans
score

Leave a Reply

Your email address will not be published. Required fields are marked *