When I try to use "sudo i2cdetect -y 1" it comes back with unknown command. I turned on i2c do I need to download any new software?

  • 1
    You don't need the sudo if you are using Raspbian and the user is a member of the i2c group. Your particular problem is as identified by goldilocks though.
    – joan
    Commented Mar 13, 2018 at 15:56
  • Although user pi is part of the group i2c in my case, I still have to run i2cdetect with sudo in front of it. Running RPi 3B+ using stretch.
    – GeertVc
    Commented Jul 13, 2019 at 8:34

1 Answer 1


On Raspbian (and other Debian derivatives) i2cdetect is in package i2c-tools.

sudo apt install i2c-tools

The package has the same name in Fedora, so I would guess other distros as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.