No, not all derailleurs may fit all bikes alike. Certain derailleurs are specific only to certain bike models and cassette ranges. Some ten-speed bike derailleurs with 11-42T cassette configurations may be compatible with a wide range of bikes