SQLite Installation
This article is Part 1 in a 1-Part series called SQLite Intro.
- Part 1 - This Article
Introduction
We covered how to install and start using MySQL in the MySQL intro article series. This series takes a look at the SQLite RDBMS, which has a number of selling points with which the reader can freely aquaint themselves. In summary, some of the attractive features of the public domain SQLite database engine include:
- full-featured SQL
- lightweight (small foot print)
- file-based (self-contained & serverless)
- easy to use (zero-configuration)
Essentially, one way to look at this is that we have the power of a full RDBMS within the convenience of a file. Needless to say, these features make it quite handy for a number of application settings.
Happily, the documentation seems well laid out (always helpful), and there is a handy syntax guide (and also here) to get quickly up to speed with SQLite’s grammar.
Installing SQLite
RDBMS
installation options including compilation from source. Tutorialspoint, which I have found to be a useful information source also has an installation guide (of sorts) These options are really good to keep in mind. However, as always, we will take the simple route, which should suffice for the more common pedestrian use case:
This process is made simplified due to SQLite’s zero configuration property, compared to MySQL installation for example.
Tools
Now that we have sorted out installing SQLite there is the question of accessing and interacting with SQLite databases. Inspection of the summary of what comes with the installation for Ubuntu here indicates that installation consists of a set of libraries. There is always the trusty command line interface with which to use SQLite. However, there doesn’t seem to be some default or de facto GUI-friendly utility that also incorporates features such as database design in the way that MySQL has its workbench and Oracle has its developer.
A brief look indicates that there are many, many third party tool options with which to manage SQLite, but we will stick to a couple of options so that we can fully evaluate them before deciding on something else. To this end, I have settled on the following tools as they look to be free, reasonably supported and seem to possess useful features:
- SQLite browser: This application seems reasonably useful and has detailed install instructions: As always, the Ubuntu installation section is where I am at. For the ultra lazy, this app can also be installed via the apps directory;
- SQLite Manager firefox browser addon… For the even lazier! . This is a useful, easy to install tool that I have used before. The fact that it runs on the browser is really convenient.
Conclusion
SQLite is a compact, highly useful and relatively simple to install RDBMS. In future posts we will explore the functionality of this system through a number of tutorials that may or may not include the following set of tutorials below:
- Command line interface
- Software Carpentry
- Data Carpentry
- Translation (where possible) of tutorial materials covered in the MySQL intro series.
- Tutorialspoint (always a handy source) .
Other tutorial topics will be explored as they become of interest or relevance, and I look forward to exploring this useful tool. Please join me in the next installment !!
This article is Part 1 in a 1-Part series called SQLite Intro.
- Part 1 - This Article