Creating a AppImage for linux

#1

if you wanna have a portable AppImage for your OF app under linux you can do this (im not sure if it will work with all linux vs but i’m under manjaro on a razer blade) just i case

Create an AppDir structure that looks (as a minimum) like this:


MyApp.AppDir/
MyApp.AppDir/AppRun    --- you donwnload this from [here](https://github.com/AppImage/AppImageKit/releases) get the one AppRun-x86_64 and just renamed to AppRun
MyApp.AppDir/myapp.desktop
MyApp.AppDir/myapp.png
MyApp.AppDir/usr/bin/myapp --- copy your OF app here  i copied  the bin folder complete
MyApp.AppDir/usr/lib/libfoo.so.0 -- din't know what to do with this but i   copy ibfmodex.so   here also 

you have to make de MyApp.AppDir/myapp.desktop file like this

[Desktop Entry]
Name=MyApp
Exec=myapp
Icon=myapp
Type=Application
Categories=Utility;

and then just download the appimagetool-x86_64.AppImage and run the appimage tool to your MyApp.AppDir and you will get a portable appImage under linux

1 Like
#2

I didn’t know what AppImage is. This is what I found:

AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application. It tries also to allow Linux distribution-agnostic binary software deployment for application developers, also called Upstream packaging. Released first in 2004 under the name klik, it was continuously developed, then renamed in 2011 to PortableLinuxApps and later in 2013 to AppImage.

#3

Yup that it is

#4

thanks @cyrstem for sharing

it’s a nice way to package all your app under the same icon and it has the benefit to reduce its size

1 Like
#5

Yes i did that don’t know if its necessary ill test in a different system without of dependencies install and see if it works

1 Like