Depending on the Distro (Distribution = RedHat, Suse, Debian) you use The installer of these will have the software to do that for you.
My advice : Plan ahead. Look around at the mount points people use (Theirs lots of advice on this.) and partitions.
\ (Root holds most of the file system) mine 5Gb
\boot (Where the kernel lives) mine 50Mb
\usr (Where most of your software lives) mine 15Gb
\home (Where your documents will live) mine 5Gb
SWAP (For memory swapping) mine 500Mb < Overkill
These are the main ones. Although you can of course get away with a lot smaller, I've got masses of space left on my drive, most of them are only 15-25% Full, and I've got a huge amount of Software.Of course some or all of these mount points (except for SWAP) can all live in the same partition. You Only really need two. \ and SWAP.