LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Emacs in Suse 10.0 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-emacs-in-suse-10-0-a-393358/)

boydasilva 12-15-2005 07:21 PM

Installing Emacs in Suse 10.0
 
I've just got Suse 10.0, and I don't think that it came with the Emacs editor that I can (almost) use. I find vi far too baffling, so I downloaded Emacs using Yast. My question is; how can I get Emacs to run? All the other stuff that I've added to the system using Yast works fine, but I can't fathom how to sort Emacs out.

Thanks for your help.

bosewicht 12-15-2005 07:23 PM

did you try opening a terminal and typing emacs?

boydasilva 12-15-2005 07:27 PM

I did. I get the "command not found" response.

bosewicht 12-15-2005 07:45 PM

try whereis emacs then type the location. it should be something like /usr/share/emacs

boydasilva 12-15-2005 08:02 PM

I get:
emacs: /usr/lib/emacs /usr/share/emacs /usr/share/man/man1/emacs.1.gz

And I can't find any way to launch the editor from these locations. Presumeably the /usr/share/man/man1/emacs.1.gz is the compressed file that Yast retrieved. I'm pretty sure that the necessary dependencies came with it. Am I being thick?

bosewicht 12-15-2005 08:04 PM

open a terminal, bash, konsole, whatever, and type /usr/share/emacs

boydasilva 12-15-2005 08:07 PM

I get:

bash: /usr/share/emacs: is a directory

I can't find the executable

bosewicht 12-15-2005 08:10 PM

and typing emacs in the terminal gives command not found? try reinstalling it i guess.

onjoo 12-15-2005 08:36 PM

Emacs does come with suse10 cds/dvd, it maybe just isn't part of the default installation. Nano and jed are missing but emacs should be there

Easy install guide:
->Open YAST
->click "software management"

Now you have 2 choices:

1. click search and put emacs there and hit the magic search button and you'll have it one the right hand side

2.
Click Filter and choose "selections"
scroll down to "Experienced user" and click it and look emacs on the list

You said that you downloaded emacs with yast. Have you added some repositories or how did you do that?

boydasilva 12-15-2005 10:22 PM

Yeah, I added a couple of repositories from:
http://www.thejemreport.com/mambo/content/view/178/42/

So that I could get DVDs running and the like. I uninstalled then re-installed emacs making double sure that all the dependencies came with it and it seems to be running ok now. Thanks for your help.


All times are GMT -5. The time now is 03:45 AM.