should i install the .deb or .tar.gz? [duplicate]

Solution 1:

.tar.gz is usually source code of that. So download it if you know what you are doing . Else simple download and install using .deb package

Solution 2:

I think the following is easiest:

dpkg -i packagename.deb

A tar.gz is often source code that would need to be compiled, and that isn't always very easy (particularly when it comes to figuring out what options are required or desired).