Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkg install wget
- wget https://sdrausty.github.io/TermuxArch/setupTermuxArch.sh bash setupTermuxArch.sh
- bash setupTermuxArch.sh
- nano /etc/pacman.d/mirrorlist
- ## Geo-IP based mirror selection and load balancing Server = http://mirror.archlinuxarm.org/$arch/$repo
- (add servers)
- Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo
- Server = https://us.mirrors.fossho.st/blackarch/
- Server = http://mirror.math.princeton.edu/pub/blackarch/
- Server = https://mirror.math.princeton.edu/pub/blackarch/
- Server = rsync://mirror.math.princeton.edu/pub/blackarch/
- Server = http://distro.ibiblio.org/blackarch/
- Server = ftp://distro.ibiblio.org/blackarch/
- Server = https://mirror.team-cymru.com/blackarch/
- Server = ftp://mirror.team-cymru.com/blackarch/
- Server = rsync://mirror.team-cymru.com/blackarch/
- Server = https://ftp2.osuosl.org/pub/blackarch/
- Server = https://ftp2.osuosl.org/pub/blackarch/
- Server = https://mirror.chaoticum.net/arch/
- Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
- Server = https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib
- (save and exit nano)
- pacman -Syu
- (blackarch)
- # Run https://blackarch.org/strap.sh as root and follow the instructions.
- $ curl -O https://blackarch.org/strap.sh
- # Verify the SHA1 sum
- $ echo bbf0a0b838aed0ec05fff2d375dd17591cbdf8aa strap.sh | sha1sum -c
- # Set execute bit
- $ chmod +x strap.sh
- # Run strap.sh
- $ sudo ./strap.sh
- # Enable multilib following https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib and run:
- $ sudo pacman -Syu
- # To list all of the available tools, run
- $ sudo pacman -Sgg | grep blackarch | cut -d' ' -f2 | sort -u
- # To install a category of tools, run
- $ sudo pacman -S blackarch-<category>
- # To see the blackarch categories, run
- $ sudo pacman -Sg | grep blackarch
- # To search for a specific package, run
- $ pacman -Ss <package_name>
- # Note - it maybe be necessary to overwrite certain packages when installing blackarch tools. If
- # you experience "failed to commit transaction" errors, use the --needed and --overwrite switches
- # For example:
- $ sudo pacman -Syyu --needed --overwrite='*' <wanted-package>
- if trouble reading mirrors exit termux and reenter arch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement