Updated Compile on Arch based distro (exclude Asahi) (markdown)

Stupid retard noob attention king 2023-07-07 19:11:07 +08:00
parent 393a8c1e49
commit a71cd3154b

@ -1,13 +1,18 @@
_The man who wrote this page is a noob, this wiki works, but maybe there are many unnecessary things. feel free to edit it for me._
---
_Debian based is more recommended so if you are just planning to pick up a Linux to play with this project, use Debian based, instead of Arch based. But if you already decided to use Arch, please prevent breaking dependencies with pacman or yay_
_This tutour not works on Asahi, please make sure you are on x86_64 platform_
---
_This page not works on Asahi, please make sure you are on x86_64 platform_
---
# 1. Install dependence
``
sudo pacman -S git tar wget dfu-util cmake make python3 bzip2 lz4 curl hackrf python-distutils-extra python-setuptools python-pip python-yaml libopencm3
``
sudo pacman -S git tar wget dfu-util cmake make python3 bzip2 lz4 curl hackrf python-distutils-extra python-setuptools python-pip python-yaml
``
Check the output and make sure are the packages listed above were installed correctly.
_I have no idea why, but if you use nushell as your default shell, you need to install `libopencm3`package, otherwise it would call it fail._
Check the output and make sure the packages listed above were installed correctly.
# 2. Install ARM `gcc-arm-none-eabi` package from `AUR`