A map has a two-sided inverse iff it is both injective and surjective. For linear maps, that inverse is automatically linear. Thus invertible linear maps are exactly vector-space isomorphisms. In equal finite dimensions, either injectivity or surjectivity alone suffices.