How do I install packages from the browser that are not in appcenter (.tar .gz)
Which browser are you trying to install?
.tar .gz applications have to be bundled with a Flatpak. The Endless OS is only compatible with Flatpak applications
Apps, not the browser
e.g. qjoypad …
Did you read the articles posted by @LeandroStanger above?