The officially official Devuan Forum!

You are not logged in.

#1 2017-09-07 02:20:19

mckaygerhard
Member
Registered: 2017-04-21
Posts: 184
Website

new golang 1.8 backported for Devuan jessie (soon gogs packaged)

https://groups.google.com/forum/m/?hl=e … tBM5kCm0-I

If We must use updated version of golang go compiler and project manager:, currently devuan jessie stable only has 1.7 if backports are enabled..

For next devuan stable release:

echo 'deb http://download.opensuse.org/repositories/home:/vegnuli:/golang/Debian_9.0/ /' > /etc/apt/sources.list.d/home:vegnuli:golang.list
wget -nv https://download.opensuse.org/repositories/home:vegnuli:golang/Debian_9.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install golang

For devuan jeesie:

echo 'deb http://download.opensuse.org/repositories/home:/vegnuli:/golang/Debian_8.0/ /' > /etc/apt/sources.list.d/home:vegnuli:golang.list
wget -nv https://download.opensuse.org/repositories/home:vegnuli:golang/Debian_8.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install golang

IMPORTANT NOTE we have golan 1.4 and 1.8 for each from wheeze to stretch

No matter where repository you choose, the golang depends are very lowest and works inclusively in debian etch, lenny, squeeze!

For Debian 8+, Devuan 1+ or VenenuX 1.X, the default golang will be enough:

cat <<EOF > /etc/apt/preferences.d/prioritybackports
Package: golang*
Pin: release a=jessie-backports
Pin-Priority: 900
EOF
apg-get install golang-1.7 golang

in that repository there also gogs and gitea packaged

Last edited by mckaygerhard (2018-03-30 21:49:36)

Offline

Board footer