• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do i install emacs on ubuntu with apt-get?

Sureshot324

Diamond Member
It doesn't seem to be installed by default. I tried apt-get install emacs, but got this:

Package emacs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Does this mean i need to add another repository in /etc/apt/sources.list? If so, which one?
 
Sometimes it can mean that... Like if a package is not aviable, but may have been at some time in the past then this can cause it.

I beleive in this case the emacs package name is something that has been obsolete for a while now and is kept around for compatability reasons. Or something like that.

What is going on is that there is a few emacs packages to choose from or the package itself is under a different name.

Try searching for it:

apt-cache search emacs

For tips like that check out the Debian desktop survival guide. I know it's Ubuntu, but it's very similar.
http://www.togaware.com/linux/survivor/
 
Back
Top