Compiling and installing with make install

Your final step is to get the software installed on the UNIX system. With some programs, all you'll have to do is put the files in the directory where you want them to live (often ~/bin for programs or scripts, or sometimes cgi-bin for scripts or programs for Web use). With others, though, you'll have to compile first, then install.

You can compile and install using make install, which reads the Makefile (to see how to set everything up) and takes care of compiling and installing for you (Code Listing 14.4). Again, be sure to read the instructions carefully before you start and follow them exactly.

Code Listing 14.4. make and make install both deliver incredible quantities of junk (but hopefully no error ...

Get Unix: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.