Skip to content

Instantly share code, notes, and snippets.

@lidgnulinux
Created February 20, 2025 11:45
Show Gist options
  • Save lidgnulinux/679384b21c8d1fd0248b3824054470eb to your computer and use it in GitHub Desktop.
Save lidgnulinux/679384b21c8d1fd0248b3824054470eb to your computer and use it in GitHub Desktop.
Open Built-on-Musl Appimage on Glibc Distro.

Open Built-on-Musl Appimage on Glibc Distro.

What do we need ?

We need :

  • Appimage file which we built on musl environment.
  • cp command.

Steps.

The steps are pretty simple :

  1. Create special directory for our appimage and copy the appimage to the directory.

    $ mkdir ~/appimage
    $ cp -r file-appimage ~/appimage/
    $ cd ~/appimage
    
  2. Extract the appimage file.

    $ ./file-appimage --appimage-extract
    
  3. Copy the ld-musl-x86_64.so.1 to /lib

    $ sudo cp -r squash-root/lib/ld-musl-x86_64.so.1 /lib
    
  4. Open the appimage file as usual.

    $ ./file-appimage 
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment