How To Install dspdfviewer on Ubuntu 22.04
Introduction
In this tutorial we learn how to install dspdfviewer on Ubuntu 22.04.
What is dspdfviewer
dspdfviewer is:
This is a specialized PDF Viewing application custom-made for the LaTeX class beamer, specifically the “show notes on second screen=right” option.
To make use of this program, you will need a document created by latex-beamer, and you will need two monitors connected to your computer. They do not need to have the same resolution, not even the same aspect ratio.
This program will split your PDF page in half, and display the left half (intended for the audience) on one monitor (think: a notebook’s VGA output connected to your university’s projector) and it will display the right half (intended for you) on the second screen. Also, on the second screen, you get page thumbnails and status information, like the time since you started the presentation and a “wall clock”.
There are three methods to install dspdfviewer 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 dspdfviewer Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install dspdfviewer using apt-get by running the following command:
sudo apt-get -y install dspdfviewer
Install dspdfviewer Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install dspdfviewer using apt by running the following command:
sudo apt -y install dspdfviewer
Install dspdfviewer 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 dspdfviewer using aptitude by running the following command:
sudo aptitude -y install dspdfviewer
How To Uninstall dspdfviewer on Ubuntu 22.04
To uninstall only the dspdfviewer package we can use the following command:
sudo apt-get remove dspdfviewer
Uninstall dspdfviewer And Its Dependencies
To uninstall dspdfviewer and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove dspdfviewer
Remove dspdfviewer Configurations and Data
To remove dspdfviewer configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge dspdfviewer
Remove dspdfviewer configuration, data, and all of its dependencies
We can use the following command to remove dspdfviewer configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dspdfviewer
References
Summary
In this tutorial we learn how to install dspdfviewer package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.