AppImageCrafters / appimage-builder

GNU/Linux packaging solution using the AppImage format
MIT License
316 stars 58 forks source link

Tell people how to run the project from source #275

Closed iTrooz closed 1 year ago

iTrooz commented 1 year ago

I already had trouble running the project from source, so I assumed instructions that could be the right way to do it*

Could you please confirm this is how we are supposed to run it ?

caminac commented 1 year ago

good ! I'm ready to help if needed

caminac commented 1 year ago

before diving in pipenv and similar tools, an easy way to rebuild appimage-builder without magic or strange tricks :-) is: 1: use a Virtual Machine with a guest OS using python 3.8 native (ubuntu desktop 20.04, a ready-to-import VirtualBox image is available at osboxes.org) 2: install missing pkgs (in my case git and python3-pip) and copy into the VM an old copy of appimage-builder in a folder included in $PATH 3: checkout the project (original or from your pull request) 4: move to folder recipes/appimage-builder/ 5: export APPIMAGE_BUILDER_VERSION=1.1.x to set the version generated tool 6: appimage-builder --recipe AppImageBuilder.yml --skip-test --log INFO 7: at the end of the command a new version will be in your folder

HTH

p.s. if your system doesn't have 3.8 as native version (let's say 3.9), changing 38 with 3.9 in the recipe is not enough