It's possible to use DeDRM tools from the command line, the plugin just makes it easier.
Simply git clone https://github.com/apprenticeharper/DeDRM_tools/ and then:
python2.7 DeDRM_tools/DeDRM_plugin/k4mobidedrm.py \
-k ~/.local/share/wineprefixes/kindle/drive_c/users/*/Local Settings/Application Data/DeDRMPrefs/kindlekey.k4i' \
~/Documents/My\ Kindle\ Content/book.azw .
or python2.7 DeDRM_tools/DeDRM_plugin/ineptepub.py \
adeptkey.der book.epub book_dedrm.epub
(I'm not exactly sure where to get adeptkey.der but I'm certain it can be extracted from an old python2 Calibre + DeDRM installation.)