https://github.com/makism/mojo-on-fedora40
Instructions on installing Mojo on Fedora 40.
https://github.com/makism/mojo-on-fedora40
fedora mojo python
Last synced: 4 months ago
JSON representation
Instructions on installing Mojo on Fedora 40.
- Host: GitHub
- URL: https://github.com/makism/mojo-on-fedora40
- Owner: makism
- Created: 2024-05-04T08:08:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-13T18:58:57.000Z (almost 2 years ago)
- Last Synced: 2025-10-10T21:46:29.142Z (9 months ago)
- Topics: fedora, mojo, python
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 🔥 on Fedora 40
> Depending your system you may need to `sudo`
#### Install system deps
```
dnf install libbsd binutils
```
#### Fetch needed libraries
```
mkdir /opt/mojo-deps/
cd /opt/mojo-deps/
```
```
wget https://ftp.debian.org/debian/pool/main/n/ncurses/libncurses6_6.4-4_amd64.deb
ar -xv libncurses6_6.4-4_amd64.deb
tar -xf data.tar.xz
```
```
wget https://ftp.debian.org/debian/pool/main/n/ncurses/libtinfo6_6.4-4_amd64.deb
ar -xv libtinfo6_6.4-4_amd64.deb
tar -xf data.tar.xz
```
```
wget https://ftp.debian.org/debian/pool/main/libe/libedit/libedit2_3.1-20221030-2_amd64.deb
ar -xv libedit2_3.1-20221030-2_amd64.deb
tar -xf data.tar.xz
```
#### Install Mojo
```
export LD_LIBRARY_PATH=/opt/mojo-deps/lib/x86_64-linux-gnu:/opt/mojo-deps/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
modular auth
modular install mojo
echo 'export MODULAR_HOME="/home/$USERNAME/.modular"' >> ~/.zshrc
echo 'export PATH="/home/$USERNAME/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
```
#### Run the 🔥 REPL with:
```
export LD_LIBRARY_PATH=/opt/mojo-deps/lib/x86_64-linux-gnu:/opt/mojo-deps/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
mojo
```