These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

UNIX02/Installing An Application From Source

Classnotes | UNIX02 | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 9c9
Untar it into root's home directory (if you need a refresher on this, see UNIX01/Dealing with tar files)
Untar it into root's home directory (if you need a refresher on this, see UNIX01/Dealing with tar files). cd into the nano directory created from the archive and do an ls -la. You should see a file names 'README'. Most application source archives will contain a README file which tells you how to build the application, and Nano is no different.

Added: 10a11,18
Taking a look at the README file for Nano, we find that it uses the autoconf/automake build system mentionned previously (if you need a refresher, see UNIX01/Building an Application).

To build and install Nano, simply issue the following commands:
./configure
make
make install

Do that now, and verify that nano has been installed by running it.

You should have already covered basic application compilation in the previous course. However, in case you didn't (or need a refresher) we'll do it again quickly.

While you are still logged into Red Hat as root, browse to the following website:

You will see that there is a Nano RPM, however, it is not for our version of Red Hat Linux, and will not install. Instead, download the source tar.gz file.

tar.gz files are sometimes called "tar-balls".

Untar it into root's home directory (if you need a refresher on this, see UNIX01/Dealing with tar files). cd into the nano directory created from the archive and do an ls -la. You should see a file names 'README'. Most application source archives will contain a README file which tells you how to build the application, and Nano is no different.

Taking a look at the README file for Nano, we find that it uses the autoconf/automake build system mentionned previously (if you need a refresher, see UNIX01/Building an Application).

To build and install Nano, simply issue the following commands:

     ./configure
     make
     make install

Do that now, and verify that nano has been installed by running it.



Classnotes | UNIX02 | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited May 10, 2003 12:34 am (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.