Linux Crashkurs

  1. Linux installieren (am besten alten computer nehmen) <- UBUNTU 19.04
  2. terminal starten
    folgende befehle eingeben, (dann enter drücken, symbol: ⏎) und den befehl notieren was er macht, handschriftlich)
    apropos apt ⏎
    man apt ⏎
    man man ⏎
    man find ⏎
    find / ⏎
    man sudo ⏎
    sudo find / ⏎
    find . ⏎
    find . -name ‹*.txt› ⏎
    find -type d -exec ls ‹{}› \; ⏎
    apt-get install vim git ⏎
    sudo !! ⏎
    letzter befehl: !! ⏎
    cd ⏎
    pwd ⏎
    ls ⏎
    cd /home ⏎
    pwd ⏎
    ls ⏎
    cd ~ ⏎
    pwd ⏎
    ls ⏎

git clone https://github.com/corrados/jamulus ⏎
cd jamulus ⏎
du -h –max-depth 1 ⏎
sudo apt-get install tree ⏎
tree ⏎
cd distributions/debian ⏎
cat control ⏎

dann zeile rauskopieren mit ctrl-shift-c und in gedit (windows-taste drücken und gedit ⏎ schreiben)
libc6-dev | libc-dev ,g++, make, dpkg-dev, qtdeclarative5-dev, qt5-default, libjack-jackd2-dev

nö gibt noch ne mühsamere variante

cat control | grep Build-Dep | cut -d»|» -f2 | sed -e «s/,//g» |xargs sudo apt-get install ⏎

cd ~/jamulus ⏎

qmake Jamulus.pro ⏎
make ⏎

**** YAY HIER HAST DU DEI NERSTES C/C++/QT PROGRAMM KOMPILLIERT udn als guter könig muss ich dich dafür loben **** (leckerli)

./Jamulus ⏎

sudo apt-get install wget ⏎
wget -rl5 https://www.gunnarkaiser.de/ ⏎

cd www.gunnarkaiser.de/ ⏎
(bzw nach www den tabulator taste drücken)

nautilus .

die datei «robots.txt» doppelt anklicken, und dann der reihe nach alle andern

Programmiersprache

sudo apt-get install python3

python3 ⏎
print(«TEST»)

import datetime
datetime

from datetime import datetime
datetime
datetime.now()
datetime.now().year

print(«Wir haben das Jahr», datetime.now().year)

echo «
from datetime import datetime
print(‹heute ist der›, str(datetime.now().day) + ‹.›)
» > irgendwas.py ⏎

ls irgendwas* -la ⏎
ls -al *.py ⏎
ls ⏎

python3 irgendwas.py ⏎

Um ein komplettes Linux zu installieren (debian/ubuntu) mit allem was man so braucht wie gimp, inkscape, obs-streamer, keepassx, …

git clone https://github.com/braindef/installation-scripts/

cd installation-scripts/desktop/debian/buster/

./install.sh

enter, enter, enter, enter, enter…

Leave a comment

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert