-
-
Notifications
You must be signed in to change notification settings - Fork 92
Linux
Note
Make sure your system is up to date by updating it with your systems package manager.
Before installing H4X-Tools, you need to have Python 3, Git, and pip installed on your system. Most Linux distributions come with Python pre-installed, but you may need to install Git and pip manually.
Use your distribution's package manager to install the necessary packages. Here are the commands for some common distributions:
Debian/Ubuntu/ZorinOS:
sudo apt update
sudo apt install git python3 python3-pip python3-virtualenvFedora/Redhat:
sudo dnf install git python3 python3-pip python3-virtualenvArch-based distributions:
sudo pacman -S git python python-pip python3-virtualenvVoid Linux:
sudo xbps-install git python3 python3-pip python3-virtualenvOthers:
For other distributions, please consult their respective documentation or community forums for installation instructions.
Once you have the prerequisites installed, follow these steps to install H4X-Tools:
-
Clone the repository:
git clone https://github.com/vil/h4x-tools.git
-
Navigate to the H4X-Tools directory:
cd h4x-tools -
Execute the setup script:
sh setup.sh
The setup script will guide you through the installation process, which includes creating a virtual environment, installing dependencies, and building the tool. If you encounter any issues during this process, ensure that all dependencies are correctly installed and that you have the necessary permissions.
After a successful installation, H4X-Tools will be located in /usr/local/bin/, allowing you to run it by simply typing h4xtools in the terminal.
Important
If you receive errors such as EXAMPLE not found, you may need to install additional dependencies using your package manager.
To update H4X-Tools to the latest version, follow these steps:
-
Navigate to the H4X-Tools directory:
cd ~/h4x-tools
The path may be different depending on where you cloned the repository during the installation.
-
Run the update.sh Script:
sh update.sh
This will automatically run the needed commands to update the toolkit. You can also do it manually by executing the following:
git fetch && git pullsh setup.sh
This will rebuild the toolkit to use the latest version.