Issues with Installing tidb-lightning-ctl

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb-lightning-ctl安装问题

| username: yulei7633

The tidb-lightning-ctl tool cannot be installed. Of course, you can also use the downloaded toolkit, but I am used to using the tiup tool. How can I install this tidb-lightning-ctl tool?

| username: Daniel-W | Original post link

tidb-lightning-ctl is in the toolkit package.

| username: yulei7633 | Original post link

Downloading the toolkit directly from the official website is possible, but it’s a bit more troublesome.

| username: Daniel-W | Original post link

It seems that you can only install tidb-lightning and cannot directly use tiup to install tidb-lightning-ctl, because tidb-lightning is in the tidb-lightning-v{}-linux-amd64.tar.gz package, and tidb-lightning-ctl is just a file.

| username: Daniel-W | Original post link

TiDB Offline Package | PingCAP Documentation Center

| username: yulei7633 | Original post link

Thank you. It seems I can only download the offline installation package.

| username: tony5413 | Original post link

Yes, I also find it strange that tiup can install tidb-lightning and it is the recommended installation method, but it cannot install tidb-lightning-ctl.