Baseboards are installed by first measuring from one corner of a wall the other corner. Measurements are taken and baseboard are cut to fit. Installation is done by nailer gun.
To install baseboard, you'll want to carefully measure the length of the walls and cut pieces accordingly. Be sure to use finish nails instead of larger ones.