Here's a HOWTO for how to install apache karaf 4.1.4 on a debian GNU/linux system: https://steinar.bang.priv.no/2018/01/23/installing-apache-karaf-on-debian/
The installed karaf will run as user karaf, group karaf, listening to the usual default karaf ports, be started with systemd, with KARAF_ETC in /etc/karaf and KARAF_DATA in /var/lib/karaf/data. Caveat emptor! I make no guarantees and promises etc. etc.! :-) But I use this myself and I try to stay on the stable version (ie. it's 4.1.4 right now, and if there is a 4.1.5 I will make an APT upgradable version for my own sake). (And if someone wishes to take my debian package and run with it to create an official debian package I will be very happy. Here's the Request For Packaging bug (RFP) for apache karaf in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881297 )
