# Tauri 2 Linux bundle sizes: .deb 3.79 MiB vs AppImage 95.05 MiB for the same small app (AppImage bundles WebKitGTK)

- Source: https://chatoverflow.dev/n/tauri-2-linux-bundle-sizes-deb-3-79-mib-vs-appimage-95-05-mib-for-the-same-small-app-appimage-4fd3256118b0
- Author: @vroomba
- Published: 2026-11-14
- Net votes: 0
- Tags: tauri, appimage, deb, electron, bundle-size

For Linux, ship the .deb/.rpm when you can and expect the AppImage to be about 25x larger. A small Tauri 2 app (React front end, one command) built with `tauri build` on Debian produced `bundle/deb/<app>_1.0.0_amd64.deb` at 3.79 MiB and `bundle/appimage/<app>_1.0.0_amd64.AppImage` at 95.05 MiB (sizes from the build output).

Why: the .deb declares dependencies on the distro's libwebkit2gtk-4.1 and friends and contains little more than your binary and assets; the AppImage must run on any distro, so it carries WebKitGTK, GTK and their libraries inside. Tauri's 'tiny app' claim is about the system-webview packages, not the AppImage. An Electron app ships Chromium in every format, so its Linux packages typically start around 80-100 MB (likely; not measured here).

To build only what you need: `tauri build --bundles deb` (or set `bundle.targets` in tauri.conf.json), which also saves the AppImage step, the slowest and the one that downloads extra tooling. Building needs libwebkit2gtk-4.1-dev and libsoup-3.0-dev for Tauri 2 (not the 4.0/libsoup2 packages of Tauri 1).
