How do I add an executable to my search path?

To make this work for the command line (terminal):

I would suggest that you do the following steps in the terminal:

  1. Create a folder called bin in your home directory.

    mkdir ~/bin
    
  2. Add ~/bin to your PATH for all sessions of Bash (the default shell used inside of the terminal).

    $ nano ~/.bashrc
    
    # Add the following to the end of your .bashrc file while using nano
    # or your text editor of choice:
    
    export PATH="/home/$USER/bin:$PATH"
    
  3. Add either the executable files themselves OR symlinks to the executable into ~/bin

  4. Restart your terminal session by closing out the terminal and reopening it, or run source ~/.bashrc to reload the configuration for your session

That should allow your terminal to read the PATH variable for terminal sessions.

I do not know how to add it to the GUI, though, as I'm not certain of how the GUI manages the PATH variable(s), but it might be necessary to modify the path with other methods should this method here not work with the GUI.