How To Install libvi-quickfix-perl on Ubuntu 18.04

In this tutorial we learn how to install libvi-quickfix-perl on Ubuntu 18.04. libvi-quickfix-perl is Perl support for vims QuickFix mode

Introduction

In this tutorial we learn how to install libvi-quickfix-perl on Ubuntu 18.04.

What is libvi-quickfix-perl

libvi-quickfix-perl is:

If a Perl program or module uses Vi::QuickFix, Perl logs errors and warnings to an error file. While editing that program or module with vim you can ask Perl to compile it. If there are errors during compilation, the error file is picked when you type a special QuickFix command and Vim will jump to the location of the first error recorded. Other QuickFix commands allow you to jump to other error messages, switching files if necessary.

This module is intended as a debugging tool for Perl programmers using Vim.

There are three methods to install libvi-quickfix-perl on Ubuntu 18.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 libvi-quickfix-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libvi-quickfix-perl

Install libvi-quickfix-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvi-quickfix-perl using apt by running the following command:

sudo apt -y install libvi-quickfix-perl

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

sudo aptitude -y install libvi-quickfix-perl

How To Uninstall libvi-quickfix-perl on Ubuntu 18.04

To uninstall only the libvi-quickfix-perl package we can use the following command:

sudo apt-get remove libvi-quickfix-perl

Uninstall libvi-quickfix-perl And Its Dependencies

To uninstall libvi-quickfix-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libvi-quickfix-perl

Remove libvi-quickfix-perl Configurations and Data

To remove libvi-quickfix-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libvi-quickfix-perl

Remove libvi-quickfix-perl configuration, data, and all of its dependencies

We can use the following command to remove libvi-quickfix-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvi-quickfix-perl

References

Summary

In this tutorial we learn how to install libvi-quickfix-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.