2

I am asking this question because I was facing the same issue and could not find a complete solution so here it is.
Steps to follow :
1. Open Files app, go to home.
2. Open .bashrc file using text editor (hit ctrl+H if .bashrc file is not seen)
3. Scroll all the way to the end and type this -

export PATH="$HOME/.local/bin:$PATH"

And save the file.
4. Now open the terminal and type -

source ~/.bashrc

5. You can either use option 4 or just restart your computer.

  • 1
    Welcome to Ask Ubuntu. This is a question answer site. Please don't put the answer within your question. Press the write your own answer button – user68186 Apr 26 '20 at 15:22
  • 1
    Yeah, just post the question and separately write an answer to your own question. Then, you can accept your answer as the preferred solution after a few days to give other people the chance to also provide answers. – mchid Apr 26 '20 at 17:31
  • 1
    Does this answer your question? [How to add a directory to the PATH?](https://askubuntu.com/questions/60218/how-to-add-a-directory-to-the-path) – Elder Geek Apr 27 '20 at 20:11

1 Answers1

0

I am asking this question because I was facing the same issue and could not find a complete solution so here it is.
Steps to follow :
1. Open Files app, go to home.
2. Open .bashrc file using text editor (hit ctrl+H if .bashrc file is not seen)
3. Scroll all the way to the end and type this -

export PATH="$HOME/.local/bin:$PATH"

And save the file.
4. Now open the terminal and type -

source ~/.bashrc

5. You can either use option 4 or just restart your computer.