-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request / Clarification] Headless mode? #73
Comments
I'm running anki-sync-server on a headless CentOS 7.4 box and there is neither anki nor X installed. There is no reason for anki to be a depency. |
The anki code needs to be there (because it uses it like a library) but it doesn't call anything that would require X |
Hmm, these accounts seem contradictory. @CaptainTyphoo Are you sure you don't have anki installed, or that anki isn't being "effectively" installed with your anki-sync-server package? |
@dsnopek is the author, so he is probably right. |
I'll forward these comments on to the AUR maintainers for anki-sync-server over in the Arch Linux community, and will report back once I make some progress. @CaptainTyphoo I'm not familiar with CentOS. Are you able to show me e.g. the 'build script' for anki-sync-server over there? It might be useful to know how they make their build. In Arch, the anki package necessarily depends on various X-related stuff in order to be able to "normally" run, so the only way I see this working is if either there were to be a separate anki-headless package, for anki to (bizzarely) only "optionally" depend on all the packages it needs to be able to be normally run, or to provide an anki "bottle" for the sync-server. |
Installing via easy_install or pip is supposed to include a copy of the anki code "just in case" it can't find Anki installed on your system (although, there were reports of that being broken for some people), but if it can find Anki installed it'll prefer that. If you clone the git repo using |
I found out about the project and as far as I can tell the server itself doesn't require anything graphical or X-related. However, at least for my Linux distro, anki itself is a dependency, which necessitates all of X. Of course, I was keen to use this on my headless server (for my home LAN), and would very much prefer to not install that whole set of packages.
Is there something I've fundamentally misunderstood / overlooked about how anki-sync-server operates? If not, should I request the maintainers of anki-sync-server that "anki" no longer be a dependency, or at least be "optional"?
The text was updated successfully, but these errors were encountered: