LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-22-2017, 01:04 PM   #1
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Rep: Reputation: Disabled
installation problem in nam


hi
I have followed following commands to install NS2 and NAM

1. sudo apt-get install ns2

(it works)
2. sudo apt-get install xgraph
2. sudo apt-get install nam

on running nam its gives " Segmentation fault (core dumped)"

to over come following problem , I install nam_1.15-10-i386.dep and run
"Inspiron-15-3567:~/Downloads$ sudo dpkg --install nam_1.15-10_i386.deb"

after running nam command i get the error

Inspiron-15-3567:~$ nam
bash: /usr/bin/nam: No such file or directory
kindlly suggest me what i do
 
Old 04-22-2017, 01:18 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

? Are you sure your OS is 32bits ?
Please do : uname -m
... will reply with i686 or x86_64.

sudo dpkg --install nam_1.15-10_i386.deb
The text output must end with this line :
Setting up nam (1.15-10)


All nam packages http://www.linuxquestions.org/questi...-4175524760/#2

Ubuntu version 17.04 : The nam package is usable again :
sudo apt install nam xgraph


-

Last edited by knudfl; 04-22-2017 at 01:26 PM.
 
Old 04-23-2017, 12:49 PM   #3
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Nam Installation problem

Thanks for reply

i have 64 bit processor

after doing all the thing at last i run nam_1.14_amd64.deb, and its work .

kindly suggest me after that what i do.

i want to learn ns2 but i m new , how i proceed?
 
Old 04-23-2017, 01:19 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
ns2 : It all starts here http://www.isi.edu/nsnam/ns/tutorial/

http://www.isi.edu/nsnam/ns/doc/index.html

http://www.isi.edu/nsnam/ns/

2000 simulation examples https://drive.google.com/file/d/0B7S...ew?usp=sharing


No real ns2 support any more. The ns2 developers are busy with ns3
https://groups.google.com/forum/?fro...rum/ns-3-users


-
 
Old 04-25-2017, 06:32 PM   #5
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks

Thanks for your suggestion. I want to do research in "communication in smart grid computing".How I proceed if possible help me?.
 
Old 04-26-2017, 07:52 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #5.

Some publications : ns2 communication in smart grid computing
https://www.google.com/webhp?hl=all&...grid+computing
 
Old 04-27-2017, 02:07 AM   #7
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
problem in ns2 nam

Thanks for your suggestion

After successfully install the nam_1.14_amd64.deb, it work for 3 to 4 days , But today i have got the error after run nam command. the error is " Segmentation fault (core dumped) ". I have 64 bits machine , Ubuntu 16.04.

Kindly give your suggestion what i do?
 
Old 04-27-2017, 06:05 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #7.

Please specify OS : Name and version.

Actually the OS info is required by every question.
I think we got the architecture only : 64bits. ( Assume x86_64 / amd64.)
 
Old 04-27-2017, 07:00 AM   #9
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
OS

OS is Ubuntu 16.04LTS
 
Old 04-27-2017, 12:46 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #7, #9.

May the Ubuntu 10.10 package nam_1.14_amd64.deb is too old for 16.04 .

Please update to nam_1.15-10-ubuntu14_amd64.deb
https://drive.google.com/file/d/0B7S...ew?usp=sharing

sudo gdebi ./nam_1.15-10-ubuntu14_amd64.deb
 
Old 05-15-2017, 08:34 PM   #11
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Not Resolve the problem

I installed as per suggestion ,so i get gedbi command not found , After That i install the
sudo apt-get install gdebi

Its installed

opal@opal-Inspiron-15-3567:~/Downloads$ sudo gdebi ./nam_1.15-10-ubuntu14_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

No description
Do you want to install the software package? [y/N]:y
(Reading database ... 287597 files and directories currently installed.)
Preparing to unpack .../nam_1.15-10-ubuntu14_amd64.deb ...
Unpacking nam (1.15-10-ubuntu14) over (1.15-10-ubuntu14) ...
Setting up nam (1.15-10-ubuntu14) ...
opal@opal-Inspiron-15-3567:~/Downloads$ nam
bash: /usr/bin/nam: No such file or directory

Now I am getting the BAsh error , what is Bash, How I will be resolve?
 
Old 05-16-2017, 03:30 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #11.
Quote:
what is bash
'bash' is a shell : echo $SHELL
Goggle can tell https://www.google.com/webhp?hl=all&...q=what+is+bash


Code:
List the files in an installed package :  dpkg -L [package]
dpkg -L nam
.
/usr/local/bin/nam
.
.
..... Maybe /usr/local/bin/ was deleted from the default PATH ? → echo $PATH

P.S. : nam_1.15-10-ubuntu14_amd64.deb is also the package I once installed in Ubuntu 16.04
.... No issues.

-

Last edited by knudfl; 05-16-2017 at 03:51 AM.
 
Old 05-16-2017, 11:52 PM   #13
prabhatopal
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
MATLAB for Ubuntu 16.04

Thanks for your reply , when i restart the Computer it worked.

Now my next query is that.

What version of MATLAB is suitable for my Computer Having Ubuntu16.04 LTS OS, 64 bit machine, 8 GB RAM.

From where I am able to Download MATLAB

Last edited by prabhatopal; 05-16-2017 at 11:57 PM.
 
Old 05-17-2017, 04:58 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #13. MATLAB Ubuntu16.04

Probably ask at https://askubuntu.com/questions
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation problem in ns2.31, nam ia not working evanjalin Linux - Newbie 17 02-14-2014 10:31 PM
NS-2 Installation - NAM & tk8.5 issues dsproffitt Linux - Desktop 1 02-21-2013 03:54 AM
ns2.29.3 installation on fedora 15 , nam installation problem Narges Linux - Networking 5 10-31-2011 11:09 AM
problem in nam-1.14 sukrutha Linux - Newbie 2 08-21-2011 03:59 AM
Problem with nam in ns-2.34 dreams2010 Linux - Software 5 09-26-2010 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration