Results 1 to 2 of 2

Thread: path environment

  1. #1
    Junior Member registered user
    Join Date
    Oct 2004
    Posts
    11

    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

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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

  1. Installing jdk 1.5 and setting path
    By A. Jorge Garcia in forum General Support
    Replies: 7
    Last Post: 09-05-2005, 06:40 PM
  2. Path to programs
    By hesa666 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 05-22-2005, 06:38 PM
  3. adding path
    By roustabout in forum General Support
    Replies: 5
    Last Post: 05-07-2005, 03:05 AM
  4. Setting Java PATH
    By furryfren in forum General Support
    Replies: 2
    Last Post: 04-21-2005, 03:43 AM
  5. Can't change environment variable pkg-config-path
    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
  •  


Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver picture

Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver

$24.99



Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5) picture

Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5)

$24.99



Cisco GLC-SX-MM 1000Base SX SFP Transceiver Module 30-1301-02 picture

Cisco GLC-SX-MM 1000Base SX SFP Transceiver Module 30-1301-02

$5.99



Lot of 10pcs Brocade 57-1000012-01 8Gbps SWL 850nm SFP+ Optical Transceivers picture

Lot of 10pcs Brocade 57-1000012-01 8Gbps SWL 850nm SFP+ Optical Transceivers

$19.00



F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver picture

F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver

$4.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver picture

Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver

$9.00



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module picture

SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module

$6.80