Download > Packages

RHEL/CentOS

We maintain two types of repositories for the derivatives of RHEL 6, 7 and 8:

  • 'release' repositories contain Tarantool packages for released versions.
  • 'live' repositories contain Tarantool packages for all patches pushed to release branches.

You may need to enable the EPEL repository for some packages.

Copy and paste the script below to the root terminal prompt for any of RHEL/Centos 6, 7 or 8:

curl -L https://tarantool.io/installer.sh | VER=2.2 sudo -E bashCopied!
curl -L https://tarantool.io/installer.sh | VER=1.10 sudo -E bashCopied!

Another way to install Tarantool is to copy and paste the following script to the terminal prompt:

  • For RHEL/CentOS 6, 7 and 8:

    # Clean up yum cache
    yum clean all
    
    # Install EPEL repository
    # For RHEL/CentOS 6:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    # For RHEL/CentOS 7:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    # For RHEL/CentOS 8:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    
    # Enable EPEL repository
    sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
    
    # Add Tarantool repository
    rm -f /etc/yum.repos.d/*tarantool*.repo
    tee /etc/yum.repos.d/tarantool_2_2.repo <<- EOF
    [tarantool_2_2]
    name=EnterpriseLinux-\$releasever - Tarantool
    baseurl=https://download.tarantool.org/tarantool/release/2.2/el/\$releasever/x86_64/
    gpgkey=https://download.tarantool.org/tarantool/release/2.2/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    
    [tarantool_2_2-source]
    name=EnterpriseLinux-\$releasever - Tarantool Sources
    baseurl=https://download.tarantool.org/tarantool/release/2.2/el/\$releasever/SRPMS
    gpgkey=https://download.tarantool.org/tarantool/release/2.2/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    EOF
    
    # Update metadata
    yum makecache -y --disablerepo='*' --enablerepo='tarantool_2_2' --enablerepo='epel'
    
    # Install Tarantool
    yum -y install tarantool
    
    # Clean up yum cache
    yum clean all
    
    # Install EPEL repository
    # For RHEL/CentOS 6:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    # For RHEL/CentOS 7:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    # For RHEL/CentOS 8:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    
    # Enable EPEL repository
    sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
    
    # Add Tarantool repository
    rm -f /etc/yum.repos.d/*tarantool*.repo
    tee /etc/yum.repos.d/tarantool_1_10.repo <<- EOF
    [tarantool_1_10]
    name=EnterpriseLinux-\$releasever - Tarantool
    baseurl=https://download.tarantool.org/tarantool/release/1.10/el/\$releasever/x86_64/
    gpgkey=https://download.tarantool.org/tarantool/release/1.10/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    
    [tarantool_1_10-source]
    name=EnterpriseLinux-\$releasever - Tarantool Sources
    baseurl=https://download.tarantool.org/tarantool/release/1.10/el/\$releasever/SRPMS
    gpgkey=https://download.tarantool.org/tarantool/release/1.10/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    EOF
    
    # Update metadata
    yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_10' --enablerepo='epel'
    
    # Install Tarantool
    yum -y install tarantool
    
    # Clean up yum cache
    yum clean all
    
    # Install EPEL repository
    # For RHEL/CentOS 6:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    # For RHEL/CentOS 7:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    # For RHEL/CentOS 8:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    
    # Enable EPEL repository
    sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
    
    # Add Tarantool repository
    rm -f /etc/yum.repos.d/*tarantool*.repo
    tee /etc/yum.repos.d/tarantool_2_2.repo <<- EOF
    [tarantool_2_2]
    name=EnterpriseLinux-\$releasever - Tarantool
    baseurl=https://download.tarantool.org/tarantool/2.2/el/\$releasever/x86_64/
    gpgkey=https://download.tarantool.org/tarantool/2.2/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    
    [tarantool_2_2-source]
    name=EnterpriseLinux-\$releasever - Tarantool Sources
    baseurl=https://download.tarantool.org/tarantool/2.2/el/\$releasever/SRPMS
    gpgkey=https://download.tarantool.org/tarantool/2.2/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    EOF
    
    # Update metadata
    yum makecache -y --disablerepo='*' --enablerepo='tarantool_2_2' --enablerepo='epel'
    
    # Install Tarantool
    yum -y install tarantool
    
    # Clean up yum cache
    yum clean all
    
    # Install EPEL repository
    # For RHEL/CentOS 6:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    # For RHEL/CentOS 7:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    # For RHEL/CentOS 8:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    
    # Enable EPEL repository
    sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
    
    # Add Tarantool repository
    rm -f /etc/yum.repos.d/*tarantool*.repo
    tee /etc/yum.repos.d/tarantool_1_10.repo <<- EOF
    [tarantool_1_10]
    name=EnterpriseLinux-\$releasever - Tarantool
    baseurl=https://download.tarantool.org/tarantool/1.10/el/\$releasever/x86_64/
    gpgkey=https://download.tarantool.org/tarantool/1.10/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    
    [tarantool_1_10-source]
    name=EnterpriseLinux-\$releasever - Tarantool Sources
    baseurl=https://download.tarantool.org/tarantool/1.10/el/\$releasever/SRPMS
    gpgkey=https://download.tarantool.org/tarantool/1.10/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    EOF
    
    # Update metadata
    yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_10' --enablerepo='epel'
    
    # Install Tarantool
    yum -y install tarantool
    
  • By default, the latest version from a repository is installed. But you can choose any patch version, if needed:
    yum --showduplicates list tarantool | expand
    yum install tarantool-<version>