How To Install sputnik on Kali Linux
Introduction
In this tutorial we learn how to install sputnik
on Kali Linux.
What is sputnik
sputnik is:
Sputnik is a wiki written in Lua. It is also a platform for building a range of wiki-like applications, drawing on Lua’s strengths as an extension language.
Out of the box Sputnik behaves like a wiki with all the standard wiki features: editable pages, protection against spam bots, history view of pages, diff, preview, per-page-RSS feed for site changes.
At the same time, Sputnik is designed to be used as a platform for a wide range of “social software” applications. Sputnik stores its data as versioned “pages” that can be editable through the web, and it allows those pages to store any data that can be saved as text (prose, comma-separated values, lists of named parameters, Lua tables, mbox-formatted messages, XML, etc.) While by default the page is displayed as if it carried Markdown-formatted text, the way the page is viewed (or edited, or saved, etc.) can be overridden on a per-page basis by over-riding or adding “actions”.
The packages provide a wide range of storage modules that may require one of the suggested packages: git, lua5.1-sql-sqlite3, lua5.1-sql-mysql.
The easiest form of deployment is by using the Xavante web server.
There are three methods to install sputnik
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 sputnik Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sputnik
using apt-get
by running the following command:
sudo apt-get -y install sputnik
Install sputnik Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sputnik
using apt
by running the following command:
sudo apt -y install sputnik
Install sputnik 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 sputnik
using aptitude
by running the following command:
sudo aptitude -y install sputnik
How To Uninstall sputnik on Kali Linux
To uninstall only the sputnik
package we can use the following command:
sudo apt-get remove sputnik
Uninstall sputnik And Its Dependencies
To uninstall sputnik
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sputnik
Remove sputnik Configurations and Data
To remove sputnik
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sputnik
Remove sputnik configuration, data, and all of its dependencies
We can use the following command to remove sputnik
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sputnik
Dependencies
sputnik have the following dependencies:
- lua5.1-coxpcall
- lua5.1-wsapi
- lua5.1-markdown
- lua5.1-cosmo
- lua5.1-filesystem
- lua5.1-md5
- lua5.1-socket
- lua5.1
References
Summary
In this tutorial we learn how to install sputnik
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.