| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
| macos [2024-03-06 13:39:33] – [Homebrew] david | macos [2024-03-06 16:37:12] (aktuell) – david |
|---|
| ==== Bootable Linux-USB erstellen (Partitionieren und Formatieren) ==== | ==== Bootable Linux-USB erstellen (Partitionieren und Formatieren) ==== |
| |
| * mit ''mount'' sieht man die aktuell gemounteten Volumes | * mit ''mount'' sieht man die aktuell gemounteten Volumes und deren Pfad |
| * ''FAT32'': das Dateisystem (verfügbare kann man sich mit ''diskutil listFilesystems'' anzeigen lassen) | * ''FAT32'': das Dateisystem (verfügbare kann man sich mit ''diskutil listFilesystems'' anzeigen lassen) |
| * ''label'': das Label für den USB-Stick | * ''label'': das Label für den USB-Stick |
| * ''GPT'': das Format für die Partitionstabelle: ''GPT''/''MBR''/''APM'' (mehr infos unter ''diskutil eraseDisk -h'') | * ''GPT'': das Format für die Partitionstabelle: ''GPT''/''MBR''/''APM'' (mehr infos unter ''diskutil eraseDisk -h'') |
| * ''/dev/disk4'': die Disk/das Gerät auf dem alle Volumes gespeichert werden | * ''/dev/disk3'': die Disk/das Gerät auf dem alle Volumes gespeichert werden (eine komplette Disk wie ''/dev/disk3'' muss ausgewählt werden, keine Partition wie ''/dev/disk3s2'') |
| * ''/dev/disk4s2'': die Partition auf die das Image geschrieben werden soll (''/dev/disk4s1'' wäre in diesem Fall die EFI system partition) | |
| * ''debian.iso'': das ISO-Image das auf den USB-Stick geschrieben werden soll | * ''debian.iso'': das ISO-Image das auf den USB-Stick geschrieben werden soll |
| * ''bs=4K'': die Standardeinstellung von 512 ist sehr langsam, alles zwischen 4K und 4M sollte deutlich schneller sein | * ''/Volumes/LABEL'': der Pfad zum gemounteten Volume (Mount-Point) |
| | * ''bs=4K'': die Standardeinstellung von 512 in dd ist sehr langsam, alles zwischen 4K und 4M sollte deutlich schneller sein |
| |
| <code bash> | <code bash> |
| mount | mount |
| diskutil eraseDisk FAT32 label GPT /dev/disk4 | diskutil unmountDisk /dev/disk3 |
| diskutil unmountDisk /dev/disk4 | diskutil eraseDisk fat32 label gpt /dev/disk3 |
| sudo dd if=debian.iso of=/dev/disk4s2 bs=4K status=progress | diskutil mountDisk /dev/disk3 |
| diskutil mountDisk /dev/disk4 | mount |
| | bsdtar -xf debian.iso -C /Volumes/LABEL |
| | diskutil eject /dev/disk3 |
| mount | mount |
| </code> | </code> |
| | |
| | **//ODER//** |
| | |
| | <code bash> |
| | mount |
| | diskutil eraseDisk FAT32 label GPT /dev/disk3 |
| | diskutil unmountDisk /dev/disk3 |
| | sudo dd if=debian.iso of=/dev/disk3 bs=4K status=progress |
| | diskutil mountDisk /dev/disk3 |
| | mount |
| | diskutil eject /dev/disk3 |
| | mount |
| | </code> |
| | |
| |
| ===== Software ===== | ===== Software ===== |
| ==== Homebrew ==== | ==== Homebrew ==== |
| |
| * **formulae**: CLI App | * **formula(e)**: CLI App(s) |
| * **cask**: GUI App | * **cask(s)**: GUI App(s) |
| * Update Homebrew und veraltete formulae/cask: ''%%brew update && brew upgrade%%'' | * Update Homebrew und veraltete formulae/casks: ''%%brew update && brew upgrade%%'' |
| * Installation einer formulae: ''%%brew install APP%%'' | * Suchen von Apps: ''%%brew search APP%%'' |
| * Installation eines cask: ''%%brew install --cask APP%%'' | * Installation (formula): ''%%brew install APP%%'' |
| * Auflisten installierter Apps: ''%%brew list%%'' oder ''%%brew list -1%%'' (eine app pro zeile) | * Installation (cask): ''%%brew install --cask APP%%'' |
| | * Deinstallation: ''%%brew uninstall APP%%'' oder ''%%brew rm APP%%'' |
| | * Auflisten installierter Apps: ''%%brew list%%'' oder ''%%brew ls -1%%'' (eine App pro Zeile mit vollständigem Namen) |
| | * Auflisten installierter formulae: ''%%brew ls -1 --full-name --formula%%'' |
| | * Auflisten installierter casks: ''%%brew ls -1 --full-name --cask%%'' |
| * Informationen über eine App: ''%%brew info APP%%'' | * Informationen über eine App: ''%%brew info APP%%'' |
| * Hilfe: ''%%brew help%%'' oder ''%%brew --help%%'' | * Hilfe: ''%%brew help%%'' oder ''%%brew COMMAND -h%%'' |
| |
| |
| |
| <code bash> | <code bash> |
| brew install | brew install autossh bash bash-completion@2 binutils byobu ca-certificates coreutils curl diffutils docker-completion dos2unix findutils gawk git gnu-sed gnu-tar gnu-time gnu-units grep gzip htop imagemagick iproute2mac jq less midnight-commander ncurses neovim nmap openssh openssl@3 pip-completion python@3.12 readline ripgrep screen shellcheck tmux tree-sitter vim xq xz yq zsh zsh-completions zstd |
| brew install --cask | brew install --cask aldente android-file-transfer betterdisplay chromium coteditor docker finicky firefox gimp git-credential-manager iterm2 karabiner-elements keka libreoffice maccy meld minecraft obs powershell rectangle spotify thunderbird visual-studio-code vlc grishka/grishka/neardrop homebrew/cask-fonts/font-fira-code homebrew/cask-fonts/font-fira-code-nerd-font |
| </code> | </code> |
| |
| |
| ==== Internet ==== | |
| |
| |