install rvm “bash /root/.rvm/scripts/rvm No such file or directory”

后端 未结 5 1219
自闭症患者
自闭症患者 2021-02-06 16:50

I want to install RVM in ubuntu and I am following these steps

root@jaskaran-Vostro-1550:/home/user_name# sudo apt-get install curl

done this

5条回答
  •  無奈伤痛
    2021-02-06 17:00

    The scripts folder is inside the zipped directory, so first we need to extract it and then run the command. Do the following things.

    cd ~/.rvm/archives
    tar xvzf rvm-1.26.0.tgz # or whatever RVM version you have
    

    This will extract the folder, and in this, there will be a folder named scripts. Now run the following command.

    source ~/.rvm/archives/rvm-1.26.11/scripts/rvm
    

    And you are done.

提交回复
热议问题