sandreas / m4b-tool

m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
MIT License
1.15k stars 76 forks source link

Difficult to intall #240

Open vonschutter opened 1 year ago

vonschutter commented 1 year ago

Please publish this application as a flatpack.

I really appreciate you having put this application together! Only it is complicated to install because it requires you to install docker, add your user to /etc/group, and logging out and in again... adding an alias... I am afraid that only developers and IT folks will ever use this app as cool as it is. -- it is inaccessible. If all the libraries etc. were put in to a flatpak, then anyone could install the app via flathub or the package manager and use the app. Why not do this?

sandreas commented 1 year ago

Please publish this application as a flatpack.

I never took the time to work into flatpak, but I think this could be interesting to work with.

I really appreciate you having put this application together!

Thanks.

Only it is complicated to install because it requires you to install docker, add your user to /etc/group, and logging out and in again... adding an alias... I am afraid that only developers and IT folks will ever use this app as cool as it is. -- it is inaccessible.

Well, I get your point... but since I primarily made m4b-tool for myself and just published it, I did never think it will gain so much popularity and it is still meant for power users, although I planned tone to be much more accessible.

If all the libraries etc. were put in to a flatpak, then anyone could install the app via flathub or the package manager and use the app. Why not do this?

Well... m4b-tool is a dependency hell. The flatpak package would be huge and ffmpeg is not allowed to be redistributed with fdkaac (licensing) - docker makes this possible.

To install m4b-tool without docker, you need:

and optionally

So a simple <package-manager-of-your-choice> install php-cli mp4v2 ffmpeg fdkaac should provide everything you need, but I get your point. A flatpak would be much easier and more portable.

Thanks for suggesting this, but I'm afraid it will take long until I got time for this. If you or anyone else wanna submit a PR, this would be awesome.

zanish commented 1 year ago

mp4v2-utils is not available in Ubuntu through apt now so install has gotten harder.

sandreas commented 1 year ago

mp4v2-utils is not available in Ubuntu through apt now so install has gotten harder.

@zanish I plan to remove the depenency for mp4v2 in the long term, because tone is able to replace it completely. But as I said, the dependency hell is still not solved. Maybe I release a tools.tar.gz with all the binaries and tools to run m4b-tool, but I have to check the licensing first.