0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00
LibreWolf/README.md

28 lines
778 B
Markdown
Raw Normal View History

2021-11-20 01:21:54 -05:00
## Building LibreWolf from source
2021-11-20 01:20:03 -05:00
First, let's head over to the [releases page](https://gitlab.com/stanzabird/source/-/releases); note and download the latest version. Once downloaded, extract it.
2021-11-20 01:11:22 -05:00
```
2021-11-20 01:20:03 -05:00
export version=94.0.1
wget -q https://fresh.librewolf.io/librewolf-$(version)/librewolf-$(version).source.tar.gz
2021-11-20 01:11:22 -05:00
tar xf librewolf-$(version).source.tar.gz
```
Next step, if you have not done so already, you must create the build environment:
2021-11-20 01:04:05 -05:00
```
python3 librewolf-$(version)/lw-assets/bootstrap.py
```
2021-11-20 01:11:22 -05:00
It takes about an hour for me to complete, but it needs to be done only once.
2021-11-20 01:21:54 -05:00
Now we're ready to actually build LibreWolf:
2021-11-20 01:11:22 -05:00
```
cd librewplf-$(version)
./mach build
```
2021-11-20 01:21:54 -05:00
Also takes me an hour. Then, we can run it:
2021-11-20 01:11:22 -05:00
```
./mach run
```
2021-11-20 01:21:54 -05:00
Or make a package:
2021-11-20 01:11:22 -05:00
```
./mach package
```