Skip to content

Instantly share code, notes, and snippets.

@jabbalaci
Created December 30, 2023 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jabbalaci/b9a864085f5e683095975d441df6a20c to your computer and use it in GitHub Desktop.
Save jabbalaci/b9a864085f5e683095975d441df6a20c to your computer and use it in GitHub Desktop.

BlackArch Linux

Things to do after installation

  • increase font size in terminal
  • check the shell (it's bash)
  • add an alias (alias d="ls -al")
  • edit /etc/pacman.conf, and add this line: ParallelDownloads = 20
  • edit mirror lists in /etc/pacman.d
  • try to update the packages: yay
  • remove Java: yay -R jdk-openjdk jre-openjdk
  • try again: yay
  • remove the package calamares: yay -R calamares
  • try again: yay
  • If we get an error like this: "error: linux-api-headers: signature from "Frederik Schwan frederik.schwan@linux.com" is unknown trust :: File /var/cache/pacman/pkg/linux-api-headers-6.4-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n]" Then:
$ sudo pacman -S archlinux-keyring

$ sudo pacman -Syu
  • remove some packages: yay -R python-uvicorn theharvester
  • retry: yay
  • remove a package: yay -R python-mitmproxy-wireguard
  • clean up: yay -Scc
  • reboot
  • try yay again. You may get an error like this: "error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is unknown trust error: failed to synchronize all databases (invalid or corrupted database (PGP signature))"

Solution: https://www.blackarch.org/faq.html -> Why do I get invalid keyring signature? -> 2nd option:

$ curl -O https://blackarch.org/strap.sh  
$ chmod u+x strap.sh  
# sha1sum strap.sh: it should match with the information on [downloads](https://blackarch.org/downloads.html)  
$ sudo strap.sh
  • run yay again
  • reboot
  • try again: yay
  • optional: install some programs that were removed
    • yay -S jdk17-openjdk
    • archlinux-java status
    • sudo archlinux-java set java-17-openjdk
    • ---
    • yay -S theharvester
  • yay -Scc
@jabbalaci
Copy link
Author

This file belongs to this video: A BlackArch Linux telepítése (in Hungarian).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment