On PC, through legitimate storefronts — Mega Man X8 has appeared in official Capcom bundles and digital sales, and that's the version worth having. The bare answer of "computer" that used to circulate wasn't wrong, just unhelpfully incomplete.
What to avoid are the direct-download links on random file hosts. Unlicensed PC rips of console titles are frequently incomplete, occasionally broken, and regularly bundled with things you didn't ask for.