4 ms·
I'm using xubuntu, how do I manage go through package manager?
by Ice32 10y ago
I'm using xubuntu, how do I manage go through package manager?
- purak 10y agoyou can use 'godeb' to install the latest version of golang. it transforms upstream tarballs for the Go language in deb packages and installs them.
- Ice32 10y agoTy
- jerf 10y agoI use godeb: https://github.com/niemeyer/godeb https://github.com/niemeyer/godeb It packages the go release into .deb files, which you then can manage using standard Debian tools. Note that since it scrapes the release page for what releases are available, it won't be able to download 1.8 until it, you know, has actually been released, and sometimes the release page changes format upon a new release and it may take a bit for godeb to be updated.
- sfifs 10y agoI'd encourage you to look at building from source[1] rather than using package managers or binaries. It's quite simple, let's you upgrade/downgrade at will and importantly makes cross compiling to other architecture/OS trivial. https://golang.org/doc/install/source https://golang.org/doc/install/source