# Repackage O3DE v23.05.1 for Debian Bookworm This is out of date, but I'm keeping it because it was a useful learning experience. Based on: => https://alexandra-zaharia.github.io/posts/how-to-manually-modify-a-deb-package/ Alexandra Zaharia's post on "How to modify a .deb package". Having downloaded: => https://o3debinaries.org/main/Latest/Linux/o3de_2305_1.deb O3DE for Ubuntu 20.04 LTS Perform the following operations: ``` ar x o3de_2305_1.deb mkdir control tar -xzf control.tar.gz -C ./control cd control sed -i 's/libffi7/libffi8/' control sed -i 's/clang-12/clang-14/' control tar -cfz control.tar.gz * mv control.tar.gz .. cd .. ar r o3de_2305_01_deb12.deb debian-binary control.tar.gz data.tar.gz ``` The resulting deb file can now be installed, but we need to do some additional linking afterwards: ``` dpkg -i o3de_2305_01_deb12.deb cd /opt/O3DE/23.05.1/bin/Linux/profile/Default ln -s /opt/O3DE/23.05.1/python/runtime/python-3.10.5-rev2-linux/python/lib/libssl.so.1.1 ln -s /opt/O3DE/23.05.1/python/runtime/python-3.10.5-rev2-linux/python/lib/libcrypto.so.1.1 ``` To create a local gnome menu icon we create a file '~/.local/share/applications/o3de.desktop' with the following content: ``` [Desktop Entry] Name=O3DE Editor Comment=Launch O3DE 2305.1 Editor Exec=/opt/O3DE/23.05.1/bin/Linux/profile/Default/o3de Icon=/opt/O3DE/23.05.1/Templates/DefaultProject/Template/Resouces/GameSDK.ico Terminal=false Type=Application Categories=Development; ```