TurnKey Linux Virtual Appliance Library

Webmin module packaging

turnkey_1972's picture

As requested by Alon, I will explain I made the webmin module deb file in TKL OpenVPN.

The good news is, webmin provides a simple script.

First download:


This script takes a webmin module and turns it in a debian package.

I had to install fakeroot for it to work. All other requirements are already installed in TKL Core.

Here is some sample code that I used for the OpenVPN tklpatch:

apt-get install fakeroot

tar zxvf openvpn-2.5.wbm.gz

perl makemoduledeb.pl --license GPL openvpn


The module extracted to the openvpn directory.

The .deb package was saved to:


Alon Swartz's picture

I'll add to webmin source package and update the package archive

Thanks Stas, I'll get it added to our webmin source package, and update the package archive accordingly.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)