Installing source package of a speicified version (the one installed) in Ubuntu

Kevin Wilson wkevils at gmail.com
Thu Nov 21 18:39:50 UTC 2013


Hi,
I ran apt-get buikd-dep lxc
And then
dpkg-buildpackage -us -uc -nc
And it built the package.
No errors were displayed in the build. However, when i type lxc-create it
says that the
program lxc-create is not installed, whereas after an ordinary install by
apt-get install lxc it responds to lxc-creare.
Is there any further step I should do after dpkg-build -us -uc -nc so that
it will recognize lxc-create ?
Btw, lxc-create does exist under src/lxc in my tree.

Rgs
Kevin

On Thursday, November 21, 2013, sktsee wrote:

> On Thu, 21 Nov 2013 11:03:39 +0200, Kevin Wilson wrote:
>
> > Hi,
> > Thanks.
> > I tried
> > apt-get source lxc=0.9.0-0ubuntu3.7
> > and it worked for me.
> >
> > Now what should I do to build the package?
> >
> > should it be done thus:
> > cd lxc-0.9.0/
> > and then
> > dpkg-buildpackage -us -uc -nc ?
> > or anything else ?
> > Kevin
> >
> >
>
> Yes, assuming that 1) you have a adequate build environment, and 2) you
> have the necessary build dependencies for lxc installed, and 3) debian/
> rules is set executable.
>
> --
> sktsee
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com <javascript:;>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20131121/f4344e4c/attachment.html>


More information about the ubuntu-users mailing list