Skip to content

Commit

Permalink
[README.md] Update installation steps (sonic-net#730)
Browse files Browse the repository at this point in the history
Updated installation steps
Added missing required packages

Signed-off-by: Alexandru Banu <Alexandru.Banu@metaswitch.com>
  • Loading branch information
abanu-ms committed Dec 13, 2020
1 parent 9209a07 commit 5fadafe
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ Install dependencies:

sudo apt-get install redis-server -t trusty
sudo apt-get install libhiredis0.13 -t trusty

Install building dependencies:

sudo apt-get install libtool
sudo apt-get install autoconf automake
sudo apt-get install dh-exec
sudo apt-get install libtool autoconf dh-exec

There are a few different ways you can install sairedis.

Expand All @@ -49,7 +47,13 @@ Get ASIC SDK and SAI packages from your ASIC vendor and install them.

Install prerequisite packages:

sudo apt-get install libswsscommon libswsscommon-dev
sudo apt-get install libswsscommon libswsscommon-dev libhiredis-dev libzmq3-dev libpython-dev

Note: libswsscommon-dev requires libnl-3-200-dev, libnl-route-3-200-dev and libnl-nf-3-200-dev version >= 3.5.0. If these are not available via apt repositories, you can get them from the latest sonic-buildimage Jenkins build: https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/lastSuccessfulBuild/artifact/target/debs/buster/.

Install SAI dependencies:

sudo apt-get install doxygen graphviz aspell

You can compile and install from source using:

Expand All @@ -62,6 +66,11 @@ You can also build a debian package using:
./autogen.sh
fakeroot debian/rules binary

If you do not have libsai, you can build a debian package using:

./autogen.sh
fakeroot debian/rules binary-syncd-vs

## Need Help?

For general questions, setup help, or troubleshooting:
Expand Down

0 comments on commit 5fadafe

Please sign in to comment.