# Complex install (Not Recommended) ## Clone the repo The recommended install location is `/opt/libreqos` Go to the install location, and clone the repo: ```shell cd /opt/ git clone https://github.com/LibreQoE/LibreQoS.git libreqos sudo chown -R YOUR_USER /opt/libreqos ``` By specifying `libreqos` at the end, git will ensure the folder name is lowercase. ## Install Dependencies from apt and pip You need to have a few packages from `apt` installed: ```shell sudo apt-get install -y python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname -r` libbpf-dev libssl-dev ``` Then you need to install some Python dependencies: ```shell cd /opt/libreqos python3 -m pip install -r requirements.txt sudo python3 -m pip install -r requirements.txt ``` ## Install the Rust development system Go to [RustUp](https://rustup.rs) and follow the instructions. Basically, run the following: ```shell curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` When Rust finishes installing, it will tell you to execute a command to place the Rust build tools into your path. You need to either execute this command or logout and back in again. Once that's done, please run: ```shell cd /opt/libreqos/src/ ./build_rust.sh ``` This will take a while the first time, but it puts everything in the right place. Now, to build rust crates, run: ```shell cd rust cargo build --all ```