Похожие чаты

Why updating go compiler is a little bit hard? (at

least in linux)
I mean we have to download it from golang.org
then remove the already existing version and then copy that downloaded version
I was expecting a command for it, something like:
go update or something like this

12 ответов

11 просмотров

use your package manager or goenv

Apart from what has already been suggested, you could also try automating with a script, that's what I did for Discord. I usually have Go installed on my machine trough my package manager though

For macOS, I’m sure Brew would do this automatically. But even if you download manually (which I generally prefer), The installer itself cleans up the previous installation. Install HomeBrew for linux from here: https://brew.sh/

do something like gvm (go version manager) resolve the problem?

There is some way that we can handle this automatically. For example, look at this link https://golang.org/doc/manage-install Or You can use gvm 'go, version manager' In macOS, we have 'brew', and for windows, 'choco' is the best way to install and update golang automatically

Spherical Flying Kat 丸い飛んでる猫
Many distros have outdated versions in their packa...

That's why I suggested a script (or as the person before me, goenv), I use distros that tend to have a more updated go version

woto-「 噂 」 Автор вопроса
Justin K
For macOS, I’m sure Brew would do this automatical...

I already have brew tho but my problem is not that I mean go compiler is accomplishing a harder job: updating packages and I'm just amazed why it cannot update itself automatically, that's all and for windows and macOS, they have official installer, but for linux, we have to remove old version, and then copy and paste a whole directory there it's not that much hard, nor is it complicated just wanted to see if it actually has any reason behind it or not

woto 「 噂 」
I already have brew tho but my problem is not that...

Professional developers tend to use macOS. That's why.

woto 「 噂 」
I already have brew tho but my problem is not that...

What distro are you using? I never had to do something like that

woto 「 噂 」
I already have brew tho but my problem is not that...

Count your blessings then, that you don't have to work with like a Ruby environment with diff versions, gem compatibility and something breaking all the time.🤣

Justin K
Count your blessings then, that you don't have to ...

Yeah Linux development is a nightmare. Python, each distro shipping their own version number, Ruby often comes outdated and you need to use rvm, node.js is just a mess for your personal directory, and so on

Похожие вопросы

Обсуждают сегодня

Hi everyone! I have a two-folded message to share today. First: updates and news, as we are being asked for those. We still want to go like we did the last 6 years: we w...
Marten | Unibright.io
31
Интересно, нет ли какого-то способа получить из dll не адрес самой метки, а адрес со смещением?
The Bird of Hermes
54
generic procedure function test<T>(param: T); type case T of longint: NewT = word; longword: NewT = byte; end; var v1: NewT; Как это можно сделать? Чтобы у меня...
notme
21
Guys, mexc or gate.io (only exchanges with the token I need, unfortunately): depositing xmr, not withdrawing, is safe rn, or can fall for shotgun kyc? (I heard gate is alread...
another one bites the dust
20
Whoa, did you guys see this FUNToken Seed Grant announcement? 💸
Noah Noure
37
Делал задачу вот такую https://stepik.org/lesson/4985/step/9?unit=1083 получилось такое https://play.haskell.org/saved/ipKrepqe оно работает, тестов много не писал, но работае...
Fedor
22
hello guys, I have a laptop, if you connect wired headphones, the sound will come from the headphones and the built-in speakers AT THE SAME TIME. How can I make the sound com...
El Pepe
21
Ok, now that the formal part is done, we can talk funny stuff. What is the next big thing ( in crypto/blockchain) we should look into? What are your favorite series on Netflix...
Marten | Unibright.io
11
Всем добрый вечер. Нужна помощь с прикруткой telegram-vapor-bot к проекту Vapor. Удалось после старта приложения отправить тестовое сообщение в бот, вот только сразу после это...
advanc3d
3
program Project1; procedure generic_proc<T>(); begin end; begin generic_proc<Int64>(0); end. Я чет не понял, а как в Delphi сделать такое? процедуру-дженерик... PS: а на...
notme
10
Карта сайта