- Which apps read/write an SQLite 3 database in Ubuntu?
- 5 Answers 5
- Downloads
- macOS
- Homebrew
- Nightly builds
- Linux
- AppImage
- Snap packages
- Snap Release build
- Snap Nightly builds
- Arch Linux
- Fedora
- openSUSE
- Debian
- Ubuntu and Derivatives
- Stable release
- Nightly builds
- Other Linux
- FreeBSD
- DB Browser for SQLite
- Screenshot
- What it is
- What it is not
- Nightly builds
- Windows
- MacOS X / macOS
- Linux
- Arch Linux
- Fedora
- Debian
- Ubuntu and Derivatives
- Stable release
- Nightly builds
- Other Linux
- FreeBSD
- Developer mailing list
- Website
- Old project pages
- Releases
- History
- License
Which apps read/write an SQLite 3 database in Ubuntu?
Have an app on another device which exports an SQLite v3 database. I wish to read and alter the content of that .db file. Tried Libre Office Base, no joy. Which apps will read that .db file, and edit it? Hoping for a GUI app.
Editing an SQLite3 .db file requires knowing the SQL to make changes to the sqlite3 database anyways even with apps that can read the file — is there a reason you don’t use the command line sqlite3 program to do that?
LibreOffice should work with Sqlite though. This will work on LO too: wiki.openoffice.org/wiki/Documentation/How_Tos/…
5 Answers 5
- Create and compact database files
- Create, define, modify and delete tables
- Create, define and delete indexes
- Browse, edit, add and delete records
- Search records
- Import and export records as text
- Import and export tables from/to CSV files
- Import and export databases from/to SQL dump files
- Issue SQL queries and inspect the results
- Examine a log of all SQL commands issued by the application
Install with sudo apt install sqlitebrowser
I’d like to add you call DB Browser for SQLite from the command line by typing sqlitebrowser . I think the command name is for historical reasons.
There is an application in the repositories for Ubuntu versions before 18.04 called sqliteman . It is listed in those repositories as «GUI tool for SQLite3 admin and developers alike».
I haven’t used it much but it seems like it’s a readily available GUI tool in the repositories. If you are using a version of Ubuntu earlier than 18.04, you can install it with apt-get install sqliteman .
@K7AAY This answer could still have worked for non-18.04 users — remember 16.04 and 14.04 are still alive, so you need to keep that in mind. I would have left the apt-get lines in there rather than just yank it out, while making a note this only works for versions earlier than 18.04. (Remember also this answer was written almost 4 years ago, so you have to keep in mind the historical aspect of the answer too)
@K7AAY while at the same time making something that was an answer no longer an answer. I’ve done some revisions to the original message that preserve the original content but add that this only works for earlier verisons before 18.04. (If you edit an answer and remove the bits that make it a full standalone answer you make a historic answer no longer an answer — versus just editing the answer to indicate that the command only works for versions earlier than 18.04 which preserves the original answer but clarifies it doesn’t work for newer Ubuntu versions)
Downloads
Note — If for any reason the standard Windows release does not work (e.g. gives an error), try a nightly build (below).
Nightly builds often fix bugs reported after the last release. 😄
macOS
Our latest release (3.12.2) for macOS:
Homebrew
If you prefer using Homebrew for macOS, our latest release can be installed via Homebrew Cask:
brew install --cask db-browser-for-sqlite
Nightly builds
Download nightly builds for Windows and macOS here:
Linux
Our latest release is available as an AppImage, Snap packages, and distribution specific packages:
AppImage
Remember to change it’s permission bits to be executable before you run it. 😄
Snap packages
Snap Release build
snap install sqlitebrowser
Snap Nightly builds
snap install sqlitebrowser --devmode
Other distribution specific instructions:
Arch Linux
Install with the following command:
sudo pacman -S sqlitebrowser
Fedora
Install for Fedora (i386 and x86_64) by issuing the following command:
sudo dnf install sqlitebrowser
openSUSE
sudo zypper install sqlitebrowser
Debian
Note that Debian focuses more on stability rather than newest features. Therefore packages will typically contain some older version, compared to the latest release.
Install the package using:
sudo apt-get install sqlitebrowser
Ubuntu and Derivatives
Stable release
For Ubuntu and derivaties, @deepsidhu1313 provides a PPA with the latest release here:
To add this ppa just type in these commands in terminal:
sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser
Then update the cache using:
Install the package using:
sudo apt-get install sqlitebrowser
Ubuntu 14.04.X, 15.04.X, 15.10.X and 16.04.X are supported for now (until Launchpad decides to discontinue building for any series).
Ubuntu Precise (12.04) and Utopic (14.10) are not supported:
- Precise does not have a new enough Qt package in its repository by default, which is a dependency
- Launchpad does not support Utopic any more, which has reached its End of Life
Nightly builds
Nightly builds are available here:
To add this ppa, type these commands into the terminal:
sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser-testing
Then update the cache using:
Install the package using:
sudo apt-get install sqlitebrowser
Other Linux
On others, compile DB4S using the instructions in BUILDING.md.
FreeBSD
DB Browser for SQLite works well on FreeBSD, and there is a port for it (thanks to lbartoletti 😄). DB4S can be installed using either this command:
make -C /usr/ports/databases/sqlitebrowser install
pkg install sqlitebrowser
DB Browser for SQLite
2017-09-28 — Added PortableApp version of 3.10.1. Thanks John. 🙂
2017-09-20 — DB Browser for SQLite 3.10.1 has been released! 😀
2017-09-08 — Removed the continuous AppImage builds for Linux due to problems with the upload script.
Screenshot
What it is
DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.
It is for users and developers wanting to create databases, search, and edit data. It uses a familiar spreadsheet-like interface, and you don’t need to learn complicated SQL commands.
Controls and wizards are available for users to:
- Create and compact database files
- Create, define, modify and delete tables
- Create, define and delete indexes
- Browse, edit, add and delete records
- Search records
- Import and export records as text
- Import and export tables from/to CSV files
- Import and export databases from/to SQL dump files
- Issue SQL queries and inspect the results
- Examine a log of all SQL commands issued by the application
What it is not
This program is not a visual shell for the sqlite command line tool. It does not require familiarity with SQL commands. It is a tool to be used both by developers and by end users, and it must remain as simple to use as possible in order to achieve its goals.
Nightly builds
Nightly builds for Windows and OSX can be downloaded here:
Windows
Windows releases can be downloaded here:
Note — If for some reason the standard Windows release doesn’t work for you (eg it gives an error), try a nightly build. They often fix bugs reported after the last release. 😀
MacOS X / macOS
DB Browser for SQLite works well on MacOS X / macOS.
OSX releases can be downloaded here:
brew cask install db-browser-for-sqlite
Linux
DB Browser for SQLite works well on Linux.
Arch Linux
Arch Linux provides a package through pacman.
Fedora
For Fedora (i386 and x86_64) you can install by issuing:
$ sudo dnf install sqlitebrowser
Debian
Note that Debian focuses more on stability rather than newest features. Therefore packages will typically contain some older (but well tested) version, compared to the latest release.
Install the package using:
sudo apt-get install sqlitebrowser
Ubuntu and Derivatives
Stable release
For Ubuntu and derivaties, @deepsidhu1313 provides a PPA with our latest release here:
To add this ppa just type in these commands in terminal:
sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser
Then update the cache using:
Install the package using:
sudo apt-get install sqlitebrowser
Ubuntu 14.04.X, 15.04.X, 15.10.X and 16.04.X are supported for now (until Launchpad decides to discontinue building for any series).
Ubuntu Precise (12.04) and Utopic (14.10) are not supported:
- Precise doesn’t have a new enough Qt package in its repository by default, which is a dependency
- Launchpad doesn’t support Utopic any more, as that has reached its End of Life
Nightly builds
Nightly builds are available here:
To add this ppa just type in these commands in terminal:
sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser-testing
Then update the cache using:
Install the package using:
sudo apt-get install sqlitebrowser
Other Linux
On others you’ll need to compile it yourself using the (simple) instructions in BUILDING.md.
FreeBSD
DB Browser for SQLite works well on FreeBSD, and there is a port for it (thanks to lbartoletti). It can be installed using either this:
# make -C /usr/ports/databases/sqlitebrowser install
# pkg install sqlitebrowser
Developer mailing list
Website
Old project pages
Releases
- Version 3.10.1 released — 2017-09-20
- Version 3.10.0 released — 2017-08-20
- Version 3.9.1 released — 2016-10-03
- Version 3.9.0 released — 2016-08-24
- Version 3.8.0 released — 2015-12-25
- Version 3.7.0 released — 2015-06-14
- Version 3.6.0 released — 2015-04-27
- Version 3.5.1 released — 2015-02-08
- Version 3.5.0 released — 2015-01-31
- Version 3.4.0 released — 2014-10-29
- Version 3.3.1 released — 2014-08-31 — Project renamed from «SQLite Database Browser»
- Version 3.3.0 released — 2014-08-24
- Version 3.2.0 released — 2014-07-06
- Version 3.1.0 released — 2014-05-17
- Version 3.0.3 released — 2014-04-28
- Version 3.0.2 released — 2014-02-12
- Version 3.0.1 released — 2013-12-02
- Version 3.0 released — 2013-09-15
- Version 3.0rc1 released — 2013-09-09 — Project now on GitHub
- Version 2.0b1 released — 2009-12-10 — Based on Qt4.6
- Version 1.2 released — 2005-04-05
- Version 1.1 released — 2004-07-20
- Version 1.01 released — 2003-10-02
- Version 1.0 released to public domain — 2003-08-19
History
This program was developed originally by Mauricio Piacentini (@piacentini) from Tabuleiro Producoes, as the Arca Database Browser. The original version was used as a free companion tool to the Arca Database Xtra, a commercial product that embeds SQLite databases with some additional extensions to handle compressed and binary data.
The original code was trimmed and adjusted to be compatible with standard SQLite 2.x databases. The resulting program was renamed SQLite Database Browser, and released into the Public Domain by Mauricio. Icons were contributed by Raquel Ravanini, also from Tabuleiro. Jens Miltner (@jmiltner) contributed the code to support SQLite 3.x databases for the 1.2 release.
Pete Morgan (@daffodil) created an initial project on GitHub with the code in 2012, where several contributors fixed and improved pieces over the years. René Peinthor (@rp-) and Martin Kleusberg (@MKleusberg) then became involved, and have been the main driving force from that point. Justin Clift (@justinclift) helps out with testing on OSX, and started the new github.com/sqlitebrowser organisation on GitHub.
John T. Haller, of PortableApps.com fame, created the new logo. He based it on the Tango icon set (public domain).
In August 2014, the project was renamed to «Database Browser for SQLite» at the request of Richard Hipp (creator of SQLite), as the previous name was creating unintended support issues.
In September 2014, the project was renamed to «DB Browser for SQLite», to avoid confusion with an existing application called «Database Browser».
License
DB Browser for SQLite is bi-licensed under the Mozilla Public License Version 2, as well as the GNU General Public License Version 3 or later.
You can modify or redistribute it under the conditions of these licenses.
This page was generated by GitHub Pages using the Architect theme by Jason Long.