How To Install tarantool-lts on Debian 9
Introduction
In this tutorial we learn how to install tarantool-lts
on Debian 9.
What is tarantool-lts
tarantool-lts is:
Tarantool is an in-memory database and Lua application server. Its key properties include:
- flexible data model
- multiple index types: HASH, TREE, BITSET
- optional persistence and strong data durability
- log streaming replication
- Lua functions, procedures, triggers, with rich access to database API, JSON support, inter-procedure and network communication libraries
- a command line client supporting simple SQL and a native Lua console
This package provides Tarantool server.
There are three methods to install tarantool-lts
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install tarantool-lts Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tarantool-lts
using apt-get
by running the following command:
sudo apt-get -y install tarantool-lts
Install tarantool-lts Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tarantool-lts
using apt
by running the following command:
sudo apt -y install tarantool-lts
Install tarantool-lts 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 tarantool-lts
using aptitude
by running the following command:
sudo aptitude -y install tarantool-lts
How To Uninstall tarantool-lts on Debian 9
To uninstall only the tarantool-lts
package we can use the following command:
sudo apt-get remove tarantool-lts
Uninstall tarantool-lts And Its Dependencies
To uninstall tarantool-lts
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove tarantool-lts
Remove tarantool-lts Configurations and Data
To remove tarantool-lts
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge tarantool-lts
Remove tarantool-lts configuration, data, and all of its dependencies
We can use the following command to remove tarantool-lts
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tarantool-lts
Dependencies
tarantool-lts have the following dependencies:
References
Summary
In this tutorial we learn how to install tarantool-lts
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.