How to build picotool on Manjaro Linux
1 min readOct 26, 2023
Hello. Now I’ve tried to install picotool, but all scripts are made to works only over Windows, WSL or linux using `apt` as package manager.
After a few minutes and so many tries getting only the error “CmakeCache: LibUSB not found”, I could build and use it (tested on Manjaro x64 and Orange Pi):
- Clone pico-sdk: https://github.com/raspberrypi/pico-sdk.git
- Set PICO_SDK_PATH with the cloned directory in your .bashrc or .zsh file.
- Clone picotool: https://github.com/raspberrypi/picotool.git
- Check if you have libusb installed. If not, install: `sudo pacman -S libusb`
- Now build the project: `mkdir build && cd build && cmake .. && make`
- And done! Look the `picotool` executable inside build directory. Now you can use it. I copied to a tool directory.
I hope I could help you! If you find another solution or get another error, please, give some claps and fell free to comment here. Thank you!