Compiling applications from source is not that difficult. There are two ways to do this: You can use the source code available in the Ubuntu repositories, or you can use source code provided by upstream developers (most useful for those projects that are not available in the Ubuntu repositories). For either method, you need to install the package
build-essential to ensure that you have the tools you need for compilation. You may also need to install
checkinstall, which are build tools.