-
Please, help to install OMNeT++ on Knoppix!!!
Hi all
I need your help very urgently.
I am a newbie at Knoppix, I need your help. In my computer I have Windows XP installed, however, I want to use a software (OMNeT++) and make different simulations from console, for this reason, I need to run on Linux OS.
I have a Live-CD with knoppix. I boot my PC from CD and Knoppix is launched, in my directory I decompress OMNeT++ (in omnetpp sub-directory as it is mentioned after) software and these are the next instructions to be followed and I need some help:
##A sub-directory called omnetpp will be created which will contain the simulator
files. You should now add the following lines to your startup file (.bashrc
or .bash_profile if you're using bash; .profile if you're using some other
sh-like shell):
export PATH=$PATH:~/omnetpp/bin
export LD_LIBRARY_PATH=~/omnetpp/lib
For these variables to be included in the environment you will need to
restart the shell before proceeding (logout and login again).##
When is referring to the shell, is it simply the Console? I use Console to introduce the commands, where can I found the startup file to add these lines that are required to use OMNeT software?
Please could you let me know how to modify startup file?
Many thanks in advance.
-
You are apparently getting into something that is way over your head right now. I don't want to discourage you, but you will need to learn some prerequisites first. Start here: http://en.wikipedia.org/wiki/BASH, continue with all the External Links from that page. After that feel free to come back if you still have questions...
-
Senior Member
registered user
SiKing is certainly correct - You need to do alittle reading 
However the file you seek is: /etc/profile 
Take care,
-Justin
One Mynds Eye
-
Senior Member
registered user
On my system, knoppix 4.02, the file is /home/knoppix/.bashrc
Note that the filename starts with a dot, which makes it a hidden file. Once
you edit this file with your changes, you may have to su to root to do so, save
the file, exit the terminal and then open a new terminal. You can cat the file
to see that your changes have taken.
-

Originally Posted by
turbine
On my system, knoppix 4.02, the file is /home/knoppix/.bashrc
The system always reads /etc/profile first, followed by .bash_profile or .bashrc if either of those exist. The exact rules are actually more complicated than this; if you want to know the gory details, have a read here.

Originally Posted by
turbine
Note that the filename starts with a dot, which makes it a hidden file. Once
you edit this file with your changes, you may have to su to root to do so
If you need su to edit anything in your home, then you have done something wrong at some point in the past.
Similar Threads
-
By susanjohnson in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 04-21-2005, 11:36 AM
-
By techdesk in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-21-2005, 03:14 AM
-
By nmz787 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 11-21-2004, 09:17 AM
-
By Jez in forum General Support
Replies: 4
Last Post: 08-09-2004, 09:06 PM
-
By Superstoned in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 08-27-2003, 03:04 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

(LOT OF 4) Intel Core i5 Processors Different Gens
$249.99

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD
$27.99

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49

Intel Core I7-7700 SR338 3.60 Ghz Processor
$39.99

Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0
$38.00

AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad
$355.99