How To Install apvlv on Ubuntu 22.04

In this tutorial we learn how to install apvlv on Ubuntu 22.04. apvlv is PDF viewer with Vim-like behaviour

Introduction

In this tutorial we learn how to install apvlv on Ubuntu 22.04.

What is apvlv

apvlv is:

apvlv (Alf’s PDF Viewer Like Vim) is a small and fast PDF viewer, that uses poppler for rendering. Its interface aims to users who like vim behaviour. For example opening a PDF file can be done with ‘:o filename’. apvlv can also work with tabs, so you can open multiple files at the same time in one program.

There are three methods to install apvlv on Ubuntu 22.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 apvlv Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install apvlv

Install apvlv Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install apvlv using apt by running the following command:

sudo apt -y install apvlv

Install apvlv 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 apvlv using aptitude by running the following command:

sudo aptitude -y install apvlv

How To Uninstall apvlv on Ubuntu 22.04

To uninstall only the apvlv package we can use the following command:

sudo apt-get remove apvlv

Uninstall apvlv And Its Dependencies

To uninstall apvlv and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove apvlv

Remove apvlv Configurations and Data

To remove apvlv configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge apvlv

Remove apvlv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge apvlv

References

Summary

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