Created
December 12, 2025 05:35
-
-
Save gesslar/52f644ce76ef0b8f0a5f2dabf1ec8c56 to your computer and use it in GitHub Desktop.
Create a Distrobox for Mudlet using Fedora Image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| distrobox-rm Mudlet -f 2>/dev/null | |
| distrobox create -n Mudlet -i fedora -Y | |
| distrobox enter Mudlet -- bash ~/mudlet-stage-2.bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!bin/bash | |
| sudo dnf install -y \ | |
| gcc-c++ \ | |
| cmake \ | |
| ninja-build \ | |
| pkg-config \ | |
| git \ | |
| ccache \ | |
| qt6-qtbase-devel \ | |
| qt6-qtmultimedia-devel \ | |
| qt6-qttools-devel \ | |
| qt6-qt5compat-devel \ | |
| assimp-devel \ | |
| boost-devel \ | |
| libcurl-devel \ | |
| mesa-libGLU-devel \ | |
| hunspell-devel \ | |
| lua5.1-devel \ | |
| lua5.1 \ | |
| pcre2-devel \ | |
| pulseaudio-libs-devel \ | |
| pugixml-devel \ | |
| libsecret-devel \ | |
| sqlite-devel \ | |
| libxkbcommon-x11-devel \ | |
| yajl-devel \ | |
| libzip-devel \ | |
| openssl-devel \ | |
| openssl \ | |
| ca-certificates \ | |
| pcre2-tools \ | |
| qtkeychain-qt6-devel \ | |
| gstreamer1-plugins-base \ | |
| xcb-util-wm \ | |
| xcb-util-image \ | |
| xcb-util-keysyms \ | |
| xcb-util-renderutil \ | |
| libxcb \ | |
| mold \ | |
| fd-find \ | |
| ripgrep \ | |
| luarocks \ | |
| gh | |
| sudo luarocks install luafilesystem | |
| sudo luarocks install luautf8 | |
| sudo luarocks install lua-zip | |
| sudo luarocks install luasql-sqlite3 2.6.1 | |
| sudo luarocks install lrexlib-pcre2 | |
| sudo luarocks install argparse | |
| sudo luarocks install lunajson | |
| sudo luarocks install lua-yajl | |
| TMP_MUDLET_DIR=$(mktemp -d) | |
| MUDLET_DIR="$TMP_MUDLET_DIR/Mudlet" | |
| gh repo clone Mudlet/Mudlet $MUDLET_DIR -- --recursive | |
| mkdir -p $MUDLET_DIR/build && cd $MUDLET_DIR/build | |
| cmake $MUDLET_DIR -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DUSE_ALTERNATE_LINKER=mold \ | |
| -DUSE_SANITIZER="" \ | |
| -DCMAKE_INSTALL_PREFIX=/usr | |
| cmake --build . -- -j$(nproc) | |
| sudo cmake --install . --strip | |
| distrobox-export -a mudlet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment