pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.94k stars 75 forks source link

ARMv7 32bit assistance #224

Closed jpercyasnet closed 1 year ago

jpercyasnet commented 1 year ago

I have raspberry pi 3 B ARMv7 32bit and would like to run fclones on it. Is there a version for 32bit? If not, want steps do I need to do to compile it on my raspberry?

pkolaczk commented 1 year ago

I don't release binaries for RPi, but you can try cross-compile it from source. There are many tutorials on the web on how to do that. Maybe this thread is helpful: https://www.reddit.com/r/rust/comments/vparsp/has_anyone_programmed_a_raspberry_pi_with_rust/

kapitainsky commented 1 year ago

I have raspberry pi 3 B ARMv7 32bit and would like to run fclones on it. Is there a version for 32bit? If not, want steps do I need to do to compile it on my raspberry?

It should be as simple as:

  1. Install rust programming language: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh after this step you should restart your terminal session to apply rust path and vars

  2. Build fclones from source (it will take few minutes): cargo install fclones if it fails due to lack of memory add extra swap

  3. Check if all done: fclones --version

jpercyasnet commented 1 year ago

followed the three steps and it worked! Thanks!