debpack | Super simple Debian packages
kandi X-RAY | debpack Summary
kandi X-RAY | debpack Summary
Super simple Debian packages. Aims to keep Lintian happy and adhere to the Debian Policy Manual where reasonable, without bogging you down with needless ceremony. Only depends on Bash and dpkg tools.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of debpack
debpack Key Features
debpack Examples and Code Snippets
Community Discussions
Trending Discussions on debpack
QUESTION
when I am trying to build .deb
package using command
ANSWER
Answered 2018-Dec-04 at 09:03Having just an executable is not enough to create a package, you should create appropriate file hierarchy.
create a root directory, lets name it hello-pack.
mkdir hello-pack
create a control file, the path would be for the file is hello-pack/DEBIAN/control.
mkdir hello-pack/DEBIAN
touch hello-pack/DEBIAN/control
Content of the file can be the following:
Package: helloworld
Version: 1.0
Maintainer: Your-Name
Architecture: all
Description: hello world
copy your executable to wherever you want it to be located, (I am thinking that you want it to be under usr/bin, if so do the followings, if not create your own directories)
mkdir hello-pack/usr/bin
cp hw hello-pack/usr/bin
Then create package with the command dpkg-deb --build hello-pack
. It will create the package to the same directory where your root directory exist with the same name and with .deb extension. You can use -i
option to install the package.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install debpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page