Packaging an application
Ross Gammon
retail at the-gammons.net
Tue Dec 29 09:04:12 UTC 2015
Hi Lloyd,
On 29/12/15 08:40, Ralf Mardorf wrote:
> On Tue, 29 Dec 2015 11:11:53 +0530, Lloyd wrote:
>> I understand that dpkg wont install the dependencies.
14.04 is getting a bit old now, and may not have the latest version of
some libraries. For something new, it would be best to aim at the
versions in the latest development releases of Debian (unstable) and
Ubuntu (xenial 16.04).
> Assumed all dependencies should be available by the repositories
>
> $ sudo -i
> # cd path/to/package/
> # apt-get update && dpkg -i --force-depends packagename.deb && apt-get install -f
>
> might do the trick. But since force options should be avoided
>
> $ sudo -i
> # cd path/to/package/
> # apt-get update && apt-get install list.deb of.deb dependencies.deb && dpkg -i packagename.deb
>
>> What is the best way to make the installation hassle free for the user?
>>
This is generally a good page for upstream projects to read to make it
easier to distribute in the Debian/Ubuntu ecosystem:
https://wiki.debian.org/UpstreamGuide
> Only to depend on packages provided by the official repositories ;).
>
> To compile without usage of shared dependencies and to install the
> software together with it's dependencies to opt/?
>
> To ensure that installing/updating shared dependencies won't break any Ubuntu
> install and to provide the package and all dependencies by a PPA, resp.
> by the mentioned CD?
>
Regards,
Ross
More information about the Ubuntu-devel-discuss
mailing list