Of primary import; "this is primarily a question of economics"; "it was in the first place a local matter".
For the most part; "he is mainly interested in butterflies".