To automate installation on Debian based Linux systems (I use Ubuntu) I extended the GitLab CI script to generate a Debian package (DEB).
It took me quite a lot of time until it worked as intended. The Debhelper tool behavior changed significantly over time and there's a lot documentation related to older versions than 13.
Hopefully, it's a motivation for somebody to try it, too.
I discovered a really exciting program today: checkinstall
Running sudo checkinstall after building with make does several things:
1. “Installs,” the compilation product
2. Packages it into a .deb that makes it easy to install anywhere
3. Allows you to use dpkg to uninstall a compiled project, e.g. “sudo apt-get uninstall ffmpeg-v4.5-source-aarch64-github” assuming the latter is what you named your package
Obviously this isn’t an end all be all, but is already saving me a lot of time
Unrelated to your packaging achievement, I do think that there should be some sort of shoutout to the fact that you wrote your wiki, including the HTTP server, not just in Java, but in Java with what appears to be, effectively, zero dependencies.
Just you and JDK 8.
And, it all looks straightforward. No razzmatazz here, just code.
8 comments
[ 3.3 ms ] story [ 30.1 ms ] threadIt took me quite a lot of time until it worked as intended. The Debhelper tool behavior changed significantly over time and there's a lot documentation related to older versions than 13.
Hopefully, it's a motivation for somebody to try it, too.
The mobile UI is frustrating though, especially when it limits an iPad.
Apparently there were two sets of tools and I never could find good documentation on the “modern tools” or make sense of the docs for the older tools.
I wonder if the station has gotten better.
Running sudo checkinstall after building with make does several things: 1. “Installs,” the compilation product 2. Packages it into a .deb that makes it easy to install anywhere 3. Allows you to use dpkg to uninstall a compiled project, e.g. “sudo apt-get uninstall ffmpeg-v4.5-source-aarch64-github” assuming the latter is what you named your package
Obviously this isn’t an end all be all, but is already saving me a lot of time
Just you and JDK 8.
And, it all looks straightforward. No razzmatazz here, just code.
Kudos.
The code also runs in an Android App. That`s why it still uses Java 8.