I'd say how other characters talk about the main character, as well as the actions the character does. For example, "Joel is a great person" is direct characterization, but saying, "Joel went out and bought his grandmother's groceries for her," is indirectly saying Joel is a great person.