golang + scdoc + aerc mail client - McKAY brothers, multimedia emulation and support

About McKAY's blog

ads

Post Top Ad

Your Ad Spot

2020/11/12

golang + scdoc + aerc mail client

In this post we will do 3 things at the same time, install golang, scdoc and aerc mail, updated versions for debian with the exception that aerc mail will be compiled in the old way.

Aerc mail is a decent old-school hacker-style client for the console, the most complete you can name.

HOW TO INSTALL GOLANG AND SCDOC together with aerc mail

We add the repos of backports (buster) and those of venenux (for jessie, wheeze, strecht), also we add additional repos of oficial debian if neeed backsoucered, each block is a complete line of a command so copy each block and paste to excecute independient of next block..

apt-get update

apt-get -y --force-yes install apt-transport-https lsb-release ca-certificates

cat > /etc/apt/sources.list.d/50debianoficials.list << EOF
deb http://http.us.debian.org/debian $(lsb_release -s -c) main contrib non-free
deb http://archive.debian.org/debian $(lsb_release -s -c) main contrib non-free
EOF

cat > /etc/apt/sources.list.d/50debianbackports.list << EOF
deb http://http.us.debian.org/debian $(lsb_release -s -c)-backports main contrib non-free
deb http://archive.debian.org/debian $(lsb_release -s -c)-backports main contrib non-free
EOF

curl -fsSL "https://download.opensuse.org/repositories/home:/vegnuli:/deploy-vnx1/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/Release.key" | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home:vegnuli:deploy-vnx1.gpg > /dev/null

cat > /etc/apt/sources.list.d/60debianvenenux.list << EOF
deb http://download.opensuse.org/repositories/home:/vegnuli:/system-vnx1/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/ /
deb http://download.opensuse.org/repositories/home:/vegnuli:/deploy-vnx1/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/ /
deb http://download.opensuse.org/repositories/home:/vegnuli:/desktop-vnx1/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/ /
deb http://download.opensuse.org/repositories/home:/vegnuli:/internet-vnx1/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/ /
deb http://download.opensuse.org/repositories/home:/vegnuli:/multimedia-vnx1/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/ /
deb http://download.opensuse.org/repositories/home:/vegnuli:/emusgames-1.0/Debian_$(lsb_release -r -s | cut -d '.' -f1).0/ /
EOF

apt-get --allow-unauthenticated -o Acquire::AllowInsecureRepositories=true update

For aerc mail we need golang and scdocs, therefore we need

  1. repos backports in buster case for golang and scdoc, we will do pinning
  2. venenux repos for jessie, wheeze and stretch for golang and scdoc

At buster we do pinning for golang

cat > /etc/apt/preferences.d/50debianbackports-golang << EOF
Package: golang*
Pin: release n=$(lsb_release -s -c)-backports
Pin-Priority: 600
EOF

and we proceed to install golang and scdoc:

apt-get install golang golang-go scdoc

INSTALL AERC MAIL

Simple we read the readme of the tarbal and proceed normal:

wget https://git.sr.ht/~sircmpwn/aerc/archive/f6a0eb8e14c25e49ca18dfc89726a7123afccd67.tar.gz -O aerc.tar.gz
tar -xf aerc.tar.gz
cd aerc *
make

However there is a detail, after building .. if you do as root "make install" this installs it in "usr / local" and neither the command nor the manpages will be found .. unfortunately it is a problem of the same program and you have to do it in two places: both in "/ usr / local" and in "/ usr" because aerc assumes that.

1 comentario:

no stupid winbuntu users allowed!

Entradas populares

Post Top Ad

Your Ad Spot