0

Since I installed Anaconda, and use sqlite3 within it, I've been trying to write some C++/sqlite3 codes. However, I would like to also utilize the dev files for sqlite3 but would rather not install them via apt-get, but keep them locally inside the Anaconda tree.

Can this be done?

Linux Mint 18

  • You have to install it with apt-get. As a general rule, you should always use apt-get when at all possible. – Satō Katsura Jun 6 '17 at 7:08
  • So the binary is in one place and the headers etc are in another place... That's the general rule? I'm mostly concerned with version mismatch etc, but its also annoying being in different placed... – nate Jun 6 '17 at 7:09
  • The general rule is if you install things by any other means than apt-get you'll eventually get a non-functioning system. This is particularly important for libraries used by many system applications, such as SQLite. And yes, libraries and headers don't usually live in the same place. For C++ programs normally you shouldn't need to care about Anaconda at all, just use the system libraries and headers. – Satō Katsura Jun 6 '17 at 7:13
  • Thanks for the info. I like the concept of self contained, like Anaconda, QT, etc, so maybe I'll just put them in the tree manually. After all I like to keep my library paths, etc small anyway – nate Jun 6 '17 at 7:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.