How To Install viewvc-query on Ubuntu 18.04
Introduction
In this tutorial we learn how to install viewvc-query
on Ubuntu 18.04.
What is viewvc-query
viewvc-query is:
ViewVC is a browser (web) interface for CVS and Subversion version control repositories. It generates templatized HTML to present navigable directory, revision, and change log listings. It can display specific versions of files as well as diffs between those versions.
This package includes query.cgi (and equivalent FastCGI and mod-python variants): a utility to query a separate CVS and Subversion commit database. You can search for multiple matches by typing comma-separated lists into the text fields. Regular expressions and wildcards are also supported. It requires a stand-alone MySQL database server.
There are three methods to install viewvc-query
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 viewvc-query Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install viewvc-query
using apt-get
by running the following command:
sudo apt-get -y install viewvc-query
Install viewvc-query Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install viewvc-query
using apt
by running the following command:
sudo apt -y install viewvc-query
Install viewvc-query 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 viewvc-query
using aptitude
by running the following command:
sudo aptitude -y install viewvc-query
How To Uninstall viewvc-query on Ubuntu 18.04
To uninstall only the viewvc-query
package we can use the following command:
sudo apt-get remove viewvc-query
Uninstall viewvc-query And Its Dependencies
To uninstall viewvc-query
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove viewvc-query
Remove viewvc-query Configurations and Data
To remove viewvc-query
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge viewvc-query
Remove viewvc-query configuration, data, and all of its dependencies
We can use the following command to remove viewvc-query
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge viewvc-query
References
Summary
In this tutorial we learn how to install viewvc-query
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.