The procedure is quite the same as for gcc 4.8 as you can see in my older post Installing gcc, g++ and gfortran 4.8 from source Read the manual. Download, unpack, switch dir, download, unpack, link. $ wget ftp://ftp.gwdg.de/pub/misc/gcc/snapshots/LATEST-8/gcc-8-20190118.tar.xz $ xz -d gcc-8-20190118.tar.xz $ tar xf gcc-8-20190118.tar $ gcc-8-20190118/ $ wget ftp://ftp.gmplib.org/pub/gmp-6.1.2/gmp-6.1.2.tar.bz2 $ tar xjf […]
24.01.2019
Installing gcc, g++ and gfortran 8 from source
17.01.2019
(QGIS) Debian dummy / fake packet
I want to install QGIS today and run into following issue: qgis : Depends: gdal-abi-2-3-0 but it is not installable It is not installable because it does not exist in buster, only in sid. It is a virtual package for libgdal20. So I installed libgdal20 and crate a fake packed. $ cat gdal_abi.txt Section: misc […]
13.01.2019
Linux: Zwei Monitore / Bildschirme anschliessen
Ein paar nützliche Befehle: # xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 LVDS2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm 1920x1080 60.00*+ 59.93 50.00 ... VGA-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm 1920x1080 […]
12.01.2019
Installation von FreeBSD
Mir geht die Linux Gemeinschaft in letzter Zeit richtig auf die Nerven. Vor allem der Hype um systemd. Wenn ihr schon etwas besser machen wollt, dann baut es doch nicht noch schrottiger. Es wird wieder Zeit für ein unix! FreeBSD war damals vor >15 Jahren ganz toll. Also warum nicht. Problem: Die Hardware will nicht. […]
08.02.2018
line 1: #!/bin/bash: No such file or directory
$ ./test.sh ./test.sh: line 1: #!/bin/bash: No such file or directory $ cat test.sh #!/bin/bash $ ll /bin/bash -rwxr-xr-x 1 root root 1.1M May 15 2017 /bin/bash WTF?! Wo ist der Fehler? Ein Blick mit dem hexeditor zeigt seltsame Zeichen am Dateianfang, die im Texteditor nicht sichtbar sind. $ head -n 1 test.sh | hexdump […]
19.01.2018
GIT specify private ssh key
Das dumme an private keys ist, man kann sie nicht so einfach wie Passwörter überall mit hin nehmen. Schon garnicht zu anderen Rechner wo man selbst kein eigenen Useraccount hat. Und der vorhandene trusted user sein eigenen ssh key hat. Bei ssh kann man leicht sein eigenes keyfile mit angeben. Bei GIT geht das auch, […]
14.08.2017
sshd_config AllowUsers AllowGroups
Multiuser System. Nicht alle dürfen auf alle Verzeichnisse zugreifen. Nicht alle drüfen sich vom WAN einloggen, nur vom LAN. Geschütze Verzeichnisse nur durch eine besondere Gruppe 'intern' les- und schreibbar machen. Alle anderen haben kein Zugriff. chmod -R 770 chgrp -R intern Diesen Usern Gruppe 'intern' als Standardgruppe zuordnen usermod -g intern user1 Und dafür […]
30.06.2017
14.01.2017
Compile Icecat
Get the source wget http://mirror.gutscheinrausch.de/gnu/gnuzilla/45.5.1/icecat-45.5.1-gnu1.tar.bz2 tar xjf icecat-45.5.1-gnu1.tar.bz2 mkdir build-icecat-45.5.1 Install dependencies apt-get install libgtk2.0-dev libgconf2-dev libdbus-glib-1-dev yasm libasound2-dev libpulse-dev libxt-dev Perhaps you need these too libnotify-dev libiw-dev mesa-common-dev checkinstall Configure and compile ../icecat-45.5.1/configure --prefix=/home/kater/bin/icecat-45.5.1 --disable-gstreamer make gstreamer is bad software, like systemd, written from mental health people. So disable it. You may have to […]