O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
I recently wanted to migrate some Ruby on Rails applications from version 2 to 3. I also had for some time wanted to migrate from Ruby 1.8 to Ruby 1.9. Many people recommended using RVM to manage a mu...
Ubuntu is built on Debian and uses the .deb package format to ensure that all
software is installed in a consistent way. If you want to make your
software really easy to install on Ubunt...
If you want to create Slackware, Red Hat, or Debian packages from source code, use CheckInstall. Again using Joe's Own Editor in this example,
on Debian, do the following:
...
If you want to upgrade a Debian package use apt-get install :# apt-get install gltron
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
...
If you want to remove a package, or several packages, from your Debian systems use apt-get remove :
# apt-get remove tuxpaint
Reading Package Lists... Done
Building Dependency Tree......
All these software archives, CDs, and so on are meaningless if you can't install the software. So: you need to know how to install packages on Debian.Use apt-get install:
...
You want to install packages from a CD-ROM, but the process we've just described assumes you want to download software from an archive. How do you add a CD to sources.list?
Modify /etc/apt/sources...