How to install a pacjage I compiled
Tom H
tomh0665 at gmail.com
Sun Apr 5 15:11:45 UTC 2020
On Sun, Apr 5, 2020 at 2:39 PM stan <stanb at panix.com> wrote:
> On Sun, Apr 05, 2020 at 02:14:45PM +0200, Tom H wrote:
>> On Sun, Apr 5, 2020 at 1:51 PM stan <stanb at panix.com> wrote:
>>> On Sat, Apr 04, 2020 at 03:26:43PM -0400, Gene Heskett wrote:
>>>>
>>>> Have you looked in /usr/local/bin? Generally, locally built stuff
>>>> gets installed there, but its also not generally in the users $PATH,
>>>> so re-arranging the order of the $PATH is often all you need to do,
>>>> put /usr/local/bin as the first entry and it will find that copy by
>>>> default.
>>>
>>> The reason I am trying to build it from the Debian sources, is that
>>> I want it to replace the default binaries installed from the
>>> repositories. I could just download it from github, and compile/
>>> install it if I wanted it in the usr/local tree.
>>
>> Did you increment the package version?
>
> No, How do I do that?
You add an entry to "debian/changelog".
You can edit it directly, or, if you have devscripts installed, you
can run "dch" in the "debian/" directory.
>>> But in any case, there is nothing in /usr/local/bin
>>
>> There wouldn't be if you used the Ubuntu source setup with new
>> upstream sources.
>
> Yes, that is what I expect. I am trying to build a version of this
> package to replace the upstream version.
>
> I suspect you have identified the issue as the lack of incrementing
> the version number. Perhaps if I can understand how to do this, all
> will be well.
Probably. Because, you rebuilt your package without incrementing the
version "apt-get install <package>" won;t do anything. You'd have to
use "apt-get install --reinstall" <package>". But it's better to use a
different version to know exactly what you have installed. - and to
know that you've customized that package.
More information about the ubuntu-users
mailing list