Except that “uBlock origin” is maintained by the OG developer and “uBlock” (of ublock.org) is a now filthy ripoff owned by some greedy dickhead who OG developer trusted with control over the original repository.
So yeah you only need one of them but I’d stick with the OG “origin” one.