How to know the dependencies of a program

Any executable files need a set of libraries to work. If some libraries required by the application are not found on the system then the application doesn't run. In order to know which dependencies has an application open a terminal and type:

ldd file.name

The instruction ldd prints on the terminal all the dependencies of the executable whose name is file.name . But the instruction works only if the current path is the same of the one of the executable. If you want to know the dependencies of an executable which is in a different directory type:

ldd `which file.name`

Once you have seen which dependencies are missing you can search them on-line and once installed your executable will run.