Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried aptitude search r, but (unsurprisingly), there are waaaay too many results to sift through.

share|improve this question
When you do get it installed, bash is case sensitive. You can launch it with R but not r – Amanda Nov 26 '12 at 20:01
up vote 5 down vote accepted

This is merely a tip: Open synaptic, and search for r-cran or just r-, there's a r-recommended GNU R collection of recommended packages [metapackage] I believe this is the one you're looking for.

share|improve this answer
Good tip, I actually don't have synaptic install and, in keeping with linux culture, I tend to forget that graphical apps are sometimes very useful =) – blz May 12 '12 at 22:23
apt-cache search ^r-, really ? ;) – user55822 May 12 '12 at 23:32

The name of the package for R is r-base-core.

Whenever you know the exact name of a program that is not installed, you can just try to type it in the terminal as if it was installed. The terminal will give you feedback if it knows of a package that has the program that you typed in.

This is what you get when you type R at the command line:

The program 'R' is currently not installed. You can install it by typing: sudo apt-get install r-base-core

In this case, you can just copy the command into the terminal and just run it.
Sometimes the terminal will tell you this if you just mistyped something, so you can ignore it in those cases.

I just installed the package, just to make sure. It seems to have required 96 MB of my hard drive.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.