Can't run emacs.

Asked by Edi Amin

I install ubuntu as live DVD. Now I can't open emacs editor from terminal. It says the application is not installed. I'm not familiar with linux commands. I found a similar problem in this community where a solver gives a lot of command lines to solve the problem. But, I cannot where to put this command lines. Would anyone please explain step by step, what should I do. Please, give me a process as easier as possible. Note that, I don't have internet connection on my computer. Thanks in advanced.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu emacs21 Edit question
Assignee:
No assignee Edit question
Solved by:
Edi Amin
Solved:
Last query:
Last reply:
Revision history for this message
Urbán Dániel (urban.dani) said :
#1

Without internet connection, you won't be able to install emacs. However, if on another computer you have internet access, you may download the needed packages, and move them to your computer on a flash drive or CD.
If you open Synaptic, and mark emacs for installing, it will mark all the needed packages. There is a menu entry called "Generate download script" or something like that, with this Synaptic will generate a file, called a script, which contains exactly which packages you will need.
If there is another computer, which also runs linux (or uther unix-like OS), you should run this script on it, and it will download the needed packages. Then copy the packages to a flash drive and move to your computer. If the computer, that have internet connection uses another OS, you can manually download the packages, you will see the links in the script.
If you have the packages (files ending ".deb") on your computer, you can install all of them with Debi (I think).

(If you don't need specifically emacs, you could try another text editor, I think GEdit is installed by default.)

Revision history for this message
Edi Amin (status001) said :
#2

Ok, the answer didn't solve my problem. I have to solve it by myself. I downloaded manually the components from https://launchpad.net/ubuntu/hardy. Emacs and all its dependencies and sub-dependecies, install them one by one. If anyone faces similar problem, then you can contact me. Thanks.