Skip to content

Instantly share code, notes, and snippets.

@Sharktheone
Last active December 7, 2023 15:44
Show Gist options
  • Save Sharktheone/79da849c96db13f21eefa2be9430d9ec to your computer and use it in GitHub Desktop.
Save Sharktheone/79da849c96db13f21eefa2be9430d9ec to your computer and use it in GitHub Desktop.
Install the new mojo programming language on Arch. This will be obsolete when mojo adds official Arch support.
@Sharktheone
Copy link
Author

Hmm, i don't have tested putting the libs in ~/.local/lib, but i cant test it. Putting the PKGBUILD on the AUR might make sense when i have finished the new updated script, but i definetly want to what @Janrupf says about that, because he wrote the script initially.

@paulie-g
Copy link

I meant the PKGBUILD for modular, since it's ready, could go on AUR. Just a suggestion.

@Sharktheone
Copy link
Author

Yes, but again, i didn't wrote the PKGBUILD for modular, so i don't want to upload it on the AUR, unless i have permission from the Author.
For mojo it might make sense to also write a PKGBUILD that just executes the script / a modified version, which does not install modular by downloading the PKGBUILD file and execute it, but by a dependency.

@Sharktheone
Copy link
Author

I have updated a script and also created a repository for this, since gist is very very nifty when it comes to pasting files. I am now also using the ~/.local/lib directory for the libraries, but left the option to just put them into /usr/lib and /lib.

@paulie-g
Copy link

paulie-g commented Sep 18, 2023

Well done, thank you very much. I can't test it since I don't really want to mess with the install I've got, but your efforts are sincerely appreciated. Hopefully the mojo people see the light and support Arch officially once they see there is a) interest and b) it's trivial to add support if you ship the libs. There's no thumbs-up functionality here, so consider this one.

@david-ragazzi
Copy link

Nice work! By the way, it would be nice an AUR for it... 😅

@johnny-brav0
Copy link

If you're new to arch and have docker installed on your system, then you can simply do

docker pull johnnybravo9/modular_mojo

Run the image and just type mojo in the terminal and there you have it. Without the risk of breaking (I tend to do this a lot) anything on your existing system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment