Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dkgndianko/82cb1b57e5d1828322d3153aff83d9e8 to your computer and use it in GitHub Desktop.
Save dkgndianko/82cb1b57e5d1828322d3153aff83d9e8 to your computer and use it in GitHub Desktop.
This is a howto for installing Tableplus (A database tool) on Linux RPM-compatible distributions.

Successfully installed on Fedora Workstation 32 with this steps:

  1. Download the Debian package from official sources there [UPDATE] Use this link instead.
  2. Installing some dependencies:
sudo dnf install openldap openldap-devel libgee libgee-devel gtksourceview-devel gtksourceview2-devel gtksourceview3-devel gtksourceview4-devel libgnome-keyring-devel gnome-keyring gnome-keyring-pam
  1. Transform from .deb to .rpm using alien:
sudo alien --to-rpm --scripts tableplus_0.1.64_amd64.deb
  1. Edit the newly created .rpm package to remove un-necessary dependency and conflicting directory using rpmrebuild
rpmrebuild -pe tableplus-0.1.64-2.x86_64.rpm

In edition you can delete or comment the line with wrong dependency (Here it is Requires: libldap_r-2.4.so.2(OPENLDAP_2.4_2)(64bit)) Also under %files remove the line containing this: %dir %attr(0755, root, root) "/". Save and get the path where the new package is saved.

  1. You can install and enjoy it. In my case it is:
sudo dnf install /home/dkgndianko/rpmbuild/RPMS/x86_64/tableplus-0.1.64-2.x86_64.rpm
@ged8
Copy link

ged8 commented Jul 11, 2022

"Error: Unable to find a match: gtksourceview-devel". Any alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment