How To Install libreoffice-writer on Ubuntu 20.04

In this tutorial we learn how to install libreoffice-writer on Ubuntu 20.04. libreoffice-writer is office productivity suite – word processor office productivity suite – word processor

Introduction

In this tutorial we learn how to install libreoffice-writer on Ubuntu 20.04.

What is libreoffice-writer

libreoffice-writer is:

LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office.

This package contains the wordprocessor component for LibreOffice. Task: ubuntu-desktop, ubuntu-desktop-default-languages, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libreoffice-writer Architecture: amd64 Version: 1:6.4.2-0ubuntu3 Priority: optional Section: editors Source: libreoffice Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian LibreOffice Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 38325 Depends: libreoffice-base-core (= 1:6.4.2-0ubuntu3), libreoffice-core (= 1:6.4.2-0ubuntu3), libabw-0.1-1, libc6 (>= 2.29), libe-book-0.1-1, libepubgen-0.1-1 (>= 0.1.0), libetonyek-0.1-1, libgcc-s1 (>= 3.0), libicu66 (>= 66.1-1~), libmwaw-0.3-3, libodfgen-0.1-1, librevenge-0.0-0, libstdc++6 (>= 5.2), libuno-cppu3 (>= 4.4.0~alpha), libuno-cppuhelpergcc3-3 (>= 5.3.0~alpha), libuno-sal3 (>= 5.3.0~alpha), libuno-salhelpergcc3-3 (>= 1.4.0), libwpd-0.10-10, libwpg-0.3-3, libwps-0.4-4, libxml2 (>= 2.8), uno-libs-private, ure, zlib1g (>= 1:1.1.4) Recommends: libreoffice-math Suggests: fonts-crosextra-caladea, fonts-crosextra-carlito, libreoffice-base, libreoffice-java-common (>= 1:6.4.2~), default-jre (>= 2:1.8) | java8-runtime | jre Breaks: libreoffice-common (« 1:6.4.2~rc1~) Replaces: libreoffice-common (« 1:6.4.2~rc1~) Filename: pool/main/libr/libreoffice/libreoffice-writer_6.4.2-0ubuntu3_amd64.deb Size: 8590140 MD5sum: ba90bc24b3ccd78e01c6ba5b85960353 SHA1: 377a11427c0d261e81946d6c0ccd19726ac5a05b SHA256: 32715f945a5b0e31af61d062b688c07a845b741a4e291b4b6ee61fa6e0cfbc1a Homepage: http://www.libreoffice.org Description-en: office productivity suite – word processor LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office.

This package contains the wordprocessor component for LibreOffice. Task: ubuntu-desktop, ubuntu-desktop-default-languages, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libreoffice-writer on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libreoffice-writer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libreoffice-writer using apt-get by running the following command:

sudo apt-get -y install libreoffice-writer

Install libreoffice-writer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libreoffice-writer using apt by running the following command:

sudo apt -y install libreoffice-writer

Install libreoffice-writer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libreoffice-writer using aptitude by running the following command:

sudo aptitude -y install libreoffice-writer

How To Uninstall libreoffice-writer on Ubuntu 20.04

To uninstall only the libreoffice-writer package we can use the following command:

sudo apt-get remove libreoffice-writer

Uninstall libreoffice-writer And Its Dependencies

To uninstall libreoffice-writer and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libreoffice-writer

Remove libreoffice-writer Configurations and Data

To remove libreoffice-writer configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libreoffice-writer

Remove libreoffice-writer configuration, data, and all of its dependencies

We can use the following command to remove libreoffice-writer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libreoffice-writer

References

Summary

In this tutorial we learn how to install libreoffice-writer package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.