Installing SpatiaLite on Linux

SpatiaLite and VirtualShape are SQLite extensions, so you need to install SQLite too, in order to allow them to operate.
There are various alternative ways you can follow at your choice:
  1. the standard distribution way:
  2. the doing it by hand way:
  3. the GUI tool way:
  4. the SQLiteGeo way:
Then I suggest you to download the test.db database and follow the tutorial step by step;
it's the fastest way to become accustomed with SpatiaLite and VirtualShape

Linux 64 bits architecture is supported by corresponding xxxx-linux-x86_64-xxxxx packages.
Very unlikely SQLite and SpatiaLite will be used to manage huge databases, so there is no good reason to use them at all.
[the main reason to use a 64 bits architecture is in that you are not constrained by the 4 GB memory limit implied by the 32 bits architecture].
Anyway, they are here.

Managing shared libraries

On Linux systems, shared libraries are identified by a .so suffix
Usually they have a plain name i.e. somelib.so, but usually they supports a version name as well, i.e. somelib.so.1.0
Usually this is accomplished simply by creating a symbolic link, as in:

$ ln -s somelib.so.1.0 somelib.so

Usually shared libraries must be placed in the /usr/lib directory or in the /usr/lib64 directory if they use the 64 bits architecture

You can as well keep yours shared libraries in any other directory at your choice, but in this case you have to set en environment variable, as in:

$ LD_LIBRARY_PATH=/home/user_name/my_preferred_so_dir
$ export LD_LIBRARY_PATH