How To Install pkg-r-autopkgtest on Debian 10
Introduction
In this tutorial we learn how to install pkg-r-autopkgtest
on Debian 10.
What is pkg-r-autopkgtest
pkg-r-autopkgtest is:
This package contains the pkg-r-autopkgtest script that runs the unit tests contained in the source tree from which it is launched. It is intended to be used by the support for R packages, which is implemented in autodep8.
Packages using the tests with autopkgtests in this package need to simply set “Testsuite: autopkgtest-pkg-r” in debian/control.
There are three methods to install pkg-r-autopkgtest
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install pkg-r-autopkgtest Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pkg-r-autopkgtest
using apt-get
by running the following command:
sudo apt-get -y install pkg-r-autopkgtest
Install pkg-r-autopkgtest Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pkg-r-autopkgtest
using apt
by running the following command:
sudo apt -y install pkg-r-autopkgtest
Install pkg-r-autopkgtest 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install pkg-r-autopkgtest
using aptitude
by running the following command:
sudo aptitude -y install pkg-r-autopkgtest
How To Uninstall pkg-r-autopkgtest on Debian 10
To uninstall only the pkg-r-autopkgtest
package we can use the following command:
sudo apt-get remove pkg-r-autopkgtest
Uninstall pkg-r-autopkgtest And Its Dependencies
To uninstall pkg-r-autopkgtest
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove pkg-r-autopkgtest
Remove pkg-r-autopkgtest Configurations and Data
To remove pkg-r-autopkgtest
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge pkg-r-autopkgtest
Remove pkg-r-autopkgtest configuration, data, and all of its dependencies
We can use the following command to remove pkg-r-autopkgtest
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pkg-r-autopkgtest
Dependencies
pkg-r-autopkgtest have the following dependencies:
References
Summary
In this tutorial we learn how to install pkg-r-autopkgtest
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.