_apt_get_install.mdx 712 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
`apt-get` can be used to install TDengine from official package repository. 

**Package Repository**

```
wget -qO - http://repos.taosdata.com/tdengine.key | sudo apt-key add -
echo "deb [arch=amd64] http://repos.taosdata.com/tdengine-stable stable main" | sudo tee /etc/apt/sources.list.d/tdengine-stable.list
```

The repository required for installing beta versions can be configured as below:

```
echo "deb [arch=amd64] http://repos.taosdata.com/tdengine-beta beta main" | sudo tee /etc/apt/sources.list.d/tdengine-beta.list
```

**Install With apt-get**

```
sudo apt-get update
apt-cache policy tdengine
sudo apt-get install tdengine
```

:::tip
`apt-get` can only be used on Debian or Ubuntu Linux.
::::