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 over using 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

23,953FansLike
248FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

Create a ClamAV Antivirus Live USB drive, and how to use it

Antivirus Live CD or USB drives come in handy at times when your computer is infected with a virus and other malware. Here is how you can create a ClamAV Live USB drive to scan and remove the malware from a computer.
clean virus ubuntu live CD
In this tutorial, we are going to show you how to clean your Windows machine from infected viruses using an Ubuntu live USB or CD and the ClamAV antivirus. The ClamAV is a free, open-source antivirus that can be used on Ubuntu.
Application Launchers for Ubuntu
Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.