Install LibreOffice 6 on CentOS, Fedora, Debian, Ubuntu & Linux Mint
LibreOffice is the Linux alternative for the office suite that every day we must use thousands of users to carry out tasks such as:
- Creating text or multimedia files
- Preparation of presentations
LibreOffice is an open source software and is a project of the non-profit organization, The Document Foundation, which seeks to offer users a broad suite, with high functionalities, but with a simplicity of use.
When using LibreOffice, we will be facing a suite that offers advanced functions at the level of Word documents, data processing, spreadsheets, presentations, drawings, Calc and many other applications.
Now we will see how to install LibreOffice 6 in the different distributions of Linux.
Install LibreOffice on CentOS 7
1. Download LibreOffice by selecting the package for your Linux architecture; we are going to use Wget. First, access the tmp directory:
cd/tmp
2. Now execute according to your architecture:
32-bit
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/rpm/x86/LibreOffice_6.0.0_Linux_x86_rpm.tar.gz
64-bit
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/rpm/x86_64/LibreOffice_6.0.0_Linux_x86-64_rpm.tar.gz
3. Remove any previous versions of OpenOffice and LibreOffice if they exist:
yum remove openoffice* libreoffice*
4. Extract the content of the downloaded file, for this; we execute one of the following lines:
tar -xvf LibreOffice_6.0.0_Linux_x86_rpm.tar.gz (32 bits) tar -xvf LibreOffice_6.0.0_Linux_x86-64_rpm.tar.gz (64 bits)
5. Access to the RPMS directory:
32 bit
cd /tmp/LibreOffice_6.0.0.3_Linux_x86_rpm/RPMS/
64 bit
cd /tmp/LibreOffice_6.0.0.3_Linux_x86-64_rpm/RPMS/
6. Now install LibreOffice:
yum localinstall *.rpm
7. You can run LibreOffice with this:
libreoffice6.0
Install LibreOffice on Debian 9
1. Download LibreOffice based on the architecture:
32-bit
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/deb/x86/LibreOffice_6.0.0_Linux_x86_deb.tar.gz
64-bit
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/deb/x86_64/LibreOffice_6.0.0_Linux_x86-64_deb.tar.gz
2. Remove the previous versions of LibreOffice:
sudo apt-get remove openoffice* libreoffice*
3. Extract the downloaded file:
tar -xvf LibreOffice_6.0.0_Linux_x86_deb.tar.gz (32-bits) tar -xvf LibreOffice_6.0.0_Linux_x86-64_deb.tar.gz (64-bits)
4. Install LibreOffice 6.0 packages:
32-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86_deb/DEBS/ sudo dpkg -i *.deb
64-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86-64_deb/DEBS/ sudo dpkg -i *.deb
5. Run LibreOffice 6.0:
libreoffice6.0
Install LibreOffice in Fedora 27
1. Download the LibreOffice RPM package from the official site:
32-bits
cd /tmp wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/rpm/x86/LibreOffice_6.0.0_Linux_x86_rpm.tar.gz
64-bits
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/rpm/x86_64/LibreOffice_6.0.0_Linux_x86-64_rpm.tar.gz
2. Uninstall LibreOffice & OpenOffice previous versions:
yum remove openoffice* libreoffice*
3. Extract the content of the downloaded RPM:
tar -xvf LibreOffice_6.0.0_Linux_x86_rpm.tar.gz (32-bits) tar -xvf LibreOffice_6.0.0_Linux_x86-64_rpm.tar.gz (64-bits)
4. Install LibreOffice 6.0 executing one of the following commands:
32-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86_rpm/RPMS/ dnf install *.rpm
64-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86-64_rpm/RPMS/ dnf install *.rpm
Install LibreOffice on Ubuntu 17
For Ubuntu 17 distribution the process is similar.
1. Download the DEB file according to your architecture like this:
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/deb/x86/LibreOffice_6.0.0_Linux_x86_deb.tar.gz wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/deb/x86_64/LibreOffice_6.0.0_Linux_x86-64_deb.tar.gz
2. Remove previous LibreOffice and OpenOffice packages installed:
sudo apt-get remove openoffice* libreoffice*
3. Extract the contents of the DEB package:
tar -xvf LibreOffice_6.0.0_Linux_x86_deb.tar.gz (32-bits) tar -xvf LibreOffice_6.0.0_Linux_x86-64_deb.tar.gz (64-bits)
4. Install LibreOffice 6.0:
32-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86_deb/DEBS/ sudo dpkg -i *.deb
64-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86-64_deb/DEBS/ sudo dpkg -i *.deb
Install LibreOffice in Linux Mint
1. Download the DEB file according to our architecture:
wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/deb/x86/LibreOffice_6.0.0_Linux_x86_deb.tar.gz wget http://download.documentfoundation.org/libreoffice/stable/6.0.0/deb/x86_64/LibreOffice_6.0.0_Linux_x86-64_deb.tar.gz
2. Remove existing LibreOffice and OpenOffice packages:
sudo apt-get remove openoffice* libreoffice*
3. Extract the contents of the DEB package:
tar -xvf LibreOffice_6.0.0_Linux_x86_deb.tar.gz (32-bits) tar -xvf LibreOffice_6.0.0_Linux_x86-64_deb.tar.gz (64-bits)
4. Install LibreOffice on Linux Mint:
32-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86_deb/DEBS/ sudo dpkg -i *.deb
64-bits
cd /tmp/LibreOffice_6.0.0.3_Linux_x86-64_deb/DEBS/ sudo dpkg -i *.deb
Thus, we have seen the various options to install LibreOffice 6.0 in some of the most used distributions of Linux.