#!/bin/sh
# 1. Ažuriraj sistem
sudo apk update
sudo apk upgrade
# 2. Instaliraj osnovne alate i gcompat (glibc kompatibilnost)
sudo apk add bash curl wget ca-certificates xz gzip tar libstdc++ gcompat
# 3. Instaliraj pravu glibc (za AppImage koji gcompat ne pokriva)
GLIBC_VER=2.35-r0
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/$GLIBC_VER/glibc-$GLIBC_VER.apk
sudo apk add glibc-$GLIBC_VER.apk
# 4. Instaliraj GTK3 biblioteke
sudo apk add gtk+3.0 atk cairo pango gdk-pixbuf2
# 5. Instaliraj Qt5 biblioteke
sudo apk add qt5-qtbase qt5-qtx11extras qt5-qttools qt5-qtsvg qt5-qtmultimedia
# 6. Instaliraj X11 i Mesa zavisnosti
sudo apk add libx11 libxext libxrender libxrandr libxcursor libxinerama libxi libxfixes libxcomposite libxdamage libxss libxtst mesa-egl mesa-dri-swrast
# 7. Napravi AppImage izvršnim i pokreni ga (primer)
# chmod +x /putanja/do/ime_fajla.AppImage
# ./ime_fajla.AppImage
echo "Sve zavisnosti za AppImage su instalirane."
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

No comments:
Post a Comment
Komentar=