LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing sumo and move on ubuntu (http://www.linuxquestions.org/questions/linux-newbie-8/installing-sumo-and-move-on-ubuntu-893294/)

umair ahmed 07-23-2011 02:48 AM

installing sumo and move on ubuntu
 
HI : I wanna install sumo and move in ubuntu 10.10.I've visited the site details ,but that's too complicated for me to understand,How can I install it in a quicker way ?

knudfl 07-23-2011 04:46 AM

Welcome to LQ. .. .. :) ..

Ubuntu 10.10, sumo-0.13 :
sudo apt-get install libfox-1.6-0 libxerces-c28 proj

sudo dpkg -i sumo_0.13.0-1_<arch>.deb
i386 http://download.opensuse.org/reposit...bian_5.0/i386/
amd64 http://download.opensuse.org/reposit...ian_5.0/amd64/

I don't remember any "package move". Which version ? ?
And please show a link to 'move'.

Good luck.

bency 07-25-2011 03:14 AM

I found MOVE source code, but I dont have any post so I cant add the link for you, you can google "sumo move source" and search the title "MOVE-LENS".
I tried to build it by $javac *.java
but it said MapUtilities.java:41: package org.jdom does not exist. So I find org.jdom and download its source code to build, but I got problem at ./built.sh process. Im using Ubuntu 11.04, I installed openjava-6-jdk and set the JAVA_HOME=/usr/bin/java, and I built it again, and then it still not work because it said:
JDOM Build System
-------------------

Building with classpath /usr/bin/java/lib/tools.jar:/usr/bin/java/lib/dev.jar:./lib/ant.jar:./lib/xml-apis.jar:./lib/xerces.jar:

Starting Ant...

./build.sh: 36: /usr/bin/java/bin/java: not found

So I correct the path to JAVA_HOME=/usr
built again, and I see the fail message:

BUILD FAILED
file:/home/bency/jdom/build.xml:173: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Total time: 0 seconds
I know found java can use "whereis java", but I don't know how to find JDK, can anyone help me?

knudfl 07-25-2011 05:14 AM

Post #3, @bency : Welcome to LQ.

Which "move" file name ? Like move-0.3.1.tar.gz ...
A link please. Or add a copy of a link to post #3 :
"http://www. ...."


About jdk : Please specify your Linux OS, Like Ubuntu 11.04,
CentOS 6.0 etc. http://linuxsilo.net/docs/smart-questions_en.html

..

umair ahmed 08-01-2011 08:34 AM

HI,I have installed bonnmotion in following location
umair@umair-VirtualBox:~/Downloads/bonnmotion-1.5a/bin$
every time i've to run it ,I've to move few directories ,which is painful,I want to access bonnmotion from my terminal directly from home folder,how do I set path for that ?
ALso I installed earlier java ,here is my version
umair@umair-VirtualBox:~$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
umair@umair-VirtualBox:~$
but I didn't select any path after installing ,do I need to set that ?please reply I'm using ubuntu 10.10

knudfl 08-02-2011 10:18 AM

java -version
java version "1.6.0_26"
Java seems to be set up automatically at the package install.

I will have a look at BonnMotion v1.5a
http://net.cs.uni-bonn.de/wg/cs/appl...ns/bonnmotion/


! How about that link to move ?

..

umair ahmed 08-06-2011 02:14 AM

installing java in ubuntu 10.10
 
I installed sun java using synaptic manager
java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
umair@umair-VirtualBox:~$ whereis java
java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz
this is the output of the two commands in
now tell me do I have to set any path for installing anyother software that require java ?
move is for sumo and ns2 http://lens1.csie.ncku.edu.tw/wiki/d...cular_networks
i installed sumo in ubuntu 10.10 but I could't use it without move which i don't know how to install in ubuntu 10.10

knudfl 08-06-2011 03:51 AM

Quote:

java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
The setup will do for all java applications.


If /usr/bin/javac ever is required for compiling java programs,
you will also have to install 'sun-java6-jdk'.

..

knudfl 08-06-2011 07:16 AM

How to use 'vanet move' : Download MOVE.jar ...
Direct link : http://lens1.csie.ncku.edu.tw/MOVE/MOVE.jar


cd <directory-with-MOVE.jar>/ && java -Xmx512m -jar MOVE.jar

... And the move GUI will open

.

yashu 11-15-2011 02:02 AM

how to install
 
how to install in ubuntu steps needed

Xerces (XML-parser)

knudfl 11-16-2011 03:41 AM

# 10, @yashu.

Probably install libxml-parser-perl and libxerces-c-dev :
sudo apt-get install libxml-parser-perl libxerces-c-dev


...

knudfl 03-01-2012 04:01 AM

@yashu : This is an answer to your question here
http://www.linuxquestions.org/questi...020/page2.html

Ubuntu 10.10 :

May be you got a corrupt source package ? A valid one is ..
http://dfn.dl.sourceforge.net/projec...-0.12.3.tar.gz
> sumo-src-0.12.3.tar.gz

sudo apt-get install \
gfortran libproj-dev libxerces-c-dev libfox-1.6-dev
( libxerces-c-dev is version 3.1 ).

cd sumo-src-0.12.3/ && ./configure && make : No errors.
( I also tested with libxerces-c2-dev : The same,,, no errors.)
.

yashu 03-02-2012 12:22 AM

thank u got installed , got sumo-gui also
now i want integrate sumo ,ns2, MOVE need some link to work on this

sonasanam 03-14-2012 04:20 AM

hello
 
how to install TraNS is a Traffic and Network Simulator in ubuntu10.10 :redface:

knudfl 03-14-2012 04:36 AM

# 14, @sonasanam : Welcome to LQ. .. :) ..

1) Install Sun Java 6 / Oracle Java 6 :
http://java.dzone.com/articles/sun-j...untu-1004-1010

1a) sudo update-alternatives --config java
... And then select the "Sun Java 6" ( If not already set.)
( Java can be checked with the command : java -version ).

2) Unpack TraNS. Go to TraNSv1.2/bin/
... Do this command : java -jar TraNSv1.2.jar

No install is required for TraNSv1.2 or TraNSLite.

.


All times are GMT -5. The time now is 04:33 PM.