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

When you do apt-get install a package, there are many items listed. For example, sudo apt-get install emacs and press tab, you receive emacs, emacs23, emacs24...... What does the one without version number represent? The latest stable version?

share|improve this question
up vote 4 down vote accepted

The numbers after emacs are the version numbers of emacs.

If you do not want to be bothered with the version number and want to install the latest version, just go for emacs, it is a meta package that always depends on the latest version of emacs found on the main repository.

The older versions are found on the universe repository (and/or perhaps on some other repositories too).

In a nutshell, you can do:

sudo apt-get install emacs

to install the latest version.


Also see: What is the difference between a meta-package and a package?

share|improve this answer
    
More details on what a "meta package" is, or the differences between the repositories you mentioned will get this a +1 from me. I feel like the question is more about package installation in general than about emacs specifically. – Michael Hoffmann Jan 11 at 7:36
1  
@MichaelHoffmann check my edits – heemayl Jan 11 at 7:43

Your Answer

 
discard

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.