There are different ways of installing software on your Raspberry Pi, depending on where the source of the software lives.
The most common is through the command line tool APT (Advanced Packaging Tool). Some software can also be installed using other package managers.