### Run AFKit Example (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Navigates to the directory containing the compiled AFKit binaries and executes the 'afkit' example program. ```bash cd [AFKit root]/source/obj ``` ```bash ./afkit ``` -------------------------------- ### Install Required Libraries (Way 2) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Installs necessary libraries including libssl-dev, libblocksruntime-dev, and libdispatch-dev using apt-get. Optional commands are included for installing make, cmake, and git if not already present. ```bash sudo apt-get install libssl-dev libblocksruntime-dev libdispatch-dev ``` ```bash sudo apt-get install make cmake ``` ```bash sudo apt-get install git ``` -------------------------------- ### Install Basic Build Tools (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Installs essential build tools like make, cmake, and git using the apt-get package manager. ```bash sudo apt-get install make cmake git ``` -------------------------------- ### Install SSL Development Library (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Installs the libssl-dev package, which provides development files for OpenSSL, a required dependency. ```bash sudo apt-get install libssl-dev ``` -------------------------------- ### Install LLVM and Clang (Way 2) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Installs the LLVM compiler infrastructure and the Clang compiler using either apt-get or yum. ```bash sudo apt-get install llvm clang ``` ```bash yum install clang ``` ```bash yum install llvm ``` -------------------------------- ### Install GNUstep Environment (Way 2) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Installs the GNUstep base and development packages using either apt-get (for Debian/Ubuntu) or yum (for Fedora/CentOS/RHEL). ```bash sudo apt-get install make gnustep gnustep-devel ``` ```bash yum install epel-release yum install gnustep-* ``` -------------------------------- ### Clone and Build GNUstep Environment (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Clones the gnustep-build repository, navigates to the platform-specific build directory, and executes the build script to set up the GNUstep environment. ```bash git clone https://github.com/plaurent/gnustep-build ``` ```bash cd gnustep-build/[your platform target(such as ubuntu-20.04-clang-10.0-runtime-2.0)] ``` ```bash sudo ./[your platform target].sh ``` -------------------------------- ### Build AFKit (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Executes the make command within the AFKit source directory to compile the project. An optional command is provided to explicitly use clang as the compiler. ```bash make ``` ```bash make CC=clang ``` -------------------------------- ### Navigate to AFKit Source Directory (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Changes the current working directory to the root source directory of the AFKit project. ```bash cd [AFKit root]/source/ ``` -------------------------------- ### Set LD_LIBRARY_PATH for AFKit (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Modifies the LD_LIBRARY_PATH environment variable to include the directory where the compiled libMachObjC.so library is located, typically the build output directory. ```bash export LD_LIBRARY_PATH=xx ``` -------------------------------- ### Remove Conflicting Include Directory (Way 1) Source: https://github.com/tedzhang2891/class-dump-linux/blob/master/README.md Removes or moves the x86_64-linux-gnu include directory to prevent potential redefinition errors during the AFKit build process. ```bash sudo rm -rf /usr/include/x86_64-linux-gnu ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.