Cannot add directory to path [duplicate]












-2
















This question already has an answer here:




  • How do I modify my PATH so that the changes are available in every Terminal session

    6 answers



  • Download package, unpack, and add directory to PATH [duplicate]



I have to use the package Trinity available from https://github.com/trinityrnaseq/trinityrnaseq/releases. I downloaded trinityrnaseq-Trinity-v2.8.4.tar.gz, did extract, and now have trinityrnaseq-Trinity-v2.8.4 in the directory /home/aishah



To be able to use Trinity, I have to add directories to my PATH, and did



$ export PATH=trinityrnaseq-Trinity-v2.8.4:$PATH
$ export PATH=trinityrnaseq-Trinity-v2.8.4/util:$PATH


When I run Trinity in the current terminal, the Trinity version is shown, indicating that I can now use Trinity. However, when I close the terminal, then open another terminal and run Trinity, it says command not found. If I run the exports again, then it works again only for the current terminal.



What can I do to be able to always use Trinity and from every directory? Please give me detailed instructions of all steps and commands.



$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/path_to_software_library/bin_folder









share|improve this question















marked as duplicate by DK Bose, karel, pomsky, Charles Green, wjandrea Feb 5 at 16:52


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.























    -2
















    This question already has an answer here:




    • How do I modify my PATH so that the changes are available in every Terminal session

      6 answers



    • Download package, unpack, and add directory to PATH [duplicate]



    I have to use the package Trinity available from https://github.com/trinityrnaseq/trinityrnaseq/releases. I downloaded trinityrnaseq-Trinity-v2.8.4.tar.gz, did extract, and now have trinityrnaseq-Trinity-v2.8.4 in the directory /home/aishah



    To be able to use Trinity, I have to add directories to my PATH, and did



    $ export PATH=trinityrnaseq-Trinity-v2.8.4:$PATH
    $ export PATH=trinityrnaseq-Trinity-v2.8.4/util:$PATH


    When I run Trinity in the current terminal, the Trinity version is shown, indicating that I can now use Trinity. However, when I close the terminal, then open another terminal and run Trinity, it says command not found. If I run the exports again, then it works again only for the current terminal.



    What can I do to be able to always use Trinity and from every directory? Please give me detailed instructions of all steps and commands.



    $ echo $PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/path_to_software_library/bin_folder









    share|improve this question















    marked as duplicate by DK Bose, karel, pomsky, Charles Green, wjandrea Feb 5 at 16:52


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.





















      -2












      -2








      -2









      This question already has an answer here:




      • How do I modify my PATH so that the changes are available in every Terminal session

        6 answers



      • Download package, unpack, and add directory to PATH [duplicate]



      I have to use the package Trinity available from https://github.com/trinityrnaseq/trinityrnaseq/releases. I downloaded trinityrnaseq-Trinity-v2.8.4.tar.gz, did extract, and now have trinityrnaseq-Trinity-v2.8.4 in the directory /home/aishah



      To be able to use Trinity, I have to add directories to my PATH, and did



      $ export PATH=trinityrnaseq-Trinity-v2.8.4:$PATH
      $ export PATH=trinityrnaseq-Trinity-v2.8.4/util:$PATH


      When I run Trinity in the current terminal, the Trinity version is shown, indicating that I can now use Trinity. However, when I close the terminal, then open another terminal and run Trinity, it says command not found. If I run the exports again, then it works again only for the current terminal.



      What can I do to be able to always use Trinity and from every directory? Please give me detailed instructions of all steps and commands.



      $ echo $PATH
      /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/path_to_software_library/bin_folder









      share|improve this question

















      This question already has an answer here:




      • How do I modify my PATH so that the changes are available in every Terminal session

        6 answers



      • Download package, unpack, and add directory to PATH [duplicate]



      I have to use the package Trinity available from https://github.com/trinityrnaseq/trinityrnaseq/releases. I downloaded trinityrnaseq-Trinity-v2.8.4.tar.gz, did extract, and now have trinityrnaseq-Trinity-v2.8.4 in the directory /home/aishah



      To be able to use Trinity, I have to add directories to my PATH, and did



      $ export PATH=trinityrnaseq-Trinity-v2.8.4:$PATH
      $ export PATH=trinityrnaseq-Trinity-v2.8.4/util:$PATH


      When I run Trinity in the current terminal, the Trinity version is shown, indicating that I can now use Trinity. However, when I close the terminal, then open another terminal and run Trinity, it says command not found. If I run the exports again, then it works again only for the current terminal.



      What can I do to be able to always use Trinity and from every directory? Please give me detailed instructions of all steps and commands.



      $ echo $PATH
      /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/path_to_software_library/bin_folder




      This question already has an answer here:




      • How do I modify my PATH so that the changes are available in every Terminal session

        6 answers



      • Download package, unpack, and add directory to PATH [duplicate]







      command-line paths






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 5 at 16:52









      wjandrea

      9,28942664




      9,28942664










      asked Feb 5 at 1:39









      user796294user796294

      12




      12




      marked as duplicate by DK Bose, karel, pomsky, Charles Green, wjandrea Feb 5 at 16:52


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by DK Bose, karel, pomsky, Charles Green, wjandrea Feb 5 at 16:52


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