If you're using slackware, then that's probably a slack binary (if you downloaded it from ftp.slackare.com or a mirror or somewhere with slack binaries). Therefore do:
# /sbin/installpkg /path/to/something.tgz
More likely, it's a source packages, that's tarred and gzipped, so just do:
$ tar -xzvf /path/to/something.tgz
|