How To Install colly on Kali Linux
Introduction
In this tutorial we learn how to install colly
on Kali Linux.
What is colly
This package contains a Colly Lightning Fast and Elegant Scraping Framework for Gophers. Colly provides a clean interface to write any kind of crawler/scraper/spider.
With Colly you can easily extract structured data from websites, which can be used for a wide range of applications, like data mining, data processing or archiving.
There are three ways to install colly
on Kali Linux . We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install colly Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install colly
using apt-get
by running the following command:
sudo apt-get -y install colly
Install colly Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install colly
using apt
by running the following command:
sudo apt -y install colly
Install colly 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 Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install colly
using aptitude
by running the following command:
sudo aptitude -y install colly
How To Uninstall colly on Kali Linux
To uninstall only the colly
package we can use the following command:
sudo apt-get remove colly
Uninstall colly And Its Dependencies
To uninstall colly
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove colly
Remove colly Configurations and Data
To remove colly
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge colly
Remove colly configuration, data, and all of its dependencies
We can use the following command to remove colly
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge colly
References
Summary
In this tutorial we learn how to install colly
using different package management tools like apt, apt-get and aptitude.