_apt_get_install.mdx 750 字节
Newer Older
D
danielclow 已提交
1
You can use `apt-get` to install TDengine from the official package repository.
2

D
danielclow 已提交
3
**Configure the package repository**
4 5 6 7 8 9

```
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
```

D
danielclow 已提交
10
You can install beta versions by configuring the following package repository:
11 12 13 14 15

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

D
danielclow 已提交
16
**Install TDengine with `apt-get`**
17 18 19 20 21 22 23 24

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

:::tip
D
danielclow 已提交
25
This installation method is supported only for Debian and Ubuntu.
26
::::