Site Administration Page 9 - Linux Administration: Installing Software |
In this project, you will download a GNU software package, compile, and install it. I am a big emacs fan, so I am going to show how to download and compile it in this project. emacs most likely already comes standard on a Linux system, as it is a fairly popular editor. As an administrator, you will be exposed to many editors, such as vi, pico, and emacs. You are always guaranteed to have vi on the system. You don’t have to install emacs, just pick a package that sounds interesting (stay away from gcc, though) Step by Step 1. Change your directory to a scratch space that will allow you to compile (typically /usr/local/src).
2. Go to the GNU FTP site and download emacs. The latest version as of this writing is emacs-21.2. The software is located at ftp://ftp.gnu.org/gnu/emacs/. 3. Untar the package.
4. cd into the package directory and read the documentation, notably README and INSTALL.
5. Run the configure script with the standard options: --prefix=/usr/local.
6. Run make.
7. If the make completed without any errors, type make install.
8. Make sure that you can run the software as both root and a regular user.
9. Do any cleanup and have a fun time using the software.
blog comments powered by Disqus |