Installing Nachos - Student Documentation

Installing and running Nachos

1) Download nachos source from the class website in your home directory.

2) In your home directory, type following commands to unzip and untar the source .At unix prompt type

gunzip nachos-csci402.tar.gz

 3) Then type

tar xf nachos-csci402.tar

4) Change  to the code directory of nachos

cd nachos-csci402/code

5) And then compile the source by typing

gmake

6) Edit .cshrc file and type following lines at the end of your file

#!/bin/csh
#
if ( ${?LD_LIBRARY_PATH} ) then
setenv LD_LIBRARY_PATH /usr/ucblib:$LD_LIBRARY_PATH
else
setenv LD_LIBRARY_PATH /usr/ucblib
endif

7) Logout and Login back


The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees