Debian

From Andreida
Revision as of 18:48, 18 November 2020 by Andreas (talk | contribs) (→‎System)

Console

Config/Setup/Install

System

upgrade Debian to the next major version

  • Check your current major version number
cat /etc/issue
9 Stretch
10 Buster
  • change the old string to the new string in /etc/apt/sources.list
sed -i 's/stretch/buster/g' /etc/apt/sources.list
  • update the system
apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade

Other


sudo

apt-get install sudo
adduser <user> sudo
adduser andreas sudo

User andreas has to relogin for the new group to be enabled.

top

The output of top looks uninteresting and is bad to read. This does not have to be that way. Download Media:Top-config.zip to your home directory, unzip it and hope it does not crash/destroy something in your system. I only tested this with Debian 10.

  • download to your home directory
  • unzip
  • call top
top

I just pressed '?' and tried the things they tell you there. Then I zipped the result.

install c++

sudo apt-get install build-essential manpages-dev libstdc++-8-doc

If libstdc++-8-doc does not exist, check for later versions. libstdc++-9-doc ...