Advertisement
Jackspade9624

arch linux/black arch termux install

May 24th, 2025 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. pkg install wget
  2.  
  3. wget https://sdrausty.github.io/TermuxArch/setupTermuxArch.sh bash setupTermuxArch.sh
  4. bash setupTermuxArch.sh
  5.  
  6. nano /etc/pacman.d/mirrorlist
  7.  
  8. ## Geo-IP based mirror selection and load balancing Server = http://mirror.archlinuxarm.org/$arch/$repo
  9.  
  10. (add servers)
  11.  
  12. Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo
  13. Server = https://us.mirrors.fossho.st/blackarch/
  14. Server = http://mirror.math.princeton.edu/pub/blackarch/
  15. Server = https://mirror.math.princeton.edu/pub/blackarch/
  16. Server = rsync://mirror.math.princeton.edu/pub/blackarch/
  17. Server = http://distro.ibiblio.org/blackarch/
  18. Server = ftp://distro.ibiblio.org/blackarch/
  19. Server = https://mirror.team-cymru.com/blackarch/
  20. Server = ftp://mirror.team-cymru.com/blackarch/
  21. Server = rsync://mirror.team-cymru.com/blackarch/
  22. Server = https://ftp2.osuosl.org/pub/blackarch/
  23. Server = https://ftp2.osuosl.org/pub/blackarch/
  24. Server = https://mirror.chaoticum.net/arch/
  25. Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
  26. Server = https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib
  27.  
  28. (save and exit nano)
  29.  
  30. pacman -Syu
  31.  
  32. (blackarch)
  33.  
  34. # Run https://blackarch.org/strap.sh as root and follow the instructions.
  35. $ curl -O https://blackarch.org/strap.sh
  36.  
  37. # Verify the SHA1 sum
  38. $ echo bbf0a0b838aed0ec05fff2d375dd17591cbdf8aa strap.sh | sha1sum -c
  39.  
  40. # Set execute bit
  41. $ chmod +x strap.sh
  42.  
  43. # Run strap.sh
  44. $ sudo ./strap.sh
  45.  
  46. # Enable multilib following https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib and run:
  47. $ sudo pacman -Syu
  48.  
  49. # To list all of the available tools, run
  50. $ sudo pacman -Sgg | grep blackarch | cut -d' ' -f2 | sort -u
  51.  
  52. # To install a category of tools, run
  53. $ sudo pacman -S blackarch-<category>
  54.  
  55. # To see the blackarch categories, run
  56. $ sudo pacman -Sg | grep blackarch
  57.  
  58. # To search for a specific package, run
  59. $ pacman -Ss <package_name>
  60.  
  61. # Note - it maybe be necessary to overwrite certain packages when installing blackarch tools. If
  62. # you experience "failed to commit transaction" errors, use the --needed and --overwrite switches
  63. # For example:
  64. $ sudo pacman -Syyu --needed --overwrite='*' <wanted-package>
  65.  
  66.  
  67. if trouble reading mirrors exit termux and reenter arch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement