Here’s an example of how I have used it in the past (following the guidance in the other post).
I did a lot of Java development. Ubuntu has a package for OpenJDK which I installed, but I also need specific (same multiple) versions not included by the package manager. So I would download a tarball and extract them to /opt/java-x.y.z/. Then for the version I considered my “current” I created a symlink at /opt/java to point to the version I wanted to use.
Here’s an example of how I have used it in the past (following the guidance in the other post).
I did a lot of Java development. Ubuntu has a package for OpenJDK which I installed, but I also need specific (same multiple) versions not included by the package manager. So I would download a tarball and extract them to /opt/java-x.y.z/. Then for the version I considered my “current” I created a symlink at /opt/java to point to the version I wanted to use.