Skip to content

Need help for using moor in a Dart command-line app on linux #1334

Answered by simolus3
MatthiasHGW asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Matthias,

I can assure you that moor works perfectly fine without Flutter :) The "Getting started" section just puts an emphasis on Flutter because that will be relevant for the majority of users.

The getting started page suggests adding two Flutter-only libraries, sqlite3_flutter_libs and path_provider. The former is to include a compiled sqlite3 binary with your app, which only really makes sense for Flutter. The later is about picking a right path for a database on each platform.
If you're on a Debian-based distro, you can just install libsqlite3-dev and ignore sqlite3_flutter_libs (pretty much every distro has a package for sqlite3, you're looking for a package containing libsqlite…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MatthiasHGW
Comment options

Answer selected by MatthiasHGW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants