Results 1 to 7 of 7

Thread: Where is .bashrc file on Ubuntu 9.10

  1. #1

    Where is .bashrc file on Ubuntu 9.10

    I am very new to Linux. I am using Ubuntu 9.10. I was installing network simulator 2. After installation I get the following message.

    Please put /home/administrator/Downloads/ns-allinone-2.34/bin:/home/administrator/Downloads/ns-allinone-2.34/tcl8.4.18/unix:/home/administrator/Downloads/ns-allinone-2.34/tk8.4.18/unix
    into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

    IMPORTANT NOTICES:

    (1) You MUST put /home/administrator/Downloads/ns-allinone-2.34/otcl-1.13, /home/administrator/Downloads/ns-allinone-2.34/lib,
    into your LD_LIBRARY_PATH environment variable.
    If it complains about X libraries, add path to your X libraries
    into LD_LIBRARY_PATH.
    If you are using csh, you can set it like:
    setenv LD_LIBRARY_PATH <paths>
    If you are using sh, you can set it like:
    export LD_LIBRARY_PATH=<paths>

    (2) You MUST put /home/administrator/Downloads/ns-allinone-2.34/tcl8.4.18/library into your TCL_LIBRARY environmental
    variable. Otherwise ns/nam will complain during startup.


    After these steps, you can now run the ns validation suite with
    cd ns-2.34; ./validate

    For trouble shooting, please first read ns problems page
    http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive
    for related posts.

    My friend suggested that it is something to do with .bashrc file. I fund files like .bash.bashrc. can you anyone pleaes guide me

  2. #2

    Re: Where is .bashrc file on Ubuntu 9.10

    bouce

  3. #3
    Join Date
    Feb 2010
    Location
    Japan
    Beans
    Hidden!

    Re: Where is .bashrc file on Ubuntu 9.10

    Code:
    nano ~/.bashrc
    as user.

    Code:
    export PATH=$PATH:/home/administrator/Downloads/ns-allinone-2.34/bin:/home/administrator/Downloads/ns-allinone-2.34/tcl8.4.18/unix:/home/administrator/Downloads/ns-allinone-2.34/tk8.4.18/unix
    add that to that file. copy and paste with ctl + shift + v

    it will look similar to this
    [view it by doing echo $PATH]

    Code:
    /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/usr/games/bin:/home/administrator/Downloads/ns-allinone-2.34/bin:/home/administrator/Downloads/ns-allinone-2.34/tcl8.4.18/unix:/home/administrator/Downloads/ns-allinone-2.34/tk8.4.18/unix
    If you have any questions about what the commands do, ask someone!

    if something breaks, or you mess up your path... its an easy fix

    Code:
    source /etc/profile
    Please mark this as solved.

    Welcome to the forums! Enjoy it here!
    DONT BLINDLY RUN COMMANDS THAT PEOPLE ON THE FORUMS TELL YOU
    some times people will post malicious command that will destroy your
    install
    USE="gentoo" && emerge -avuDN world
    -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
    知さん。

  4. #4

    Re: Where is .bashrc file on Ubuntu 9.10

    I tried to run a simple NS code i get this

    administrator@ubuntu:~/Downloads/ns-allinone-2.34/ns-2.34$ ns ns-simple.tcl
    CBR packet size = 1000
    CBR interval = 0.0080000000000000002
    ns: finish: couldn't execute "nam": permission denied
    while executing
    "exec nam out.nam &"
    (procedure "finish" line 7)
    invoked from within
    "finish"
    help

  5. #5
    Join Date
    Apr 2010
    Beans
    1

    Re: Where is .bashrc file on Ubuntu 9.10

    I have the same problem (permission denied). Anybody can help?
    When I try to execute the nam command from ../ns-allinone-2.34/nam-1.14 folder, it seems OK. But ns2 can not launch nam.

    Thanks a lot!!

    Quote Originally Posted by joyboyhardik@yahoo.com View Post
    I tried to run a simple NS code i get this

    administrator@ubuntu:~/Downloads/ns-allinone-2.34/ns-2.34$ ns ns-simple.tcl
    CBR packet size = 1000
    CBR interval = 0.0080000000000000002
    ns: finish: couldn't execute "nam": permission denied
    while executing
    "exec nam out.nam &"
    (procedure "finish" line 7)
    invoked from within
    "finish"
    help

  6. #6
    Join Date
    Feb 2012
    Beans
    2

    Re: Where is .bashrc file on Ubuntu 10.04

    i am trying to install but i am not getting installed what can i do for this


    IMPORTANT NOTICES:

    (1) You MUST put /root/ns-allinone-2.34/otcl-1.13, /root/ns-allinone-2.34/lib,
    into your LD_LIBRARY_PATH environment variable.
    If it complains about X libraries, add path to your X libraries
    into LD_LIBRARY_PATH.
    If you are using csh, you can set it like:
    setenv LD_LIBRARY_PATH <paths>
    If you are using sh, you can set it like:
    export LD_LIBRARY_PATH=<paths>

    (2) You MUST put /root/ns-allinone-2.34/tcl8.4.18/library into your TCL_LIBRARY environmental
    variable. Otherwise ns/nam will complain during startup.


    After these steps, you can now run the ns validation suite with
    cd ns-2.34; ./validate

    For trouble shooting, please first read ns problems page
    http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive
    for related posts.

  7. #7
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 17.10 Artful Aardvark

    Re: Where is .bashrc file on Ubuntu 10.04

    ran1063, please start a new thread in Absolute Beginners, and add as many details about your problem as possible.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •