Skip to content
Vili edited this page Dec 24, 2023 · 6 revisions

Detailed setup tutorial for Linux

Click here to view a video tutorial.

Note

Make sure your system is up to date.

Installing Python and Git

Python should be installed by default on most Linux distributions, but if that's not the case, you can install it using your distributions package manager. Also you might need to install python-pip and python-virtualenv.

Here are few examples how to install both Git and Python:

Debian/Ubuntu/ZorinOS

sudo apt install git python3 python3-pip python3-virtualenv

Fedora/Redhat

sudo dnf install git python python-pip python3-virtualenv

Arch based distributions

sudo pacman -S git python python-pip python3-virtualenv

Void

sudo xbps-install git python3 python3-pip python3-virtualenv

Others

If you use any other distribution, see its own wiki for tutorials.

Installing H4X-Tools

After installing Git and Python, you can start installing H4X-Tools by opening up a terminal and typing the following:

git clone https://github.com/vil/h4x-tools.git

After the cloning is done, type:

cd h4x-tools

sh setup.sh

and follow the setup scripts instructions.

H4X-Tools should now be in /usr/local/bin/, which means that you can start it by simply typing h4xtools in the terminal.

If the setup fails to build the tool, you can launch it by typing:

python h4xtools.py

Important

If you get errors like EXAMPLE not found., you have to install them by yourself using your package manager.

Updating

To update the tool, you have to open up the directory in the terminal that you have cloned before, and type the following:

git fetch && git pull

Then run the setup script again to build the new version of the tool.

Already built executables from releases

If you download the already built executables from the Releases page. You have to make the executable by typing the following:

chmod +x h4xtools

Then run it by typing:

./h4xtools

Also I recommend you to verify the signature of the file by downloading the .sig file also, and then typing:

gpg --verify h4xtools.asc