Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Policy-based Resilience Simulator with OMNeT++/Basics

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

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: tar xfvz package_name For example: tar xfvz omnetpp-4.1-src.tar.gz 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, Updating your package list: You don't have to do this more often. Once in a week is more than enough. 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. Update your package list: sudo apt-get update Attach sudo apt-get install before list of packages you want to install and run it in terminal. For example, to install "ant" and "openjdk6", run: sudo apt-get install ant openjdk6 Searching for right package name:Use sudo apt-cache search package_name to search if the package is available in repo. Arch Updating your package list: sudo pacman -Syu Attach sudo pacman -S before list of packages you want to install and run it in terminal. For example, to install "ant" and "openjdk6", run: sudo pacman -S ant openjdk6 Searching for right package name:Use sudo pacman -Ss <package name> 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. Introduction Building OMNeT++ Policy-based Resilience Simulator with OMNeT++