-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard
$90.99

ASRock B650M Pro RS WiFi AM5 AMD B650 SATA 6Gb/s Micro ATX Motherboard
$101.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASUS ROG STRIX X870E-E GAMING WIFI
$289.99