Progmar Marcin Załęczny

We are using cookies in the page. If you use the page you agree for the cookies.      Close

How to build linuxdeploy program with linuxdeploy-plugin-appimage plugin

  1. Create directory for program sources:
    mkdir sources
    cd sources
  2. Download linuxdeploy program sources: git clone
  3. Go into linuxdeploy/libs subdirectory:
    cd linuxdeploy/libs
  4. Download linuxdeploy-plugin-appimage plugin sources:
    git clone
  5. Go to main drectory of linuxdeploy program (sources/linuxdeploy) and issue following command to download remaining plugins:
    cd ..
    git submodule update --init --recursive
  6. Make script executable:
    chmod 755 src/core/
  7. Edit CMakeLists file and replace following line:
    set(USE_SYSTEM_CIMG ON CACHE BOOL "Set to OFF to use CImg library bundled in lib directory")
    with line:
    set(USE_SYSTEM_CIMG OFF CACHE BOOL "Set to OFF to use CImg library bundled in lib directory")
  8. Create build subdirectory for the output binaries, cd into it and call build command:
    mkdir build
    cd build
    cmake ..
  9. After successful compilation linuxdeploy program will be placed in subdirectory:

How to build all parts linuxdeploy / linuxdeploy-plugin-appimage plugin / AppImageKit from scratch (most recent versions)

linuxdeploy sources are here:

git clone

linuxdeploy appimage plugin sources are here:

git clone
cd linuxdeploy/lib
rm args
git clone

AppImageKit is here:

git clone

Compilation process:

  1. cd linuxdeploy
  2. git submodule update --init --recursive
    It can takes quite a lot of time so be patient and don't stop the process
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. sudo cp bin/* /usr/local/bin/
  1. cd linuxdeploy-plugin-appimage
  2. mkdir build
  3. cd build
  4. cmake ..
  5. make
  6. sudo cp src/linuxdeploy-plugin-appimage /usr/local/bin/
  1. cd AppImageKit
  2. ./ (build process requires internet connection)
  3. sudo mkdir /usr/local/lib/appimagekit
  4. sudo cp build/mksquashfs-prefix/mksquashfs /usr/local/lib/appimagekit/
  5. sudo cp build/src/appimagetool /usr/local/bin/
All other requirements you can install directly from Ubuntu repositories. Compilation process will complain about what is required else.