CTkDeb
The easiest way to create a DEB or RPM package of your CustomTkinter project! You can create a small DEB or RPM package without deep packaging experience.
Install
pip install CTkDeb[gui]
- Creating DEB packages requires the
dpkg-debtool (pre-installed on most Debian-like systems, probably does not need to be installed separately). - Creating RPM packages requires the
rpmbuildtool.
Run
Run this in the project folder (relative to which the paths in the config are specified)
ctkdeb-gui
GUI
CLI
ctkdeb config.json --create deb
View all arguments:
ctkdeb --help
Python
from ctkdeb import Packager
packager = Packager("config.json")
packager.create_deb()
# or
packager.create_rpm("fedora")
View all supported RPM distros:
from ctkdeb import show_supported_rpm_distros
show_supported_rpm_distros()
Arguments:
| Argument | Type | Description |
|---|---|---|
| json_path | str or dict | Path to the JSON config (or its dict), required |
| project_folder | str | Path to the project folder (if the command is not executed from it) |
| desktop_entry | str | Path to the custom desktop entry (or its text) |
| output_folder | str | Path to the output folder |
FAQ
- Do I need to specify Tkinter and CustomTkinter as dependencies?
No, CTkDeb has already taken care of that; just specify third-party dependencies, if any.
- What about dependencies?
Pip dependencies are recommended only if they are written in pure Python (e.g., CTkMenuBar). If not, it's better to search for the required dependency in the distribution repositories and specify it as a DEB or RPM dependency. For example, for Pillow, specify python3-pil for DEB or python3-pillow for RPM (Fedora/Mageia) instead of pillow in the Pip dependencies line.
Other
App icon: Claude Sonnet 5.
Metadata
Release files for CTkDeb 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ctkdeb-0.6.0.tar.gz | 36.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctkdeb-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.9 kB
Release files / ctkdeb-0.6.0.tar.gz
| Download URL | ctkdeb-0.6.0.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e5f6cec7aa4eff916cbed1b48c038ca9cce611e61c4700981867e6636f46de6
|
|
BLAKE2b-256 checksum How to use checksums |
028933b08756ebaad8901d7e5e79756e052a8e5ca97cac3d39c678a42b0e206c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency logRelease files / ctkdeb-0.6.0-py3-none-any.whl
| Download URL | ctkdeb-0.6.0-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dff33e2bccede84285a5e256509e16b36cc037e6961a926d3a48b54a7ac5227d
|
|
BLAKE2b-256 checksum How to use checksums |
9ca4e7267d2a7ce949c03d2a40ab7fb92e2d7566a7451e60a514a5e80e2494e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency log