4

I'm trying to install RokiSim, a robot simulator on Ubuntu 14.04.

I downloaded the tar.gz and extracted it. But I didn't find any configure folder or make file to start installation. How do I install such kind of software?

There are also Windows versions of the simulator which I can run using Wine. But I want to sort this out because I have another simulator called RoboDK that is also giving me the same problem, no install file. How can I install these?

5

There's no configure file because the archive contains binaries.

The executable is in /bin/: assuming that you extracted the folder in ~/Downloads, you can directly execute the program making it executable by running

chmod +x ~/Downloads/RoKiSim/bin/RoKiSim

and executing it by running

~/Downloads/RoKiSim/bin/RoKiSim

To install it, I suggest you to move the folder to /opt/ by running

sudo mv ~/Downloads/RoKiSim/ /opt/

to make the program executable by running

chmod +x /opt/RoKiSim/bin/RoKiSim 

and to add a symbolic link to /usr/bin/ by running

sudo ln -s /opt/RoKiSim/bin/RoKiSim /usr/bin/rokisim

After that, you'll be able to run the program just by running rokisim.

  • Thank you, i successfully installed and was able to run it through symbolic link. There are few library errors while running, anyways that has nothing to do with installation, its because of the compatibility of the software. and how do i remove a symbolic link just in case if i dont need one? – Trinadh venna Jun 22 '15 at 15:18
  • @Trinadhvenna Since they are .so files they are probably hard-linked in the executable, so I guess that yes that's due to the libraries included, permissions should be ok after sudo mv [...]. To remove the symbolic link just remove it as root since it's owned by root: sudo rm /usr/bin/rokisim – kos Jun 22 '15 at 15:37
1

Search for autogen.sh or configure and start the script. After that make and make install.

1

An addition to the accepted answer:

Check that the application you downloaded is compatible with your version of Ubuntu. If you accidentally downloaded the 64-Bit version, but only run a 32-Bit Ubuntu you will run into errors with these kind of programs. One way to check is to use file on the binary in question:

32-Bit example:

$ file Telegram 
Telegram: ELF 32-bit LSB  executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=11f563210db7884f7da2097cbf7a749e7f87eb4c, stripped

64-Bit example:

$ file Telegram 
Telegram: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=56a499cd5b22c4b431a60089d5443ae454f63029, stripped
0

Always whenever you try to install from source code, search for the files README or INSTALL , there you can find indications how to install that application. Reading those files give you the steps to do to install your app.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.