To install XV6 on your local machine, you need to have the following tools installed on your system:
gitwgetqemugdb
Then you can clone into public xv6 github repository by:
git clone https://github.com/mit-pdos/xv6-public.gitAfter that, cd into the xv6-public directory and run the following commands:
make qemu || make qemu-nox
make qemu-gdbFor running this os, run the following command in xv6-public directory:
chmod +x ./kernel && gdb ./kernel