can't run kotlin in ubuntu [duplicate]












0















This question already has an answer here:




  • Installing Kotlin securely, with package signatures, auto-update etc

    3 answers



  • How to add a directory to the PATH?

    17 answers




 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ kotlin
Command 'kotlin' is available in '/snap/bin/kotlin'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
kotlin: command not found**


when i see by path by snap is included in $PATH:



 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ $PATH
bash: /home/bhaskar/bin:/home/bhaskar/.local/bin:/usr/local/sbin:/usr/local/bin:/home/bhaskar/snap/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory


help me to run my kotlin in ubuntu 18.










share|improve this question













marked as duplicate by karel, Kulfy, Charles Green, Elder Geek, George Udosen Dec 27 '18 at 9:29


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.















  • how to do that please tell me.
    – Bhaskar arya
    Dec 26 '18 at 12:20






  • 1




    @Kulfy if you source ~/.bashrc after export PATH="/snap/bin:$PATH", it won't work since when you re-read bashrc, you will overwrite the PATH again. Either edit ~/.bashrc and add the new directory to the path there or export PATH="/snap/bin:$PATH". Not both.
    – terdon
    Dec 26 '18 at 13:43
















0















This question already has an answer here:




  • Installing Kotlin securely, with package signatures, auto-update etc

    3 answers



  • How to add a directory to the PATH?

    17 answers




 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ kotlin
Command 'kotlin' is available in '/snap/bin/kotlin'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
kotlin: command not found**


when i see by path by snap is included in $PATH:



 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ $PATH
bash: /home/bhaskar/bin:/home/bhaskar/.local/bin:/usr/local/sbin:/usr/local/bin:/home/bhaskar/snap/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory


help me to run my kotlin in ubuntu 18.










share|improve this question













marked as duplicate by karel, Kulfy, Charles Green, Elder Geek, George Udosen Dec 27 '18 at 9:29


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.















  • how to do that please tell me.
    – Bhaskar arya
    Dec 26 '18 at 12:20






  • 1




    @Kulfy if you source ~/.bashrc after export PATH="/snap/bin:$PATH", it won't work since when you re-read bashrc, you will overwrite the PATH again. Either edit ~/.bashrc and add the new directory to the path there or export PATH="/snap/bin:$PATH". Not both.
    – terdon
    Dec 26 '18 at 13:43














0












0








0








This question already has an answer here:




  • Installing Kotlin securely, with package signatures, auto-update etc

    3 answers



  • How to add a directory to the PATH?

    17 answers




 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ kotlin
Command 'kotlin' is available in '/snap/bin/kotlin'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
kotlin: command not found**


when i see by path by snap is included in $PATH:



 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ $PATH
bash: /home/bhaskar/bin:/home/bhaskar/.local/bin:/usr/local/sbin:/usr/local/bin:/home/bhaskar/snap/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory


help me to run my kotlin in ubuntu 18.










share|improve this question














This question already has an answer here:




  • Installing Kotlin securely, with package signatures, auto-update etc

    3 answers



  • How to add a directory to the PATH?

    17 answers




 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ kotlin
Command 'kotlin' is available in '/snap/bin/kotlin'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
kotlin: command not found**


when i see by path by snap is included in $PATH:



 bhaskar@bhaskar-ThinkPad-L430://usr/local/bin$ $PATH
bash: /home/bhaskar/bin:/home/bhaskar/.local/bin:/usr/local/sbin:/usr/local/bin:/home/bhaskar/snap/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory


help me to run my kotlin in ubuntu 18.





This question already has an answer here:




  • Installing Kotlin securely, with package signatures, auto-update etc

    3 answers



  • How to add a directory to the PATH?

    17 answers








18.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 26 '18 at 12:14









Bhaskar aryaBhaskar arya

13




13




marked as duplicate by karel, Kulfy, Charles Green, Elder Geek, George Udosen Dec 27 '18 at 9:29


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 karel, Kulfy, Charles Green, Elder Geek, George Udosen Dec 27 '18 at 9:29


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.














  • how to do that please tell me.
    – Bhaskar arya
    Dec 26 '18 at 12:20






  • 1




    @Kulfy if you source ~/.bashrc after export PATH="/snap/bin:$PATH", it won't work since when you re-read bashrc, you will overwrite the PATH again. Either edit ~/.bashrc and add the new directory to the path there or export PATH="/snap/bin:$PATH". Not both.
    – terdon
    Dec 26 '18 at 13:43


















  • how to do that please tell me.
    – Bhaskar arya
    Dec 26 '18 at 12:20






  • 1




    @Kulfy if you source ~/.bashrc after export PATH="/snap/bin:$PATH", it won't work since when you re-read bashrc, you will overwrite the PATH again. Either edit ~/.bashrc and add the new directory to the path there or export PATH="/snap/bin:$PATH". Not both.
    – terdon
    Dec 26 '18 at 13:43
















how to do that please tell me.
– Bhaskar arya
Dec 26 '18 at 12:20




how to do that please tell me.
– Bhaskar arya
Dec 26 '18 at 12:20




1




1




@Kulfy if you source ~/.bashrc after export PATH="/snap/bin:$PATH", it won't work since when you re-read bashrc, you will overwrite the PATH again. Either edit ~/.bashrc and add the new directory to the path there or export PATH="/snap/bin:$PATH". Not both.
– terdon
Dec 26 '18 at 13:43




@Kulfy if you source ~/.bashrc after export PATH="/snap/bin:$PATH", it won't work since when you re-read bashrc, you will overwrite the PATH again. Either edit ~/.bashrc and add the new directory to the path there or export PATH="/snap/bin:$PATH". Not both.
– terdon
Dec 26 '18 at 13:43










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido