Installing sqlitebrowser on RHEL7 / CentOS7

Install some dependencies

sudo yum -y install sqlite-devel qt5-qtbase-devel cmake3

I was also using devtoolset-8 for GCC 8.3 (default in CentOS 7 is GCC 4.8). I’m guessing GCC 4.8 will probably build OK, but I didn’t test this. Instructions for installing and enabling devtoolset-8 are here.

Prepare, acquire, configure, build, install

# Prepare
rm -fr /src/ /src/
mkdir -p ~/src/ ~/src/
cd ~/src/
# Acquire
git clone
# Configure
cd ~/src/
# Build
# Install
sudo make install

Now, there should be a “sqlitebrowser” command to start the app (DB Browser for SQLite).

Leave a Comment