简体   繁体   English

如何制作自己的包裹?

[英]How do I make my own package?

I apologize for the broad question, I'll try my best to explain here. 对于这个广泛的问题,我深表歉意,我将尽力在这里进行解释。

I want to make my own package that can be installed with apt-get install and then being able to use its commands once it is installed. 我想制作自己的软件包,可以使用apt-get install ,然后在apt-get install后即可使用其命令。 I just don't know where to look in order to learn how to do this. 我只是不知道要去哪里看才能学习如何做。
What language should I use? 我应该使用哪种语言? Specifically for creating file structures and writing to files with user inputs as well. 专门用于创建文件结构以及使用用户输入写入文件。

Read a lot more about .deb packages, eg deb(5) (for Debian and Ubuntu). 阅读有关.deb软件包的更多信息,例如deb(5) (用于Debian和Ubuntu)。 There is lots of documentation about it (eg Packaging wiki) 关于它有很多文档(例如Packaging Wiki)

Study existing packages for inspiration. 研究现有的软件包以获取灵感。

Other distributions have different package managers , eg rpm , etc.... 其他发行版具有不同的软件包管理器 ,例如rpm等。

(the evil is in the details, and they vary from one distribution to the next; in some cases, a .deb for Debian is not nicely working on Ubuntu; quite often it does) (邪恶之处在于细节,它们在不同的发行版之间有所不同;在某些情况下,Debian的.deb在Ubuntu上不能很好地工作;通常它可以做到)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用.sh文件创建自己创建的shell - How do i make my own created shell work with .sh files 如何通过Yum软件包管理器安装我的应用程序? - How do I make my application installable via Yum package manager? 如何动态加载自己的库,并在其中调用方法? - How do I load my own library dynamically, and invoke a method in it? 如何使用MonoDevelop打包我的linux应用程序? - How do I package my linux application using MonoDevelop? 如何将我自己的软件添加到 Buildroot Linux 软件包中? - How to add my own software to a Buildroot Linux package? 如何获得实时值以在BASH中专门制作我自己的脚本,如附件所示 - How can i get the realtime values to make my own script in BASH specially as shown the attachment 如何确保程序只能访问它自己的文件夹和子文件夹? - How do I make sure a program only has access to it's own folder and subfolders? 如何使用我自己的程序打开文件并让它调用另一个程序? - How do I open a file with my own program and have it invoke another program? 如何将基于 angular-seed 的项目推送到我自己的 git 存储库? - How do I push an angular-seed based project to my own git repo? 我如何才能让我的C ++程序自行“按下键”? - How do i get my c++ program to “press keys” on its own?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM