*.tar.bz2 are usually source codes packages for you to compile. If you want to compile and build your packages from source codes, the best way is to read the LFS and BLFS handbook. Otherwise, you may download and install pre-compiled binaries from your distro.