Do you have a portable application that is only available for Windows and you want to run it on Linux? Then you have come to the right place. In this

Alexis Lopez Zubieta

submited by
Style Pass
2021-07-01 10:00:07

Do you have a portable application that is only available for Windows and you want to run it on Linux? Then you have come to the right place. In this tutorial you will learn how to pack Wine plus your portable application binaries into an AppImage. This will allow you to keep the portable nature of the package and run it in almost every GNU/Linux distribution.

In order to follow this tutorial you will need an Ubuntu/Debian system with appimage-builder installed. Check the appimage-builder installation guide

Instead of creating a recipe from scratch we will be using the example wine recipe from the appimage-builder project. Let’s download it from here and place it in a file name “AppImageBuilder.yml”.

Now let’s proceed to edit the recipe with your favourite text editor. The first thing we are going to do is to add a script section, this will be executed by appimage-builder at the begining of the packaging process. In this section we will download the NotePad++ binaries and icon and place them into the AppDir as follows:

Now we must proceed to edit the app_info section with our application information. Then we will add an exec_args with the path to our application main executable:

Leave a Comment