How to install a pacjage I compiled

Ralf Mardorf silver.bullet at zoho.com
Sun Apr 5 21:14:12 UTC 2020


On Sun, 5 Apr 2020 15:53:11 -0400, stan wrote:
>On Sun, Apr 05, 2020 at 09:28:10PM +0200, Ralf Mardorf wrote:
>> As already pointed out by somebody else, if you bump the package
>> release, you don't need to add the 'reinstall' option.  
>
>Still trying to figure out how to properly do that. 1st couple of
>atempts resulted in a failure at build time.

I don't remember, seemingly you need to edit the changelog with an
editor or a helper tool.

[weremouse at moonstudio build_tmp]$ apt source openssl
[snip]
[weremouse at moonstudio build_tmp]$ grep Version openssl_*dsc
Version: 1.0.2g-1ubuntu4.15
Standards-Version: 3.9.5
[weremouse at moonstudio build_tmp]$ head -1 openssl-1.0.2g/debian/changelog 
openssl (1.0.2g-1ubuntu4.15) xenial-security; urgency=medium

"QUESTION: How does dch pick the number "3.1"?

ANSWER: We used dch -n, because we are not the maintainer of the
package (n stands for non-maintainer). Then it's 3.1. If you were the
maintainer, you'd have done dch -i, and it would have chosen -4" -
https://wiki.debian.org/BuildingTutorial

If I build a package I often use 'checkinstall' to build a package, it
quasi replaces 'make install'.

  git clone git://git.foo.org/upstream.git
  cd upstream/
  git checkout f00
  make clean
  ./autogen.sh
  ./configure --build=$HOSTTYPE-ubuntu-linux-gnu --prefix=/usr
  make
  sudo checkinstall

2 -  Name:    [ upstream ]
3 -  Version: [ 1.23.4 ]
4 -  Release: [ 1 ]

checkinstall offers an option to change the package release.




More information about the ubuntu-users mailing list