and add the bin directory to the path environment variable code example
Example 1: ubuntu export path
export PATH="/path/to/dir:$PATH"
Example 2: ubuntu export path
$ source ~/.bashrc
export PATH="/path/to/dir:$PATH"
$ source ~/.bashrc