WSL is not normal Ubuntu.
If you want a normal Ubuntu experience, install a hypervisor, like virtualbox, and install one of the Ubuntu flavors of 24.04 into a virtual machine.
As for Sage Math, there are installation instructions here: https://doc.sagemath.org/html/en/ins...ion/index.html for developers and non-developers.
PATH is an environment variable on Linux/Unix/MacOS just like it is on MS-Windows. Typically, it would be set in your ~/.bashrc file. You can modify it there.
Typically, you'd want to append a directory to the end of the existing PATH, but only if it wasn't already added. Say we want to add /home/joe/sagemath/bin to our PATH. Assuming username "joe" has a HOME directory of /home/joe, then the easy answer is:
Code:
export PATH="$PATH:$HOME/sagemath/bin"
Put that line at the end of your ~/.bashrc file, logout and login again. Check that it was added with You can get fancy, if needed.
If you want to see all environment variables, run env
You'll find that many manually installed things that easily work on full Ubuntu systems have slight issues under WSL. When you are new to all this, best to avoid WSL completely. That's my advice. It never feels quick enough like Linux for non-server programs.
I don't think conda is part of any Linux default install. You might need to install it. IDK how. I've never installed it myself.
You don't want to relocate manually installed programs. Mixing package manager default locations with manually installed programs/libraries is a really bad idea. In general, /usr/local/ is where manually install things would go, if not in your HOME directory.
There are standards for what goes where on Unix systems. While the document describing everything is long, what you and I need to know is easily covered in a two page table on wikipedia. https://en.wikipedia.org/wiki/Filesy...archy_Standard
Bookmarks