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 17 hours ago


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
    yesterday






  • 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
    yesterday
















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 17 hours ago


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
    yesterday






  • 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
    yesterday














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 yesterday









Bhaskar arya

13




13




marked as duplicate by karel, Kulfy, Charles Green, Elder Geek, George Udosen 17 hours ago


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 17 hours ago


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
    yesterday






  • 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
    yesterday


















  • how to do that please tell me.
    – Bhaskar arya
    yesterday






  • 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
    yesterday
















how to do that please tell me.
– Bhaskar arya
yesterday




how to do that please tell me.
– Bhaskar arya
yesterday




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
yesterday




@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
yesterday















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

File:DeusFollowingSea.jpg