[Mono-dev] Install .deb package on Linux using mono

Brandon Perry bperry.volatile at gmail.com
Thu Feb 22 20:02:34 UTC 2018



> On Feb 22, 2018, at 9:40 AM, nikhil sehgal <nikhil.jiet at gmail.com> wrote:
> 
> thanks for reply ...but i want to do it programatically through C# and mono framework

dpkg is a utility that consumes libdpkg. You could easily integrate directly with libdpkg with P/Invoke, but I don’t believe the dpkg API is considered particularly stable. YMMV

> 
> On Thu, Feb 22, 2018 at 8:08 PM, Joseph Shields <directhex at apebox.org <mailto:directhex at apebox.org>> wrote:
> One at a time, just shell out to `dpkg -i` (although you’ll need to account for needing root to do that). But that doesn’t really deal with dependency resolution - you can try shelling out to gdebi (which will install dependencies from repositories for command-line specified packages), or binding the resolver engine in aptitude
> 
> > On Feb 22, 2018, at 8:07 AM, nikhil sehgal <nikhil.jiet at gmail.com <mailto:nikhil.jiet at gmail.com>> wrote:
> >
> > Hi All,
> >
> > How can i install .deb package programtically on Linux using mono framework.
> >
> > Regards
> > Nikhil
> 
> 
> 
> 
> --
> Thanks & Regards
> NIkhil Sehgal
> Mobile No 9711855929
> Email Id nikhil.jiet at gmail.com <mailto:nikhil.jiet at gmail.com>
> Skype ID sehgal.nikhil
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.dot.net <mailto:Mono-devel-list at lists.dot.net>
> http://lists.dot.net/mailman/listinfo/mono-devel-list <http://lists.dot.net/mailman/listinfo/mono-devel-list>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20180222/0a06eb0d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20180222/0a06eb0d/attachment-0002.sig>


More information about the Mono-devel-list mailing list