How to open a PDF in the Linux Mint 20 Terminal

s2 0

Evince is a relatively new document viewer designed with the intention of integrating multiple document viewers into a single tool. It was made so that you don’t need a different document viewer for each type of document. In addition, you can use this tool to view your documents in the Linux terminal. In this article, we are going to show you how to use this tool to open a PDF in the Linux Mint 20 terminal.

Open a PDF in the Linux Mint 20 terminal

To instantly open a PDF in your Linux Mint 20 terminal, you need to follow the steps below:

Step # 1: Perform a system update

First of all, you should quickly update your system using the following command:

$ sudo apt update

Step # 2: Install Evince on your system

After updating your system, you will need to install a tool called Evince. This tool can be installed by running the following command:

$ sudo apt install evince

It’s an extremely lightweight tool, which is why it barely takes a minute to install on your Linux Mint 20 system, after which you will see the following messages on your screen.

Step 3: use Evince to open a PDF in your Linux Mint 20 terminal:

Now that “Evince” has been successfully installed on your Linux Mint 20 system, you can use it to open a PDF in your terminal by executing the command shown below:

$ evince File.pdf

Replace “file” with the name of the specific PDF file you want to open in your terminal, followed by the extension “.pdf”.

After you run this command, your PDF will instantly open in Terminal as shown in the following image:

advertising

Bonus tip

With the tool “Evince” you can open your PDFs from the Linux terminal. However, if you want to completely remove this tool from your system, you can quickly run the command shown below:

$ sudo apt-get purge --autoremove evince

diploma

This article introduced you to a very common use case of the Evince tool in Linux Mint 20, that is, opening a PDF file from the Linux terminal. You can also view any other supported document types in the same way while using this tool. In addition, in this article, we have also shared with you the removal method of this tool from your Linux Mint 20 system.

How to open a PDF in the Linux Mint 20 Terminal