¿Cómo realizar la instalación fuente de SQLite3?

OSQLite es un sistema de gestión de bases de datos relacionales contenido en una pequeña biblioteca de programación. A diferencia de otros sistemas de gestión de bases de datos, SQLite no es un proceso independiente al que se accede desde la aplicación cliente, sino una parte integral de ella. SQLite es compatible con ACID e implementa la mayor parte del estándar SQL, utilizando una sintaxis SQL dinámica y de tipo débil.

Como base de datos integrada, la instalación de SQLite3 es una opción popular para el almacenamiento local/cliente en software de aplicaciones como navegadores web. Podría decirse que es el motor de base de datos más utilizado, ya que lo utilizan hoy en día varios navegadores, sistemas operativos y sistemas integrados, entre otros. SQLite tiene enlaces a muchos lenguajes de programación.

  1. Primero que nada tienes que descargar el código fuente de sqlite3 desde www.sqlite.org
  2. Save file under $HOME directory and extract using the command “tar zxvf sqlite-3.5.2.tar.gz”, in this example or if diferent version, sqlite-x.x.x.This will create a directory “sqlite-3.5.2” in this example or sqlite-x.x.x in your case (if diferent version)
  3. Change Directory to sqlite-3.5.2 using command “cd $HOME/sqlite-3.5.2”
  4. Create a new directory here for the new modules that you are going to build and install “mkdir build”
  5. Change directory to bld (newly created) using command “cd build”
  6. Now that you are in directory “$HOME/sqlite-3.5.2/build” run “../configure” this will configure your sqlite3 installation based on your Linux version, take a look at the configure results and make sure that everything is fine, proceed to next step
  7. Issue the coomand “make”
  8. Now being root -and after make has finished- issue the command “make install” to install sqlite3 to specific default location like /usr/local/lib
  9. Now that you have installed sqlite3 issue the command “ldconfig” in order to load the path of sqlite3 executable because sometimes this is not done and you will get errors when trying to link to sqlit3 library.
  10. Run the command “sqlite3” if you get the prompt “SQLite version 3.5.2 Enter “.help” for instructions sqlite>” then everything is fine. To exit run command “.exit” or “.help” to see sqlite3 help instructions.
Póngase en contacto con nosotros.

Suscríbete para recibir las últimas actualizaciones

Artículos Relacionados

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Spanish
English
English
Japanese
German
French
Spanish

envíanos whatsapp

Salir de la versión móvil