Como agregar de manera correcta el $PATH de Go en Zorin OS
Me imagino que si estas aqui es porque estas presentando incoveniente para ejecutar archivos .go en tu pc linux o en Zorin Os, que es la distribuccion la cual utilizo. Si estas aqui es porque me imagino que ya intalaste go en Zorin OS y si presentas incovenientes a la hora de ejercutar el archivo .go despues de haber reiniciado o apagado tu pc te traigo la solucion.
Abre una terminal
Dirigirte al directorio (/home/"usuario":) //donde dice usuario, va colocado tu usuario de acceso a tu sistema linux.
Luego escribes el comando ls -a, el comando "ls" nos muestra todo los archivos que tenemos en esa ruta y con el comando "-a" le indicamos que nos muestre tambien los archivos olcutos. Esto es porque para que nuestro $PATH de go sigan funcionando incluso despues de haber reiniciado la PC es necesario editar un archivo oculto.
Ahi ubicamos el archivo llamado .bashrc y en la terminal escribimos lo siguiente: nano .bashrc (tambien lo puedes hacer con vim, es decir, "vim .bashrc")
Ahi se nos abrira por asi decirlo un editor de texto en nuestra terminal, ahi nos dirigimos a lo ultimo del archivo y pegamos el $PATH de go que es el siguiente: export PATH=$PATH:/usr/local/go/bin, presionamos CTRL + O para guardar los cambios y luego CTRL + X para salir.
Y listo, de esta manera aunque reiniciemos o apaguemos el pc, nuestro $PATH de go estara siempre activo y podemos ejecutar archivos de go sin ningun incoveniente.
2 notes
·
View notes
I must sleep. Sleep is the mind-healer. Sleep is the big-life that brings total ability to fucking do anything. I will face my bed. I will permit the blankie to pass over me and snores to pass through me. And when sleep has gone past I will turn the outer eye to greet the new morning. When the sleep has gone there will be everything. Energy and will to live will remain.
59K notes
·
View notes
Which path should he choose?
The path of the warrior, the path of the scholar, or the path of the artist?
94K notes
·
View notes
casting spike growth during the cadazor fight resulted in a visual that i could write essays about
11K notes
·
View notes