[More Explicit Instructions]
$ cd ~
[ensures you are in your home directory]
$ cp /home/dea/scam...|tab| ~
[using the tab key after typing the first few letters of the name of the file will auto-complete the filename for you]
$ mkdir scamper_source
[ creates a directory to place the source files we will extract]
$ tar -xvf scam...tar.gz -C scamper_source --strip-components=1[ -xvf is a combination of arguments that will specify to the tar command to extract the files from the tarball and write to the terminal all of the files being extracted]
[-C in 'x' mode this changes directories after opening the archive but before extracting entries from the archive, and directory name given after this argument in this case scamper_source is the directory it will change to]
[--strip-components=count removes the specified number of leading path elements, in this case this helps us because then we can extract the contents of the tarball directly into our folder scamper_source instead of having an intermediary folder called scamper.... in the folder scamper_source ]
$ mkdir scamper_build[creates a directory for your build, just so things are nice and neat]
$ cd scamper_source[moves you into the directory with the configure script]
$ ./configure --prefix=/home/your_unix_username/scamper_build[by default the command 'make install' will install all the files in '/usr/local', etc., but since we want to be able to modify the source code in our home directories separately and test run our changes, we each need to install scamper into our own home directory. This is what the --prefix argument helps with and the path we specify is where the executables will be placed.]
$ make[builds scamper]
$ make install[places the binary into the correct folders]
$ export PATH=~/scamper_build/bin:$PATH[this will make add the scamper_build folder to the front of your PATH variable, so thats where the OS will look first for the program scamper]
sudo stands for ::super user 'do':: and allows you the ability to have administrative privileges on your machine. Administrative privileges can be very useful and also can allow for you to cause a lot of problems. Sudo allows you to have great control and power over your machine but just remember that with great power comes great .... spidey powers or something.
warning: this page was written by an undergraduate, follow at your own risk. ;]
-- HelenFemmel - 2015-08-04