Question: what is the difference between rpm and tar.gz?
Answer: tar. gz file is just a g-zipped tar file (sometimes called a tarball). The . rpm is a format that Ubuntu knows how to automatically install.