-
Junior Member
registered user
path environment
Hi all,
Im installing NS2 on hd installed knoppix 3.9 (debian). After completing the install process, the install script gave this message:
(1)
Please put /home/roustabout/ns-allinone-2.28/bin:/home/roustabout/ns-allinone-2.28/tcl8.4
.5/unix:/home/roustabout/ns-allinone-2.28/tk8.4.5/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
(2)
You MUST put /home/roustabout/ns-allinone-2.28/tcl8.4.5/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
(1) My question where do i put this path environment? Is it in the bashrc located in the /etc?
Code:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/opt/kde2/bin:/usr/X11R6/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/roustabout/ns-allinone-2.28/bin:/home/roustabout/ns-allinone-2.28/tcl8.4
.5/unix:/home/roustabout/ns-allinone-2.28/tk8.4.5/unix:."
export PATH
am i correct?
(2) For the second part, where do i find this TCL_LIBRARY variable?
Thank you.
p/s: i'm a linux newbie
-
First check if you have set TCL_LIBRARY with: echo $TCL_LIBRARY
If you get no output do: echo "export TCL_LIBRARY=/home/roustabout/ns-allinone-2.28/tcl8.4.5/library" >> ~/.bashrc
If you get output do: echo "export TCL_LIBRARY=$TCL_LIBRARY:/home/roustabout/ns-allinone-2.28/tcl8.4.5/library" >> ~/.bashrc
Then do: echo "export PATH=$PATH:/home/roustabout/ns-allinone-2.28/bin:/home/roustabout/ns-allinone-2.28/tcl8.4.5/unix:/home/roustabout/ns-allinone-2.28/tk8.4.5/unix" >> ~/.bashrc
You can of course just add the lines to ~/.bashrc or ~/.profile instead of echoing them there.
If you want them systemwide for all users add them to /etc/profile
Similar Threads
-
By A. Jorge Garcia in forum General Support
Replies: 7
Last Post: 09-05-2005, 06:40 PM
-
By hesa666 in forum MS Windows & New to Linux
Replies: 0
Last Post: 05-22-2005, 06:38 PM
-
By roustabout in forum General Support
Replies: 5
Last Post: 05-07-2005, 03:05 AM
-
By furryfren in forum General Support
Replies: 2
Last Post: 04-21-2005, 03:43 AM
-
By SunnyB in forum General Support
Replies: 0
Last Post: 10-19-2004, 09:58 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

Novell SUSE Linux Enterprise Server 9, Linux Professional 8.2 / 9.1 — 3 DVD Set
$58.00

Microsoft SQL Server 2019 Enterprise 40 Core Unlimited CAL Retail License FPP
$299.00

RED HAT ENTERPRISE LINUX 5 SERVER RHF0382US-R1 for PC x86 AMD 64 INTEL 64 30 Day
$188.24

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026
$12.99

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$125.00

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95

1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server
$109.99

SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA
$284.99

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay
$500.00