This library is part of the AppImage project. It implements functionality for dealing with AppImage files. It is written in C++ and is using Boost.
libappimage is available in the following distributions: https://repology.org/project/libappimage/versions
As a user, you normally do not need to deal with this library. Tools that use it (like the optional appimaged daemon) usually come with a bundled copy of it.
As a developer interested in using libappimage in your projects, please find the API documentation here: https://docs.appimage.org/api/libappimage/. Please note that if you are using libappimage in your project, we recommend bundling your private copy or linking statically to it, since the versions provided by distributions may be outdated.
To build the static library:
cargo build --releaseThis will generate a static library file in target/release/:
- On Linux:
libappimage.a - On macOS:
libappimage.a - On Windows:
appimage.lib
To use this library in a C/C++ project:
- Include the header file (to be generated)
- Link against the static library
- Call the exported functions
Example:
#include <appimage.h>
int main() {
appimage_init();
const char* version = appimage_version();
printf("AppImage version: %s\n", version);
return 0;
}To run tests:
cargo testThis project is licensed under the MIT License - see the LICENSE file for details.
Your contributions are welcome.
If you make or suggest changes to this code, please test that the resulting executables (like the appimaged daemon) are still working properly.
If you have questions, AppImage developers are on #AppImage on irc.libera.chat.