deb

license info of a deb package

拥有回忆 提交于 2019-11-29 13:47:06
I am trying to get license information of uninstalled deb packages. dpkg --info <package-name>.deb does not give that information. Is there any command in ubuntu which will give this info? (In rpm world rpm -qpi gives that info) There's no simple command that I know of. You can do something like this: dpkg-deb --fsys-tarfile foo.deb |tar -xvO ./usr/share/doc/foo/copyright This prints the file to standard output. Edit Hmm, that sounds hard. After a quick perusal of the apt cache on my Debian system, I found some phrases that might be useful: "GNU General Public License" "the above copyright

How to build debian package with CPack to execute setup.py?

元气小坏坏 提交于 2019-11-28 21:05:37
问题 Until now, my project had only .cpp files that were compiled into different binaries and I managed to configure CPack to build a proper debian package without any problems. Recently I wrote a couple of python applications and added them to the project, as well as some custom modules that I would also like to incorporate to the package. After writing a setup.py script, I'm wondering how to add these files to the CPack configuration in a way that setup.py get's executed automatically when the

license info of a deb package

大憨熊 提交于 2019-11-28 07:20:53
问题 I am trying to get license information of uninstalled deb packages. dpkg --info <package-name>.deb does not give that information. Is there any command in ubuntu which will give this info? (In rpm world rpm -qpi gives that info) 回答1: There's no simple command that I know of. You can do something like this: dpkg-deb --fsys-tarfile foo.deb |tar -xvO ./usr/share/doc/foo/copyright This prints the file to standard output. Edit Hmm, that sounds hard. After a quick perusal of the apt cache on my

Install sbt on ubuntu [closed]

£可爱£侵袭症+ 提交于 2019-11-27 11:00:55
I have installed sbt on Ubuntu. :~/bin/sbt/bin$ ls classes sbt sbt-launch.jar target jansi.jar sbt.bat sbt-launch-lib.bash win-sbt However, whenever I try to launch sbt (from the same directory where sbt is located) it does not work: No command 'sbt' found, did you mean: Command 'skt' from package 'latex-sanskrit' (universe) Command 'sb2' from package 'scratchbox2' (universe) Command 'sbd' from package 'cluster-glue' (main) Command 'mbt' from package 'mbt' (universe) Command 'sbmt' from package 'atfs' (universe) Command 'lbt' from package 'lbt' (universe) Command 'st' from package 'suckless

Does an universal cross-platform installer exists?

两盒软妹~` 提交于 2019-11-26 23:12:57
I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any popular operating system? We have .pkg and .dmg files for mac, .msi and plain .exe installers for windows, .deb packages for linux (in case of debian), but we haven't universal for each platform (like .uoi (Universal Open Installer), lol). One might think that this approach is impossible because every OS has it's own structure and files organization,

Install sbt on ubuntu [closed]

久未见 提交于 2019-11-26 15:23:46
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have installed sbt on Ubuntu. :~/bin/sbt/bin$ ls classes sbt sbt-launch.jar target jansi.jar sbt.bat sbt-launch-lib.bash win-sbt However, whenever I try to launch sbt (from the same directory where sbt is located) it does not work: No command 'sbt' found, did you mean: Command 'skt' from package 'latex