How to install Blackarch Repositories on Arch Linux

BlackArch can be a bit bloated, as it contains thousands of different security tools, many of which you will never use or need. Instead of using BlackArch, it is possible to install the BlackArch Linux repositories onto Arch Linux and download only the packages that you need from it.

Arch Linux is one of the most customizable Linux distributions available, and there are many popular distros based off of it. One of these is BlackArch Linux, a derivative of Arch Linux used for penetration testing.

BlackArch, however, can be a bit bloated, as it contains thousands of different security tools, many of which you will never use or need. Instead of using BlackArch, it is possible to install the BlackArch Linux repositories onto Arch Linux and download only the packages that you need from it.

In this tutorial, we will install the BlackArch Linux repositories onto Arch Linux, and go overusing them.

Prerequisites

You will need:

  • A computer or VM with Arch Linux installed
  • A working Internet connection

Install BlackArch Repositories on Arch Linux

1. Install Strap Script

To begin, use curl to retrieve the strap.sh setup script from the Blackarch website:

# curl -O https://blackarch.org/strap.sh

2. Change Script Permissions

Now, you must give the script permission to execute:

# chmod +x strap.sh

3. Run Strap Script

Next, we will install the Blackarch repository by running strap.sh:

# ./strap.sh

Installing Blackarch repos

Using the Blackarch Repositories

4. Display Software Categories

Now that the Blackarch repositories are installed, you can list the different categories of software in it by using Pacman:

# pacman -Sg | grep blackarch

List categories

5. Display Packages in Category

You can also display all the packages in a specific category with:

NOTE: In this example, we are using the blackarch-wireless category, but it works with any

# pacman -Sgg | grep blackarch-wireless

List packages in the category

6. Install from the Repository

You can install packages from the Blackarch repository either by category or one at a time. To install all the packages in a category with:

# pacman -S blackarch-category

Where blackarch-category is the category, you want to install. To install packages individually:

# pacman -S package-name

Where package-name is the name of the package, you want to install.

Conclusion

Now you have installed the Blackarch Linux repositories onto your system. You also know how to install them and enable your Arch Linux machine into a powerful penetration testing tool.

Brandon Hammond
Hello, my name is Brandon Hammond, I am an avid Linux enthusiast, programmer, and contributor here at FOSS Linux. Linux is one of my passions, and when I'm not attending college I'm usually tinkering with it in a VM.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,325FansLike
190FollowersFollow

LATEST ARTICLES

How to create a Fedora Games Live USB drive in Linux

One of the best Fedora spins that has been for a while and also being well maintained is the Fedora Games. The Fedora Games spin is a great showcase of the best games available in the Fedora operating system.

RECENT COMMENTS

best linux distros programmers
Linux distros have long been a favorite among programmers since the rise in popularity of the OS in the nineties. Programmers are technical by nature, and Linux distros appeal to that technical nature. Let's discuss why Linux is a great desktop OS for programmers and developers, and find out best distros suitable for them.
manjaro complete usb drive
In this tutorial, we will show step by step how to install a Manjaro on a USB flash. For those new to this distro, it is a light-weight distro that is based on Arch Linux. Arch Linux is known for its simplistic approach and is typically made for Linux pros, but Manjaro bridges the gap between user-friendliness and rock-solid performance.
terminate frozen app
For dealing with a frozen app or desktop, you can't use the CTRL+ALT+DEL in Linux system. Instead, there are powerful alternatives that come in handy in frustrating situations. We pick the best methods available for you.