Install LibreOffice with Snap

Snaps are packages of applications that are designed to work on almost every Linux distro. This saves developers the hassle of needing to package software for a variety of different Linux operating systems.

Here are the sections of the page:

Overview

Canonical, the company behind Ubuntu, developed the Snap Store in 2014. Developers can submit there applications with all the required libraries and dependencies to the store, and users can install those apps either through the the store user interface or the Terminal app in the application.

Snapd, the store that you can install the LibreOffice snap through, can be found in the software center or manager in many distros. It also can be installed with the Terminal in just about every distro.

Linux package management approaches, like APT or YUM, require specifically adapted packages for each Linux distribution. Developers need to tweak their software for each operating system and their different versions. With the Snap Store,developers do not need to create special versions for each operating system.

There are also alternatives to Snaps, like Flatpaks, where developers can create a single Linux version of their applications. Many users and developers prefer Flatpaks to Snaps because developers have more control over a Flatpak. Snaps need to be submitted to Canonical and its Snap Store to be distributed.

The advantage of Snaps is that they are easier to install because they can only be distributed through a centralized repository, particularly through a Terminal application. Once the store is installed, simply type the following in the terminal:

  • sudo snap install <app name>

If you know the name of the app that you want to install, simply type it after “install” in the above command.

Video

Preinstalled

  • Ubuntu 16.04.4 LTS (Xenial Xerus)
  • Ubuntu 18.04 LTS (Bionic Beaver)
  • Ubuntu 18.10 (Cosmic Cuttlefish)
  • Ubuntu 19.04 (Disco Dingo)
  • Ubuntu 19.10 (Eoan Ermine)
  • Kubuntu
  • Ubuntu Budgie
  • Ubuntu MATE
  • Ubuntu Studio
  • Xubuntu

Installing through Terminal

The store can be installed on most Linux distros by using the Terminal that comes preinstalled on the distro.

Ubuntu based systems and Debian

The following commands can be used in the Terminal in anu Ubuntu-based operating system. This includes Linux Mint, elementary, Zorin, and Pop_OS!

  1. Launch the Terminal in your operating system.
  2. Type “sudo apt update” where the cursor is flashing.
  3. Press Return or Enter on your keyboard.
  4. Type “sudo apt install snapd” on the next line.
  5. Press Return or Enter on your keyboard.
  6. The next time the prompt appears, type “sudo snap install libreoffice”

The latest version of LibreOffice is now installed.

CentOS and Red hat Enterprise Linux

  1. Launch the Terminal in your operating system.
  2. Type “sudo yum update” where the cursor is flashing.
  3. Press Return or Enter on your keyboard.
  4. Type “sudo yum install snapd” on the next line.
  5. Press Return or Enter on your keyboard.
  6. The next time the prompt appears, type “sudo snap install libreoffice”

The latest version of LibreOffice is now installed.

Fedora

  1. Launch the Terminal in your operating system.
  2. Type “sudo dnf install snapd” on the next line.
  3. Press Return or Enter on your keyboard.
  4. The next time the prompt appears, type “sudo snap install libreoffice”

The latest version of LibreOffice is now installed.

Manjaro Linux

  1. Launch the Terminal in your operating system.
  2. Type “sudo pacman -S snapd” on the next line.
  3. Press Return or Enter on your keyboard.
  4. The next time the prompt appears, type “sudo snap install libreoffice”

The latest version of LibreOffice is now installed.

Arch Linux

  1. Launch the Terminal in your operating system.
  2. Type “git clone https://aur.archlinux.org/snapd.git&#8221;
  3. Press Return or Enter on your keyboard.
  4. Type “cd snapd”
  5. Press Return or Enter on your keyboard.
  6. Type “makepkg -si”
  7. Press Return or Enter on your keyboard.

The latest version of LibreOffice is now installed.

Installing through software center

For many Linux distros, the Snap store can only be installed through the Terminal. However, it can be installed through the software centers in Ubuntu and Ubuntu-based.

  • GalliumOS: Install through the Synaptic package manager
  • KDE Neon: Installed by default. It can be reinstalled through Discover, the KDE software centre application
  • Kubuntu 16.04 and later: preinstalled.
  • Linux Mint: For the 18 and 19 versions through the software manager. However, snap is disabled in the APT manager in version 20. It is very easy to re-enable through the Terminal, however. Click here to learn how.
  • Lubuntu: Versions 18.10 and later come with it preinstalled. If you are using versions 14.04 to 18.04, the snap store can be installed through the Synaptic Package Manager.
  • Manjaro Linux: The store can be installed through njaro’s Add/Remove Software application (Pamac). Search for “snapd” in the application.
  • Ubuntu: If you are using a version older than 16.04, it can be installed through the Ubuntu Software Center. Search for “snapd” in the application.
  • Xubuntu: If you are using a version older than 16.04, it can be installed through the Ubuntu Software Center. Search for “snapd” in the application.

Issues with Snap

Though Snap makes it easier for developers to make their applications on a wide variety of distros without needing to focus on each in particular distro. There are many people and organizations who don’t like it, and many communities who will not release their distros with it pre-installed.

This is because the software repository is controlled by a single organization. Canonical developed it and runs the store. Anyone who wants to release a snappy needs to submit it to Canonical’s store.

Alternatives

Two alternatives to Snap are:

  • Flatpak
  • AppImage