LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2006, 06:39 PM   #1
recarpo
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
New user-emacs


I just started making simple java programs within the last couple months and I wanted to get emacs on my computer with ubuntu 5.10. I'm not real experienced with linux and I've tried a few ways to get emacs on here, but I can't get it working. Can anybody give me a way so I can get emacs installed and usable? Thanks for any help.
 
Old 03-08-2006, 08:46 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,812

Rep: Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100Reputation: 2100
It might help if you tell us what went wrong with the few ways your tried. But I think the simplest way would be
Code:
apt-get install emacs21
 
Old 03-08-2006, 10:34 PM   #3
recarpo
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
When I try apt-get install emacs21 I get the message:
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
What can I do about that?
 
Old 03-08-2006, 11:32 PM   #4
TuxToaster
Member
 
Registered: May 2003
Location: UK
Distribution: Debian
Posts: 127

Rep: Reputation: 15
login as root, type su then root password and then apt-get install emacs21 again
 
Old 03-09-2006, 12:59 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
On Ubuntu you use sudo by default, so it'd be "sudo apt-get install emacs21".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
What is emacs. amit_28oct Programming 22 03-28-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration