deb

Ubuntu PPA for Android SDK/NDK?

北慕城南 提交于 2019-12-06 17:36:23
问题 Has anyone bothered to create a PPA for the Android SDK and/or NDK packages? I saw a few things that hinted at this in my Googling, but nothing that jumped out as a preferred solution. I'd guess that licensing issues might require it to operate like the flash-installer (or more comparably, the google-earth) package, but it would be very useful. The SDK install OOB lacks many of the features that proper package management could bring in (dependencies, multi-user permissions/capability, etc.)

deb ubuntu debian

痴心易碎 提交于 2019-12-06 09:24:53
Linux系统中,软件通常以源代码或者预编译包的形式提供。 软件源代码需要您亲自编译为二进制的机器代码才能够使用,安装比较耗时,不过您可以自行调节编译选项,决定您需要的功能或组件,或者针对您的硬件平台作出优化。 预编译的软件包,通常是由软件的发布者进行编译,您只要将软件拷贝到系统中就可以了。考虑到预编译软件包的适用性,预编译软件包通常不会针对某种硬件平台优化。它所包含的功能和组件也是通用的组合。 Ubuntu系统中,软件通常以“deb”格式的包文件发布,它是一种预编译软件包。deb包中除了包含已编译的软件,通常还包括软件的拷贝路径、对其它软件包的依赖关系纪录、一个比较通用的配置文件以及软件的描述、版本、作者、类别、占用空间等信息。 deb软件包命令遵行如下约定: soft_ver-rev_arch.deb soft为软件包名称,ver为软件版本号,rev为Ubuntu修订版本号,arch为目标架构名称 例如:azureus_2.4.0.2-0ubuntu2_all.deb 您需要使用“dpkg”命令来管理deb软件包: dpkg -i | --install xxx.deb 安装deb软件包 dpkg -r | --remove xxx.deb 删除软件包 dpkg -r -P | --purge xxx.deb 连同配置文件一起删除 dpkg -I | -info xxx.deb

Ubuntu系统中的deb文件包详介

不羁岁月 提交于 2019-12-06 09:24:39
Linux系统中,软件通常以源代码或者预编译包的形式提供。 软件源代码需要您亲自编译为二进制的机器代码才能够使用,安装比较耗时,不过您可以 自行调节编译选项,决定您需要的功能或组件,或者针对您的硬件平台作出优化。 预编译的软件包,通常是由软件的发布者进行编译,您只要将软件拷贝到系统中就可以了。考虑到预编译软件包的适用性,预编译软件包通常不会针对某种硬件平台优化。它所包含的功能和组件也是通用的组合。 Ubuntu系统中,软件通常以“deb”格式的包文件发布,它是一种预编译软件包。deb包中除了包含已编译的软件,通常还包括软件的拷贝路径、对其它软件包的依赖关系纪录、一个比较通用的配置文件以及软件的描述、版本、作者、类 别、占用空间等信息。 deb软件包命令遵行如下约定: soft_ver-rev_arch.deb soft为软件包名称,ver为软件版本号,rev为Ubuntu修订版本 号,arch为目标架构名称 例如:azureus_2.4.0.2-0ubuntu2_all.deb 您需要使用“dpkg”命令来管理deb软件包: dpkg -i | --install xxx.deb 安装deb软件包 dpkg -r | --remove xxx.deb 删除软件包 dpkg -r -P | --purge xxx.deb 连同配置文件一起删除 dpkg -I | -info xxx

How to add PyPi dependencies to DEB package

微笑、不失礼 提交于 2019-12-06 01:39:34
问题 I created some python app using autobahn and packaged it using baazar builddeb . In python setup.py file I added requires tag with all the required dependencies. Is it possible to tell debian package installer to install these packages? I added some of deps to debian/control>Depends but: dpkg -i my_package does not install dependencies. Just shows the error and I need to install these deps manually. some packages does not exists in standard Ubuntu repos. For example autobahn. And in general I

create .deb package by python setup.py

天涯浪子 提交于 2019-12-06 01:36:03
i want create .deb package for my python program. i create setup.py and it works well, but when I want to create a debian package using setup.py and stdeb I get an error. the commands I use to create .deb: first: python3.4 setup.py sdist then: python3.4 setup.py --command-packages=stdeb.command bdist_deb but get error dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) Traceback (most recent call last): File "setup.py", line 19, in <module> install_requires=['setproctitle', 'psycopg2', 'psutil'] File "/usr/lib

How to install dependencies while creating a .deb installer?

痞子三分冷 提交于 2019-12-05 22:39:35
I have created a deb package say abc.deb . Now there are few dependencies like python-dev, python-mysql etc., which are needed to be installed as a part of deb installation itself. (i.e. when user runs dpkg -i abc.deb , the dependencies should also get installed automatically). I am using a control file which contains few parameters like preinst, postinst etc. I tried to add Depends to the control file, but I guess, Depends only stops package installation if dependencies mentioned are not present. How could I install the dependencies as a part of deb package installation itself? I am looking

apt preferences pin: origin local?

心不动则不痛 提交于 2019-12-05 08:18:27
I have dropped fglrx from my notebook and return to the free drivers but xfce4-power-manager fails to start. it was a known bug I got apt-get source, apply the patch, build and install it. now all works perfect, I have reported this bug to debian. but now I want to hold this package to prevent upgrades for some time I know that clumsy way is to bump the package build version part. for example 1.0.10- 5 and then hold package by a version: Package: xfce4-power-manager Pin: version 1.0.10-5 Pin-priority: 1001 I think the best way is to hold packages by the origin: Package: xfce4-power-manager Pin

CPack tries to build all targets

风流意气都作罢 提交于 2019-12-05 07:06:22
I have a CMake project composed of one root CMakeLists and multiple sub- CMakeLists (one for each project). I am trying to use CPack to generate a .deb file for one of these projects (APP_client). Yet, when I try to run CPack , it first runs a 'preinstall' and try to build all targets. I want to build only the required targets and their dependencies. Here is what I added to one of my CMakeLists : if(UNIX) INSTALL( TARGETS ${PROJECT_NAME} COMPONENT ${PROJECT_NAME} DESTINATION ${PROJECT_INSTALL_PATH} ) SET(CPACK_PACKAGE_DIRECTORY ${CMAKE_BINARY_DIR}/../deb) SET(CPACK_GENERATOR "DEB") SET(CPACK

CPack DEB generator: control-file-has-bad-permissions mdsums 0644 != 0644

孤者浪人 提交于 2019-12-05 04:26:13
I am developing small console application and I was trying to create Ubuntu package using CPack. Ubuntu version is 13.04 and my main CPack file is below. Package is created correctly, but while trying to install it using graphic interface (basically double click on deb file in Ubuntu) following warning appears: Package is of bad quality control-file-has-bad-permissions mdsums 0644 != 0644 Does anybody know what is the reason of that? And more importantly, how to fix it? CMake version is 2.8.10.1 but I have also tried to use 2.8.11.2 and nothing has changed. I have seen, that they had similar

Ubuntu PPA for Android SDK/NDK?

早过忘川 提交于 2019-12-04 23:11:29
Has anyone bothered to create a PPA for the Android SDK and/or NDK packages? I saw a few things that hinted at this in my Googling, but nothing that jumped out as a preferred solution. I'd guess that licensing issues might require it to operate like the flash-installer (or more comparably, the google-earth) package, but it would be very useful. The SDK install OOB lacks many of the features that proper package management could bring in (dependencies, multi-user permissions/capability, etc.) anjosc Have you tried Upubuntu's guide ? try this , I'm a newbie , working on this. I'm packaging these