How To Install tarantool on Fedora 34

tarantool is In-Memory Database In-Memory Database

Introduction

In this tutorial we learn how to install tarantool on Fedora 34.

What is tarantool

Tarantool is an open-source database that can store everything in RAM. You can use it as a cache with on-disk persistence. Tarantool is able to process up to 1 million RPS and supports SQL and secondary index searching. In Tarantool, you can run your code at the same place where your data is. That speeds up all the operations. Apply any business logic in Lua programming language. Get rid of the outdated database records. Synchronize with other data sources. Implement HTTP-service. This package provides the server daemon and admin tools. tarantool 2.4.2.68 3.fc34 x86_64 1.7 M tarantool-2.4.2.68-3.fc34.src.rpm fedora In-Memory Database https BSD Tarantool is an open-source database that can store everything in RAM. You can use it as a cache with on-disk persistence. Tarantool is able to process up to 1 million RPS and supports SQL and secondary index searching. In Tarantool, you can run your code at the same place where your data is. That speeds up all the operations. Apply any business logic in Lua programming language. Get rid of the outdated database records. Synchronize with other data sources. Implement HTTP-service. This package provides the server daemon and admin tools.

We can use yum or dnf to install tarantool on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tarantool.

Install tarantool on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install tarantool using dnf by running the following command:

sudo dnf -y install tarantool

Install tarantool on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install tarantool using yum by running the following command:

sudo yum -y install tarantool

How To Uninstall tarantool on Fedora 34

To uninstall only the tarantool package we can use the following command:

sudo dnf remove tarantool

tarantool Package Contents on Fedora 34

