Are you using sudo for some commands and not others? ~ expanding to /root suggests you might be setting up some things in the root home directory and others in your non root home directory.
If you just created the bin directory now, maybe it was not added to your PATH. Try opening another terminal window and running exercism on the new window.
so Looking back I don’t believe I used sudo for any of the commands
the error -bash: export: `/root/.bash_profile’: not a valid identifier now pops up on the ubuntu terminal everytime I open it.
The bin directory I created was located inside my exercism repository, Was that correct? and how would that affect the PATH commands in the Bash section.
You should create the bin directory inside your home directory. Usually the initial configuration on Ubuntu looks for a ~/bin directory and adds it to the PATH if it exists.
Hmm, I’m not entirely clear at this point.
Whenever I open Ubuntu I believe that the terminal is always logged in as root
and opened up inside the root repository
So should I cd … out of the root repository and place it in the bin located there?
Or should I have created a bin repository in the root repository
Have you installed Ubuntu as a standalone operating system? Does the machine boot directly to it? Are you logging in from a GUI or from a terminal? More detail could help. You normally shouldn’t use the system logged in as root.
So you’re probably using WSL. During installation (or when running it for the first time) it should have asked for a username and password to create a user. Otherwise you should create a user and log in using that user. Try to look for WSL documentation on installation.