apt (Debian or Ubuntu)

Debian GNU/Linux and Ubuntu use the apt package manager. You can use it like this:

$ sudo apt-get install ruby-full

As of writing, the ruby-full package provides Ruby 1.9.3, which is an old stable release, on Debian and Ubuntu.

 

可能会遇到这样的情况:你只要更新一下 apt-get update ,在进行安装就可以了

ruby的在ubuntu上的安装

 

安装完成后:

可以输入:ruby -v进行验证

相关文章:

  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-09-27
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-17
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
相关资源
相似解决方案