/etc/logrotate.d/tarantool
/etc/sysconfig/tarantool
/etc/tarantool
/etc/tarantool/instances.available
/etc/tarantool/instances.available/example.lua
/usr/bin/tarantool
/usr/bin/tarantoolctl
/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/b0aecf5aaa41f964f9ef2dca2e35a7f9383d07
/usr/lib/systemd/system/[email protected]
/usr/lib/tarantool
/usr/lib/tmpfiles.d/tarantool.conf
/usr/share/doc/tarantool
/usr/share/doc/tarantool/README.md
/usr/share/licenses/tarantool
/usr/share/licenses/tarantool/AUTHORS
/usr/share/licenses/tarantool/LICENSE
/usr/share/man/man1/tarantool.1.gz
/usr/share/man/man1/tarantoolctl.1.gz
/usr/share/tarantool
/usr/share/tarantool/luarocks
/usr/share/tarantool/luarocks/admin
/usr/share/tarantool/luarocks/admin/cache.lua
/usr/share/tarantool/luarocks/admin/cmd
/usr/share/tarantool/luarocks/admin/cmd/add.lua
/usr/share/tarantool/luarocks/admin/cmd/make_manifest.lua
/usr/share/tarantool/luarocks/admin/cmd/refresh_cache.lua
/usr/share/tarantool/luarocks/admin/cmd/remove.lua
/usr/share/tarantool/luarocks/admin/index.lua
/usr/share/tarantool/luarocks/build
/usr/share/tarantool/luarocks/build.lua
/usr/share/tarantool/luarocks/build/builtin.lua
/usr/share/tarantool/luarocks/build/cmake.lua
/usr/share/tarantool/luarocks/build/command.lua
/usr/share/tarantool/luarocks/build/make.lua
/usr/share/tarantool/luarocks/cmd
/usr/share/tarantool/luarocks/cmd.lua
/usr/share/tarantool/luarocks/cmd/build.lua
/usr/share/tarantool/luarocks/cmd/config.lua
/usr/share/tarantool/luarocks/cmd/doc.lua
/usr/share/tarantool/luarocks/cmd/download.lua
/usr/share/tarantool/luarocks/cmd/help.lua
/usr/share/tarantool/luarocks/cmd/init.lua
/usr/share/tarantool/luarocks/cmd/install.lua
/usr/share/tarantool/luarocks/cmd/lint.lua
/usr/share/tarantool/luarocks/cmd/list.lua
/usr/share/tarantool/luarocks/cmd/make.lua
/usr/share/tarantool/luarocks/cmd/new_version.lua
/usr/share/tarantool/luarocks/cmd/pack.lua
/usr/share/tarantool/luarocks/cmd/path.lua
/usr/share/tarantool/luarocks/cmd/purge.lua
/usr/share/tarantool/luarocks/cmd/remove.lua
/usr/share/tarantool/luarocks/cmd/search.lua
/usr/share/tarantool/luarocks/cmd/show.lua
/usr/share/tarantool/luarocks/cmd/test.lua
/usr/share/tarantool/luarocks/cmd/unpack.lua
/usr/share/tarantool/luarocks/cmd/upload.lua
/usr/share/tarantool/luarocks/cmd/which.lua
/usr/share/tarantool/luarocks/cmd/write_rockspec.lua
/usr/share/tarantool/luarocks/core
/usr/share/tarantool/luarocks/core/cfg.lua
/usr/share/tarantool/luarocks/core/dir.lua
/usr/share/tarantool/luarocks/core/hardcoded.lua
/usr/share/tarantool/luarocks/core/manif.lua
/usr/share/tarantool/luarocks/core/path.lua
/usr/share/tarantool/luarocks/core/persist.lua
/usr/share/tarantool/luarocks/core/sysdetect.lua
/usr/share/tarantool/luarocks/core/util.lua
/usr/share/tarantool/luarocks/core/vers.lua
/usr/share/tarantool/luarocks/deps.lua
/usr/share/tarantool/luarocks/dir.lua
/usr/share/tarantool/luarocks/download.lua
/usr/share/tarantool/luarocks/fetch
/usr/share/tarantool/luarocks/fetch.lua
/usr/share/tarantool/luarocks/fetch/cvs.lua
/usr/share/tarantool/luarocks/fetch/git.lua
/usr/share/tarantool/luarocks/fetch/git_file.lua
/usr/share/tarantool/luarocks/fetch/git_http.lua
/usr/share/tarantool/luarocks/fetch/git_https.lua
/usr/share/tarantool/luarocks/fetch/git_ssh.lua
/usr/share/tarantool/luarocks/fetch/hg.lua
/usr/share/tarantool/luarocks/fetch/hg_http.lua
/usr/share/tarantool/luarocks/fetch/hg_https.lua
/usr/share/tarantool/luarocks/fetch/hg_ssh.lua
/usr/share/tarantool/luarocks/fetch/sscm.lua
/usr/share/tarantool/luarocks/fetch/svn.lua
/usr/share/tarantool/luarocks/fs
/usr/share/tarantool/luarocks/fs.lua
/usr/share/tarantool/luarocks/fs/lua.lua
/usr/share/tarantool/luarocks/fs/tools.lua
/usr/share/tarantool/luarocks/fs/unix
/usr/share/tarantool/luarocks/fs/unix.lua
/usr/share/tarantool/luarocks/fs/unix/tools.lua
/usr/share/tarantool/luarocks/fs/win32
/usr/share/tarantool/luarocks/fs/win32.lua
/usr/share/tarantool/luarocks/fs/win32/tools.lua
/usr/share/tarantool/luarocks/fun.lua
/usr/share/tarantool/luarocks/loader.lua
/usr/share/tarantool/luarocks/manif
/usr/share/tarantool/luarocks/manif.lua
/usr/share/tarantool/luarocks/manif/writer.lua
/usr/share/tarantool/luarocks/pack.lua
/usr/share/tarantool/luarocks/path.lua
/usr/share/tarantool/luarocks/persist.lua
/usr/share/tarantool/luarocks/queries.lua
/usr/share/tarantool/luarocks/remove.lua
/usr/share/tarantool/luarocks/repos.lua
/usr/share/tarantool/luarocks/require.lua
/usr/share/tarantool/luarocks/results.lua
/usr/share/tarantool/luarocks/rockspecs.lua
/usr/share/tarantool/luarocks/search.lua
/usr/share/tarantool/luarocks/signing.lua
/usr/share/tarantool/luarocks/test
/usr/share/tarantool/luarocks/test.lua
/usr/share/tarantool/luarocks/test/busted.lua
/usr/share/tarantool/luarocks/test/command.lua
/usr/share/tarantool/luarocks/tools
/usr/share/tarantool/luarocks/tools/patch.lua
/usr/share/tarantool/luarocks/tools/tar.lua
/usr/share/tarantool/luarocks/tools/zip.lua
/usr/share/tarantool/luarocks/type
/usr/share/tarantool/luarocks/type/manifest.lua
/usr/share/tarantool/luarocks/type/rockspec.lua
/usr/share/tarantool/luarocks/type_check.lua
/usr/share/tarantool/luarocks/upload
/usr/share/tarantool/luarocks/upload/api.lua
/usr/share/tarantool/luarocks/upload/multipart.lua
/usr/share/tarantool/luarocks/util.lua
/var/lib/tarantool
/var/log/tarantool
/etc/logrotate.d/tarantool
/etc/sysconfig/tarantool
/etc/tarantool
/etc/tarantool/instances.available
/etc/tarantool/instances.available/example.lua
/usr/bin/tarantool
/usr/bin/tarantoolctl
/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/c61729c861ac870c69e0d9df8d1322cdeda8a0
/usr/lib/systemd/system/[email protected]
/usr/lib/tmpfiles.d/tarantool.conf
/usr/lib64/tarantool
/usr/share/doc/tarantool
/usr/share/doc/tarantool/README.md
/usr/share/licenses/tarantool
/usr/share/licenses/tarantool/AUTHORS
/usr/share/licenses/tarantool/LICENSE
/usr/share/man/man1/tarantool.1.gz
/usr/share/man/man1/tarantoolctl.1.gz
/usr/share/tarantool
/usr/share/tarantool/luarocks
/usr/share/tarantool/luarocks/admin
/usr/share/tarantool/luarocks/admin/cache.lua
/usr/share/tarantool/luarocks/admin/cmd
/usr/share/tarantool/luarocks/admin/cmd/add.lua
/usr/share/tarantool/luarocks/admin/cmd/make_manifest.lua
/usr/share/tarantool/luarocks/admin/cmd/refresh_cache.lua
/usr/share/tarantool/luarocks/admin/cmd/remove.lua
/usr/share/tarantool/luarocks/admin/index.lua
/usr/share/tarantool/luarocks/build
/usr/share/tarantool/luarocks/build.lua
/usr/share/tarantool/luarocks/build/builtin.lua
/usr/share/tarantool/luarocks/build/cmake.lua
/usr/share/tarantool/luarocks/build/command.lua
/usr/share/tarantool/luarocks/build/make.lua
/usr/share/tarantool/luarocks/cmd
/usr/share/tarantool/luarocks/cmd.lua
/usr/share/tarantool/luarocks/cmd/build.lua
/usr/share/tarantool/luarocks/cmd/config.lua
/usr/share/tarantool/luarocks/cmd/doc.lua
/usr/share/tarantool/luarocks/cmd/download.lua
/usr/share/tarantool/luarocks/cmd/help.lua
/usr/share/tarantool/luarocks/cmd/init.lua
/usr/share/tarantool/luarocks/cmd/install.lua
/usr/share/tarantool/luarocks/cmd/lint.lua
/usr/share/tarantool/luarocks/cmd/list.lua
/usr/share/tarantool/luarocks/cmd/make.lua
/usr/share/tarantool/luarocks/cmd/new_version.lua
/usr/share/tarantool/luarocks/cmd/pack.lua
/usr/share/tarantool/luarocks/cmd/path.lua
/usr/share/tarantool/luarocks/cmd/purge.lua
/usr/share/tarantool/luarocks/cmd/remove.lua
/usr/share/tarantool/luarocks/cmd/search.lua
/usr/share/tarantool/luarocks/cmd/show.lua
/usr/share/tarantool/luarocks/cmd/test.lua
/usr/share/tarantool/luarocks/cmd/unpack.lua
/usr/share/tarantool/luarocks/cmd/upload.lua
/usr/share/tarantool/luarocks/cmd/which.lua
/usr/share/tarantool/luarocks/cmd/write_rockspec.lua
/usr/share/tarantool/luarocks/core
/usr/share/tarantool/luarocks/core/cfg.lua
/usr/share/tarantool/luarocks/core/dir.lua
/usr/share/tarantool/luarocks/core/hardcoded.lua
/usr/share/tarantool/luarocks/core/manif.lua
/usr/share/tarantool/luarocks/core/path.lua
/usr/share/tarantool/luarocks/core/persist.lua
/usr/share/tarantool/luarocks/core/sysdetect.lua
/usr/share/tarantool/luarocks/core/util.lua
/usr/share/tarantool/luarocks/core/vers.lua
/usr/share/tarantool/luarocks/deps.lua
/usr/share/tarantool/luarocks/dir.lua
/usr/share/tarantool/luarocks/download.lua
/usr/share/tarantool/luarocks/fetch
/usr/share/tarantool/luarocks/fetch.lua
/usr/share/tarantool/luarocks/fetch/cvs.lua
/usr/share/tarantool/luarocks/fetch/git.lua
/usr/share/tarantool/luarocks/fetch/git_file.lua
/usr/share/tarantool/luarocks/fetch/git_http.lua
/usr/share/tarantool/luarocks/fetch/git_https.lua
/usr/share/tarantool/luarocks/fetch/git_ssh.lua
/usr/share/tarantool/luarocks/fetch/hg.lua
/usr/share/tarantool/luarocks/fetch/hg_http.lua
/usr/share/tarantool/luarocks/fetch/hg_https.lua
/usr/share/tarantool/luarocks/fetch/hg_ssh.lua
/usr/share/tarantool/luarocks/fetch/sscm.lua
/usr/share/tarantool/luarocks/fetch/svn.lua
/usr/share/tarantool/luarocks/fs
/usr/share/tarantool/luarocks/fs.lua
/usr/share/tarantool/luarocks/fs/lua.lua
/usr/share/tarantool/luarocks/fs/tools.lua
/usr/share/tarantool/luarocks/fs/unix
/usr/share/tarantool/luarocks/fs/unix.lua
/usr/share/tarantool/luarocks/fs/unix/tools.lua
/usr/share/tarantool/luarocks/fs/win32
/usr/share/tarantool/luarocks/fs/win32.lua
/usr/share/tarantool/luarocks/fs/win32/tools.lua
/usr/share/tarantool/luarocks/fun.lua
/usr/share/tarantool/luarocks/loader.lua
/usr/share/tarantool/luarocks/manif
/usr/share/tarantool/luarocks/manif.lua
/usr/share/tarantool/luarocks/manif/writer.lua
/usr/share/tarantool/luarocks/pack.lua
/usr/share/tarantool/luarocks/path.lua
/usr/share/tarantool/luarocks/persist.lua
/usr/share/tarantool/luarocks/queries.lua
/usr/share/tarantool/luarocks/remove.lua
/usr/share/tarantool/luarocks/repos.lua
/usr/share/tarantool/luarocks/require.lua
/usr/share/tarantool/luarocks/results.lua
/usr/share/tarantool/luarocks/rockspecs.lua
/usr/share/tarantool/luarocks/search.lua
/usr/share/tarantool/luarocks/signing.lua
/usr/share/tarantool/luarocks/test
/usr/share/tarantool/luarocks/test.lua
/usr/share/tarantool/luarocks/test/busted.lua
/usr/share/tarantool/luarocks/test/command.lua
/usr/share/tarantool/luarocks/tools
/usr/share/tarantool/luarocks/tools/patch.lua
/usr/share/tarantool/luarocks/tools/tar.lua
/usr/share/tarantool/luarocks/tools/zip.lua
/usr/share/tarantool/luarocks/type
/usr/share/tarantool/luarocks/type/manifest.lua
/usr/share/tarantool/luarocks/type/rockspec.lua
/usr/share/tarantool/luarocks/type_check.lua
/usr/share/tarantool/luarocks/upload
/usr/share/tarantool/luarocks/upload/api.lua
/usr/share/tarantool/luarocks/upload/multipart.lua
/usr/share/tarantool/luarocks/util.lua
/var/lib/tarantool
/var/log/tarantool

References

Summary

In this tutorial we learn how to install tarantool on Fedora 34 using yum and dnf.