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: 21
Joined: 2018-04-10 07:16

Re: Check .deb file

Postby Bulkley » 2018-04-11 18:06

Where did you get it?
Bulkley
 
Posts: 5505
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: Notepadqq 1.2.0, Pale Moon 27.8.3, KeePassXC 2.3.1, Calligra 3.1, VLC 3.0.1, Firefox 59.0.2, Shotwell 28.2
User avatar
stevepusser
 
Posts: 9435
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: 21
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.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7405
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable