http://blog.csdn.net/abbuggy/article/details/8170899
RVM的主要作用是方便的管理系统中的多个ruby版本而不至于混乱。
我们来看看如何安装RVM,我使用的ubuntu12.04LTS。
准备工作
后面需要使用curl,用dpkg -s curl命令检查一下系统中有没有安装
abbuggy@abbuggy-ubuntu:~$ dpkg -s curl
Package: curl
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 338
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 7.22.0-3ubuntu4
Replaces: curl-ssl
Provides: curl-ssl
Depends: libc6 (>= 2.7), libcurl3 (>= 7.16.2-1), zlib1g (>= 1:1.1.4)
Description: Get a file from an HTTP, HTTPS or FTP server
curl is a client to get files from servers using any of the supported
protocols. The command is designed to work without user interaction
or any kind of interactivity.
.
curl offers a busload of useful tricks like proxy support, user
authentication, FTP upload, HTTP post, file transfer resume and more.
Homepage: http://curl.haxx.se
Original-Maintainer: Ramakrishnan Muthukrishnan <rkrishnan@debian.org>
上面的会先说明我是已经安装过了的,如果没有安装应该是类似如下的回显。
abbuggy@abbuggy-ubuntu:~$ dpkg -s curl
系统没有安装软件包 curl,因而没有相关的信息。
使用 dpkg --info (= dpkg-deb --info) 来检测打包好的文件,
还可以通过 dpkg --contents (= dpkg-deb --contents) 来列出它们的内容。
那么安装就行了sudo apt-get install curl