Pack elf binary and it's dependencies into standalone executable using appimagetool
Go to file
2024-07-16 05:41:38 +02:00
LICENSE Initial commit 2024-06-23 19:07:11 +02:00
packelf-appimage-copylibs.sh Add packelf-appimage-copylibs.sh 2024-07-16 05:01:15 +02:00
packelf-appimage-folder.sh Add packelf-appimage-folder.sh 2024-07-16 05:41:25 +02:00
packelf-appimage.sh Compatible with POSIX Standard 2024-07-16 05:00:58 +02:00
README.md Update README.md 2024-07-16 05:41:38 +02:00

packelf-appimage

Pack elf binary and it's dependencies into standalone executable using appimagetool. packelf-appimage was inspired by https://github.com/oufm/packelf.

Usage packelf:

Usage: ./packelf-appimage.sh <ELF_SRC_PATH> <ELF_DST_PATH>

Example:

$ ./packelf-appimage.sh /usr/bin/mpv mpv-x86_64.AppImage

Extract without running:

You can extract the files of a created package without executing it with the following command:

$ ./<package> --appimage-extract                                                                                                                                                                        

Usage packelf-copylibs:

Usage: ./packelf-appimage-copylibs.sh <ELF_SRC_PATH> <PATH_TO_COPY_LIBRARIES>

Example:

$ ./packelf-appimage-copylibs.sh /usr/bin/mpv /opt/mpv-libs/

Usage packelf-folder:

Usage: ./packelf-appimage-folder.sh <FOLDER> <FILENAME> <EXECUTABLE_RUN>

Example:

$ ./packelf-folder.sh /opt/mpv-package mpv-x86_64.AppImage run.sh

Dependencies