centos7安装rvm(ruby2.5.0)
作者:互联网
一、下载秘钥
[root@bogon src]# curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - gpg: 密钥 D39DC0E3:“Michal Papis (RVM signing) <mpapis@gmail.com>”未改变 gpg: 合计被处理的数量:1 gpg: 未改变:1
二、下载安装包
[root@bogon src]# curl -L get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 194 100 194 0 0 461 0 --:--:-- --:--:-- --:--:-- 461 100 24535 100 24535 0 0 15426 0 0:00:01 0:00:01 --:--:-- 42011 Downloading https://github.com/rvm/rvm/archive/1.29.12.tar.gz Downloading https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc gpg: 于 2021年01月16日 星期六 02时46分22秒 CST 创建的签名,使用 RSA,钥匙号 39499BDB gpg: 完好的签名,来自于“Piotr Kuczynski <piotr.kuczynski@gmail.com>” gpg: 警告:这把密钥未经受信任的签名认证! gpg: 没有证据表明这个签名属于它所声称的持有者。 主钥指纹: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB GPG verified '/usr/local/rvm/archives/rvm-1.29.12.tgz' Creating group 'rvm' Installing RVM to /usr/local/rvm/ Installation of RVM in /usr/local/rvm/ is almost complete: * First you need to add all users that will be using rvm to 'rvm' group, and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`. * To start using RVM you need to run `source /etc/profile.d/rvm.sh` in all your open shell windows, in rare cases you need to reopen all shell windows. * Please do NOT forget to add your users to the rvm group. The installer no longer auto-adds root or users to the rvm group. Admins must do this. Also, please note that group memberships are ONLY evaluated at login time. This means that users must log out then back in before group membership takes effect! Thanks for installing RVM标签:src,--,local,rvm,centos7,ruby2.5,ruby,2.5 来源: https://www.cnblogs.com/sky-cheng/p/16308936.html