A laser level and measuring tape are the best ways to ensure a straight install. Start with one end of the room, use the laser level, and measure from that point in both directions. That will ensure that your planks are even and level.