Difference between revisions of "VPP/Installing VPP binaries from packages"
(→= stable/1606 branch) |
(→Centos) |
||
Line 57: | Line 57: | ||
=== Add fd.io repo === | === Add fd.io repo === | ||
+ | |||
+ | |||
+ | ==== master branch ==== | ||
+ | |||
+ | Create a file cat /etc/yum.repos.d/fdio-master.repo with contents: | ||
+ | |||
<code> | <code> | ||
− | + | [fdio-master] | |
+ | name=fd.io master branch latest merge | ||
+ | baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/ | ||
+ | enabled=1 | ||
+ | gpgcheck=0 | ||
+ | </code> | ||
+ | Then run | ||
+ | |||
+ | <code> | ||
+ | sudo yum update | ||
+ | </code> | ||
+ | |||
+ | ==== master branch ==== | ||
+ | |||
+ | Create a file cat /etc/yum.repos.d/fdio-master.repo with contents: | ||
+ | |||
+ | <code> | ||
+ | [fdio-master] | ||
+ | name=fd.io master branch latest merge | ||
+ | baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/ | ||
+ | enabled=1 | ||
+ | gpgcheck=0 | ||
+ | </code> | ||
+ | |||
+ | Then run | ||
+ | |||
+ | <code> | ||
+ | sudo yum update | ||
+ | </code> | ||
+ | |||
+ | ==== stable/1606 branch ==== | ||
+ | |||
+ | Create a file cat /etc/yum.repos.d/fdio-stable-1606.repo with contents: | ||
+ | |||
+ | <code> | ||
+ | [fdio-stable-1606] | ||
+ | name=fd.io stable/1606 branch latest merge | ||
+ | baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1606.centos7/ | ||
+ | enabled=1 | ||
+ | gpgcheck=0 | ||
+ | </code> | ||
+ | |||
+ | Then run | ||
+ | |||
+ | <code> | ||
sudo yum update | sudo yum update | ||
</code> | </code> | ||
− | |||
<code> | <code> | ||
sudo yum install vpp | sudo yum install vpp | ||
</code> | </code> |
Revision as of 20:26, 17 May 2016
Contents
Intro
If you are simply using vpp, it can be convenient to simply install the packages. The instructions below will pull the latest freshest package build from the master branch (updated on every merge).
Ubuntu/Debian
Add fd.io repo
master branch
Ubuntu 14.04
echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/ ./" > /etc/apt/sources.list.d/99fd.io.list
sudo apt-get update
Ubuntu 16.06
echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./" > /etc/apt/sources.list.d/99fd.io.list
sudo apt-get update
stable/1606 branch
Ubuntu 14.04
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.trusty.main/ ./" > /etc/apt/sources.list.d/99fd.io.list
sudo apt-get update
Ubuntu 16.06
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.xenial.main/ ./" > /etc/apt/sources.list.d/99fd.io.list
sudo apt-get update
Install vpp packages
sudo apt-get install vpp vpp-dpdk-dkms
Centos
Add fd.io repo
master branch
Create a file cat /etc/yum.repos.d/fdio-master.repo with contents:
[fdio-master]
name=fd.io master branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/
enabled=1
gpgcheck=0
Then run
sudo yum update
master branch
Create a file cat /etc/yum.repos.d/fdio-master.repo with contents:
[fdio-master]
name=fd.io master branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/
enabled=1
gpgcheck=0
Then run
sudo yum update
stable/1606 branch
Create a file cat /etc/yum.repos.d/fdio-stable-1606.repo with contents:
[fdio-stable-1606]
name=fd.io stable/1606 branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1606.centos7/
enabled=1
gpgcheck=0
Then run
sudo yum update
sudo yum install vpp