If you’re on redhat you will probably want the rpm package. If you don’t want to install a package, those unix executables should also work. It’s just jar files and bash scripts.
In my sbt folder, contains three folders, they are
bin conf lib
and in folder bin, there are one sbt executable file and others files
so I directly put export PATH="/home/myname.../sbt/bin:$PATH"
in my .bashrc
I just hope scala install like this, now I don’t know what means “install” scala, but I guess not just download.
.deb is a Debian Package. The package manager that comes with Debian (and with several other popular Linux distributions, like Ubuntu) uses Debian Packages. While you can also use the general tarball and install manually, if you want to make use of the Debian Package Manager, you want to get the Debian package. It may be a good idea to change Debian to Debian Package.
Also, while I don’t want to have the discussion whether Linux distributions are technically Unixes, adding “Linux” to that list (and maybe even removing Unix) may be a good idea.
If you are on RedHat, the easiest ad cleanest is to use the RPM file and install it using a standard package manager such as rpm or dnf. This makes it also easy to upgrade or remove.
Most Linux distributions fall into one of two categories: those that use the RedHat package management (using RPM files) and those that use the Debian package management (using DEB files). For example, Ubuntu has Debian package management and uses DEB files.