Depends on what distro you are using and what type of file you downloaded. For debian and Ubuntu you use .deb files and the apt-get program will search repositories for the installs. Or you can compile your programs from the sources normally by doing
./configure //Some programs don't come with a configure
Other distros use .rpm for installing applications.