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?

grooveplex
  • 2,506
  • 3
  • 27
  • 35
Trinadh venna
  • 158
  • 1
  • 1
  • 6

4 Answers4

6

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.

kos
  • 41,268
1

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

A.B.
  • 92,125
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
LiveWireBT
  • 29,597
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.

Maythux
  • 87,123