Using xmodmap:
xmodmap
$ cat ~/.xmodmap remove Lock = Caps_Lock keycode 0x42 = Control_L add Control = Control_L $ xmodmap ~/.xmodmap