Policy-based Resilience Simulator with OMNeT++/Basics

These are few basic things you should know in order to proceed. It is recommended that you by-heart these commands, since it might be a bit tedious to come back to this page each time the article demands you to "install a package" or "unpack a .tar.gz file".

Unpacking tar.gz Files in Terminal
You can unpack tar.gz files using the command:

For example:

Normally, the files will be extracted to the current working directory of terminal.

Tips for Using Linux Terminal

 * In terminal, if you press "Tab" key, they will try auto complete the command/filename/folder name you have half typed. In case there are more than one match, when you hit Tab key for the second time, all possible cases will be listed.

Installing Packages in Linux
Note:
 * Distro - distribution
 * Repo - repository

Installation of packages are distro specific- it involves two steps,
 * 1) Updating your package list: You don't have to do this more often. Once in a week is more than enough.
 * 2) Selecting and installing the required packages: Make sure you have active Internet connection while you're doing this.

Here is how-to for few common distros:

Debian-based
The steps will be same for distros like Ubuntu, LMDE, Linux Mint, etc. which are Debian based. Read this in case you need more help or to know the graphical way for doing it. It's recommended that you to go for terminal because click selecting each package in GUI is a tedious job.


 * 1) Update your package list:
 * 2) Attach   before list of packages you want to install and run it in terminal. For example, to install "ant" and "openjdk6", run:
 * 3) Searching for right package name:Use   to search if the package is available in repo.

Arch

 * 1) Updating your package list:
 * 2) Attach   before list of packages you want to install and run it in terminal. For example, to install "ant" and "openjdk6", run:
 * 3) Searching for right package name:Use   to search if the package is available in repo.

Steps will be similar for all Arch based distros. Read this in case you need more help.

RedHat/Fedora
See this link for all RPM based distros.

Most of the popular GNU/Linux Distros fall under one of these three main branches. In other cases, just try your luck with Google.

Now you can proceed to the next chapter.