TIUP Installation Failed

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

Original topic: TIUP安装不成功

| username: TiDBer_EYdbxOAS

Refer to the official documentation to install TiDB. When installing TIUP, I encountered a problem. After executing the command to install TIUP, I found that there was no corresponding .bash_profile file. Additionally, executing source .bash_profile resulted in an error.

| username: 小龙虾爱大龙虾 | Original post link

This is not a tiup issue either. Your system uses .profile, so just source .profile.

| username: zhanggame1 | Original post link

The user should log out and log back in to try the tiup command again, as the environment variables have not taken effect.

| username: 像风一样的男子 | Original post link

Execute source /root/.bash_profile.

| username: TiDBer_EYdbxOAS | Original post link

Indeed, it’s a very basic issue. Just follow what you said and execute source .profile, and it will work. Thank you!!

| username: 像风一样的男子 | Original post link

I mistook you for the root user.
source ~/.bash_profile

| username: TiDBer_EYdbxOAS | Original post link

Thank you for the reply. Executing the source .profile command works.

| username: TiDBer_EYdbxOAS | Original post link

Previously, I also thought it was a permissions issue, but later I realized it doesn’t necessarily have to be the root user. It turned out that there was no .bash_profile, but there was a .profile. Executing source .profile allowed me to proceed.

| username: TiDBer_小阿飞 | Original post link

Source it and apply the configuration.

| username: 普罗米修斯 | Original post link

There is a prompt when installing tiup.

| username: TiDBer_gxUpi9Ct | Original post link

Apply configuration

| username: xingzhenxiang | Original post link

Log out and log back in.

| username: dba远航 | Original post link

The file name is incorrect.

| username: ShawnYan | Original post link

What is your system? Is it a domestic operating system?

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.