Foliate is a free, open-source eBook reader that brands itself “A simple and modern eBook viewer for Linux desktops.” It is an excellent e-reader app for people who love reading and managing their books. It has an easy-to-use library view with reflowable text, which means you can read all of your favorite formats on this great device!
In the following tutorial, you will learn to install the Foliate on Ubuntu 22.04 LTS Jammy Jellyfish using three methods: apt package manager, flatpak package manager, and snapcraft package manager, along with some tips for maintaining or removing Foliate in the future.
Table of Contents
Before you begin, make sure your system is up-to-date to avoid any conflicts during the installation, and for good practice, use the terminal command as follows.
sudo apt update && sudo apt upgrade -y
Install Foliate – APT with PPA Method
The first option is to use the LaunchPAD PPA APT repository by Archisman Panigrahi, which is officially listed on Foliates website as a recommended installation option. This PPA contains the latest version of Foliate, which is stable and daily builds for those that would like the latest bleeding-edge version possible.
Import the PPA, either stable or daily PPA. Please note that only one version can be installed at a time. If you import both PPAs, then the daily build will be installed.
Import Foliate Stable PPA
sudo add-apt-repository ppa:apandada1/foliate -y
Import Foliate Daily PPA (Bleeding-Edge)
sudo add-apt-repository ppa:apandada1/foliate-daily -y
Next, perform an APT update to sync the new PPA.
sudo apt-get update
Install Foliate Stable
Now install Foliate from the PPA using the following apt install command.
sudo apt install foliate -y
Install Foliate Daily
Users that have imported the Foliate Daily PPA use the following apt install command.
sudo apt install com.github.johnfactotum.foliate -y
Install Foliate – Snapcraft Method
The second option is to install Foliate with Snap. The Snapcraft package manager should be installed on your Ubuntu desktop unless you have removed it previously.
For users that removed snapd, re-run the following command:
sudo apt install snapd -y
Once installed, you will need to restart your system, or else the icons may not appear; if you skip a repeat and notice any issues, reboot.
Snap installed? Skip the following few lines and proceed straight to the installation of Foliate with Snap
Next, some packages come in classic, so you need to create a symlink to enable classic snap support, so it is best to run this command for the best snap compatibility.
sudo ln -s /var/lib/snapd/snap /snap
Install the core files to avoid conflicting issues.
sudo snap install core
Next, enter the following snap command to install the Foliate.
sudo snap install foliate
Install Foliate – Flatpak Method
The third option is to use the Flatpak package manager. This is another popular option similar to Snap but is featured amongst many distributions as an alternative third-party installation package manager for the latest packages.
First, re-install Flatpak if you have removed the package manager previously.
sudo apt install flatpak -y
Before you proceed, reboot your system or else you will have issues such as applications icons not appearing.
Next, you need to enable Flatpack using the following command in your terminal:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install Foliate using the following flatpak command:
flatpak install flathub com.github.johnfactotum.Foliate -y
How to Launch Foliate
Now that you have the Foliate installed, launching can be done in a few ways.
With your terminal opened, you can use the following command to launch immediately.
Snap users need to use the snap run <application> command.
snap run foliate
Lastly, Flatpak users can run from the terminal using the following command.
flatpak run com.github.johnfactotum.Foliate
However, this isn’t practical, and you would use the following path on your desktop.
Activities > Show Applications > Foliate
Once open, you can start importing your feeds and URLs to build your reading list
Congratulations, you have successfully installed Foliate.
How to Update/Upgrade Foliate
Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless use one of the following commands to check for updates.
sudo apt update
sudo snap refresh
How to Remove (Uninstall) Foliate
Use one of the following commands to suit the original installation method for users who no longer require the application.
APT Remove Method
Remove Stable version:
sudo apt autoremove foliate --purge -y
Remove Daily version:
sudo apt autoremove com.github.johnfactotum.foliate --purge -y
Note, autoremove will also delete any unused packages from Foliate and any other leftovers from previous applications. Most times, this is safe to do and should be done to keep your system from being bloated.
Lastly, users that installed Foliate from the PPA by Archisman Panigrahi remove the PPA using the following command.
Remove Stable PPA:
sudo add-apt-repository ppa:apandada1/foliate --remove -y
Remove Daily PPA:
sudo add-apt-repository ppa:apandada1/foliate-daily --remove -y
Flatpak Remove Method
flatpak remove --delete-data com.github.johnfactotum.Foliate -y
Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the apt remove example command.
flatpak remove --unused
Snapcraft Remove Method
sudo snap remove foliate
Comments and Conclusion
In the tutorial, you have learned how to install Foliate the modern E-Book Viewer on Ubuntu 22.04 LTS Jammy Jellyfish using one of the three installation methods.
Foliate is an interesting e-reader app that focuses on reading and book management. It has a dedicated library view and supports typical e-book formats with reflowable text. PDF support is being considered, but no fixed layout formats are currently supported. If you’re looking for an e-reader app that focuses on reading, Foliate may be the right choice.