我正在研究如何在Xubuntu 10.04中安装Ruby 1.9.1,我多次遇到了build-essential和build-dep命令。有时,它后面是软件包,有时,它在软件包之前和之后。
我正在查看的两个示例是:
sudo apt-get install build-essential zlib1g zlib1g-dev zlibc libruby1.9 libxml2 libxml2-dev libxslt-dev
须藤apt-get build-dep ruby1.9
和
sudo apt-get install ruby irb ri rdoc ruby1.8-dev libzlib-ruby libyaml-ruby libreadline-ruby libncurses-ruby libcurses-ruby libruby libruby-extras libfcgi-ruby1.8 build-essential libopenssl-ruby libdbm-ruby libdbi-ruby libdbd-sqlite3-ruby sqlite3 libsqlite3-dev libsqlite3-ruby libxml-ruby libxml2-dev