How To Install restfuldb on Kali Linux
Introduction
In this tutorial we learn how to install restfuldb
on Kali Linux.
What is restfuldb
restfuldb is:
RestfulDB is a Web frontend for SQL databases. It provides both a Web GUI and a RESTful API for interaction with any MySQL/MariaDB or SQLite database. RestfulDB is developed with off-the-shelf usage in mind, but nevertheless it provides the means to override the default interpretations of underlying database’s schema and data.
There are three methods to install restfuldb
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 restfuldb Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install restfuldb
using apt-get
by running the following command:
sudo apt-get -y install restfuldb
Install restfuldb Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install restfuldb
using apt
by running the following command:
sudo apt -y install restfuldb
Install restfuldb Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux 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 restfuldb
using aptitude
by running the following command:
sudo aptitude -y install restfuldb
How To Uninstall restfuldb on Kali Linux
To uninstall only the restfuldb
package we can use the following command:
sudo apt-get remove restfuldb
Uninstall restfuldb And Its Dependencies
To uninstall restfuldb
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove restfuldb
Remove restfuldb Configurations and Data
To remove restfuldb
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge restfuldb
Remove restfuldb configuration, data, and all of its dependencies
We can use the following command to remove restfuldb
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge restfuldb
Dependencies
restfuldb have the following dependencies:
- apache2
- javascript-common
- libauthen-oath-perl
- libcgi-pm-perl
- libdata-validate-uri-perl
- libdatetime-perl
- libexcel-writer-xlsx-perl
- libfile-mimeinfo-perl
- libhash-merge-perl
- libhtml-fromtext-perl
- libjs-jquery
- libjs-select2.js
- liblist-moreutils-perl
- librestfuldb-perl
- libspreadsheet-wright-perl
- libtext-csv-perl
- libtext-csv-xs-perl
- libtext-markdown-perl
- libtext-sprintfn-perl
- liburi-encode-perl
- liburl-encode-perl
- libxml-libxml-perl
- perl
References
Summary
In this tutorial we learn how to install restfuldb
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.