If you are planning on going to Alcatraz in July I highly recommend you buy your tickets in advance from the official Alcatraz site. As mentioned in the other post there is only one boat company authorized to dock at Alcatraz.
Tickets can be booked up to 90 days in advance. In the summertime tickets can be sold out a week in advance.