Can a guy only like penises?

Yes, some guys only like other males, rather than girls. If they have a romantic and/or sexual attraction to them, they are probably gay, or homosexual.