Q:

If my friend likes this guy, but I really like him, should I ask him out

Answer

Does this guy like your friend? Is she a good friend of yours? If she is a good friend, you might mention it casually and see how she reacts. If he is not going to go out with her anyway, and it won't hurt your friendship, then maybe you should.