To calibrate a monitor and generate a color profile for it on Linux, you need two things: a colorimeter and color profiling software. High-quality professional colorimeters tend to be rather expensive, but you can use the excellent open source ColorHUG device instead.