LinuxQuestions.org
Help answer threads with 0 replies.
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 11-30-2008, 07:26 AM   #1
negcit.k
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Rep: Reputation: 0
[resolved]Can't run emacs on fedora 9


I have just updated my fedora machine to 9,but some bad things happened.
I can run emacs before until i got my machine updated to fedora 9. here is the bash output:
Quote:
bash: emacs: command not found
then i use whereis command:
Quote:
[feng@localhost Desktop]$ whereis emacs
emacs: /usr/bin/emacs /usr/libexec/emacs /usr/share/emacs /usr/share/man/man1/emacs.1.gz
Yeah, i did install emacs. and even i use /usr/bin/emacs there is always the same output..
i'm sorry for my bad english.
Thanks.

Last edited by negcit.k; 12-01-2008 at 08:56 AM.
 
Old 11-30-2008, 07:43 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Perhaps, for some strange reason, it got removed during the update process. Why don't you install it again?

edit: sorry, didn't notice the whereis command output.

You might want to remove it and install it again. It might help

Last edited by sycamorex; 11-30-2008 at 07:48 AM.
 
Old 11-30-2008, 08:27 AM   #3
negcit.k
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Here is what i did :
Quote:
[root@localhost Desktop]# rpm -ivhU emacs*.rpm
Preparing... ########################################### [100%]
1:emacs ########################################### [100%]
[root@localhost Desktop]# emacs
bash: emacs: command not found
it happens again.
 
Old 11-30-2008, 08:33 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Ok, remove it first
Quote:
rpm -e emacs*.rpm
Then see if you've got any other version of emacs installed on the system:
Quote:
yum list *emacs*
if there's any other version or emacs - uninstall it. Then try to install it using yum
Why do you use an rpm package? why don't you use fedora repositories

edit: I don't know which version of emacs F9 runs, but if your concern is that it's too old, why don't you upgrade fedora to 10?

Last edited by sycamorex; 11-30-2008 at 08:36 AM.
 
Old 11-30-2008, 10:08 AM   #5
negcit.k
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sycamorex View Post
Ok, remove it first


Then see if you've got any other version of emacs installed on the system:

if there's any other version or emacs - uninstall it. Then try to install it using yum
Why do you use an rpm package? why don't you use fedora repositories
That's really a strange problem. and now i have no ideal how to fix it...


Quote:
Originally Posted by sycamorex View Post
edit: I don't know which version of emacs F9 runs, but if your concern is that it's too old, why don't you upgrade fedora to 10?
f9 uses emacs-22.2-4.fc.
he, it's limited by the network environment. last term and before, downloading rapid can be up to 1.4M/s, so even a large file like f9(3.3G) can be downloaded at an one hour. But now, it limited at 200K/s,so a half day needed to download it and what the worst is only in dark night can up to the limit(about 200k/s).
it seems i have no choice but downloading it again, and in Dark Night..

There is another reason that i have a 512M memory only.
Thanks.

Last edited by negcit.k; 11-30-2008 at 10:08 AM. Reason: fixing
 
Old 11-30-2008, 10:21 AM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
That's really a strange problem. and now i have no ideal how to fix it...
Have you tried what I suggested?
 
Old 11-30-2008, 10:51 AM   #7
negcit.k
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sycamorex View Post
Have you tried what I suggested?
Yeah, of course i did.
Thanks!
i'm downloading now.....(hope it will be finished when i get up tomorrow!)
 
Old 11-30-2008, 03:05 PM   #8
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Yeah, of course i did.
Thanks!
i'm downloading now.....(hope it will be finished when i get up tomorrow!)
What I meant was completely removing all versions of emacs, but then again, it's probably better if you upgrade to F10.
 
Old 12-01-2008, 07:41 AM   #9
negcit.k
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks!
i downloaded the emacs22**.gz source packet then build it. And it Do the work!

Last edited by negcit.k; 12-01-2008 at 07:42 AM. Reason: fix
 
  


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
emacs won't run mohapi Linux - Software 1 04-01-2006 02:51 PM
I don't want emacs to run as a window! mimithebrain Linux - Software 3 11-07-2005 05:39 PM
can't run emacs as root resist_r Linux - General 1 10-07-2005 06:54 PM
Emacs is there but wont run! aromes Linux - Software 1 09-29-2003 04:21 PM
run sqlplus under emacs fei Linux - Software 0 08-18-2003 02:34 AM

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

All times are GMT -5. The time now is 01:13 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