From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f175.google.com (mail-yb0-f175.google.com [209.85.213.175]) by dpdk.org (Postfix) with ESMTP id B5382378E for ; Thu, 30 Mar 2017 07:59:01 +0200 (CEST) Received: by mail-yb0-f175.google.com with SMTP id f204so3863540ybc.2 for ; Wed, 29 Mar 2017 22:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yftDrKrjm/Ub5K/3mxedP2vq9eWa7oEQYsnTZKSvARM=; b=mWe6kI0NyytQBIES88M57REe9cM91aUpa6SD6f+EFigtnTL/rQX3ISZbzp2qfYYWuP J8ORX20nROFhFpdr0832htF58OvxD8u5wCZxeQ71soXDKQwMPwXTc7VQFoaIUFEiWOR9 pME55pBumLu9M8JB66q3G4GW4NjF8uzo/dCIJmIwC/DVRSwasIpejYhV1Dazs3Mk/AEb v9jv+PngHqSNeGln2Hj/lJYoPAAAK9e03/51OR471wld5TauAa53O/3KJB0W5cEOu3U3 H5DY/m8iXJP3p8bHiRpiTAsVyK5dky9oKMvDdbgtXpOrBoOuq/CIWdfPKr5k3kaZ8nMn SVSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yftDrKrjm/Ub5K/3mxedP2vq9eWa7oEQYsnTZKSvARM=; b=aTie9ZTKalVWgO4317LMXGWQTNJ7hC+xEF6pyI3o9ZquDatDV0shLorGzPEc9OXZR7 WXWVCgK6us/51x1rE7b+mthVDLl7nkFSep6WU709RnXhsYdVA2MRZrIoiGr9S2VZA5lV 2sLdPMXXXleexazuAA79tMySpYohnii48F+4dyaVDDrIqOv8M546z/8UKZMvRc1KZ94l DMTSlIKGg6fd3ycNJFc7u7KppZG4eqXTunCvyqd9lLVq6rYO5LlzyeZ1H9qeSDfSSu2U pyAyqfETZlFplWOHAlVgyyqFa2bH9siTAmfNQh5YE16JmjnQ+0wDqMps4zhBie0dea9c aDZg== X-Gm-Message-State: AFeK/H3OX6rmH9sw/YGuVt9X8p/DeETsluuZvNNNghosK1wuqq5WeCeVOoognw5SF0ExCJPlubK1MMUf6LrNthB7 X-Received: by 10.37.174.74 with SMTP id g10mr5366337ybe.147.1490853540605; Wed, 29 Mar 2017 22:59:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.27.11 with HTTP; Wed, 29 Mar 2017 22:58:30 -0700 (PDT) In-Reply-To: References: From: Christian Ehrhardt Date: Thu, 30 Mar 2017 07:58:30 +0200 Message-ID: To: Ashwini Thaokar Cc: dev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] DPDK Installation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 05:59:02 -0000 On Wed, Mar 29, 2017 at 9:43 PM, Ashwini Thaokar wrote: > > You must put some 'source' URIs in your sources.list Given the error message you likely want to user "apt build-dep" to automatically get all dependencies to build a dpdk app by pulling in what Ubuntu uses to build DPDK. Since this is a common task a simple search would give you one of the many short howtos where experienced users helped those who asked, like [1]. For the most basic check I'd say just install with "apt install dpdk" that will give you the testpmd app already. Of course you need to setup hugepages and assign devices, but the config of the packages and [2] will help you. If after this you want to build an own application what I usually do is like: # get dev libs and examples $ apt-get install dpdk-doc dpdk-dev libdpdk-dev # auto-get build dependencies (here you'll need the deb-src again) $ apt-get build-dep dpdk # get build env config . /usr/share/dpdk/dpdk-sdk-env.sh # build example mkdir -p /tmp/l2fwd make -C /usr/share/dpdk/examples/l2fwd "O=/tmp/l2fwd" [1]: http://askubuntu.com/questions/761357/how-to-automatically-update-etc-apt-sources-list-with-source-uris-on-ubuntu-16 [2]: https://help.ubuntu.com/16.04/serverguide/DPDK.html -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd