How To Install license-finder-pip on Ubuntu 18.04
Introduction
In this tutorial we learn how to install license-finder-pip
on Ubuntu 18.04.
What is license-finder-pip
license-finder-pip is:
LicenseFinder works with your package managers to find dependencies, detect the licenses of the packages in them, compare those licenses against a user-defined whitelist, and give you an actionable exception report.
This is pip version of LicenseFinder.
There are three methods to install license-finder-pip
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 license-finder-pip Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install license-finder-pip
using apt-get
by running the following command:
sudo apt-get -y install license-finder-pip
Install license-finder-pip Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install license-finder-pip
using apt
by running the following command:
sudo apt -y install license-finder-pip
Install license-finder-pip 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 license-finder-pip
using aptitude
by running the following command:
sudo aptitude -y install license-finder-pip
How To Uninstall license-finder-pip on Ubuntu 18.04
To uninstall only the license-finder-pip
package we can use the following command:
sudo apt-get remove license-finder-pip
Uninstall license-finder-pip And Its Dependencies
To uninstall license-finder-pip
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove license-finder-pip
Remove license-finder-pip Configurations and Data
To remove license-finder-pip
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge license-finder-pip
Remove license-finder-pip configuration, data, and all of its dependencies
We can use the following command to remove license-finder-pip
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge license-finder-pip
References
Summary
In this tutorial we learn how to install license-finder-pip
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.