Skip to content

Commit

Permalink
update install guide
Browse files Browse the repository at this point in the history
  • Loading branch information
HighW4y2H3ll authored and AndrewQuijano committed Jul 11, 2024
1 parent 89b0ed6 commit 4b814ad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Setup LAVA

## Ubuntu 64-bit 16.04.4
The following install steps worked on 6/29/2019 with LAVA commit [c55bf1826ef9855a621f2652b30f16ac75b19cb6](https://github.com/panda-re/lava/commit/c55bf1826ef9855a621f2652b30f16ac75b19cb6).

- Download and install [Ubuntu 64-bit 16.04.6](http://releases.ubuntu.com/16.04/ubuntu-16.04.6-desktop-amd64.iso) (SHA1 A09607901183AB25C675626024AA402663FA2558, MD5: 5416371CC0E990871746DDAAC89F1A5E).
- `sudo add-apt-repository ppa:phulin/panda`
- `sudo cp /etc/apt/sources.list /etc/apt/sources.list~`
- `sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list`
- `sudo apt-get update`
- `sudo apt-get install python-pip git protobuf-compiler protobuf-c-compiler libprotobuf-c0-dev libprotoc-dev python-protobuf libelf-dev libcapstone-dev libdwarf-dev python-pycparser llvm-3.3 clang-3.3 libc++-dev libwiretap-dev libwireshark-dev odb`
- `sudo apt-get build-dep qemu`
- `pip install colorama`
- `cd ~/Desktop`
- `git clone https://github.com/panda-re/lava.git`
- `cd ~/Desktop/lava`
- `python2 setup.py`

## Updated

- build Docker container with `docker/Dockerfile`
- use `scripts/docker-shell.sh` to enter docker container
- inside Docker container, run `python setup_container.py` to build lavaTools
- exit Docker container, and run `python setup_postgres.py` and `init-host.py`

0 comments on commit 4b814ad

Please sign in to comment.