Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.
Saved setup from 14 h ago
Will it work on Linux?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/ultralytics/yolov5.git cd yolov5
Python >=3.8
sudo apt install python3 python3-venv # Debian/Ubuntu
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt
pytest
No reports for Linux yet.
GitManual AI Agent reads the 10 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.