Check .deb file

If none of the more specific forums is the right place to ask

Check .deb file

Postby Chrisdb » 2018-04-11 17:39

Hi guys,

Can anyone tell me if there is a way to check if a .deb file was compiled for Debian and not for another distro like for example Ubuntu?

Thx
Chrisdb
 
Posts: 23
Joined: 2018-04-10 07:16

Re: Check .deb file

Postby Bulkley » 2018-04-11 18:06

Where did you get it?
Bulkley
 
Posts: 5579
Joined: 2006-02-11 18:35

Re: Check .deb file

Postby stevepusser » 2018-04-11 18:08

Not necessarily, if the packager did not specifically mention it in the versioning. For example, to be efficient, I have all my palemoon builds for Debian and Ubuntu generate from one set of source packages, so that all the packages end up with the same name, regardless of what platform they were built upon.

https://build.opensuse.org/package/show ... r/palemoon

But generally, if you use gdebi or apt to install your deb file, you're going to be protected from installing an incompatible package.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.4, Pale Moon 27.9.4, wine-staging 3.12, MPC-QT 18.03, Linux kernel 4.17.6, Krita 4.1.1
User avatar
stevepusser
 
Posts: 9719
Joined: 2009-10-06 05:53

Re: Check .deb file

Postby Chrisdb » 2018-04-12 06:08

Example:
https://code.visualstudio.com/download

It says Debian/Ubuntu, but for all we know it could be compiled for only Ubuntu...
Chrisdb
 
Posts: 23
Joined: 2018-04-10 07:16

Re: Check .deb file

Postby Head_on_a_Stick » 2018-04-12 07:47

Chrisdb wrote:for all we know it could be compiled for only Ubuntu...

As long as gdebi will install it then incompatible library versions may prevent it from working but it won't b0rk your system.

EDIT: anyway they have a tar.gz source code download option so use that instead if you're that worried.
Charlie don't hack
User avatar
Head_on_a_Stick
 
Posts: 7649
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable