-
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

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00

SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed
$42.00