什么是你好程序?

ADT*_*DTC 0 apt debian installed-programs 14.04

我在hello很久以后登录的服务器上打字,作为幽默的问候。我懂了:

ubuntu@server:~$ hello
The program 'hello' can be found in the following packages:
 * hello
 * hello-debhelper
Try: sudo apt-get install <selected package>
Run Code Online (Sandbox Code Playgroud)

那么什么是hellohello-debhelper程序?它们是做什么用的?

这对谷歌来说似乎是不可能的,顺便说一句。

Tho*_*mas 9

一种可能的解决方案如下:

apt-cache show hello
apt-cache show hello-debhelper
Run Code Online (Sandbox Code Playgroud)


kar*_*rel 7

为了测试 Ubuntu 中的 Software 应用程序是否正常工作,您可以安装一个名为hello的小应用程序并从终端尝试一下。

来自默认 Ubuntu 存储库输出的 hello 程序 Hello, world!

~$ hello
Hello, world!  
Run Code Online (Sandbox Code Playgroud)

hello-debhelper是一个如何制作 Debian 软件包的例子。hello-debhelper 与 hello 包相同,只是它使用 debhelper 来制作 deb。debhelper是一组程序,可在 debian/rules 文件中使用,以自动执行与构建 Debian 软件包相关的常见任务(Ubuntu 使用与 Debian 相同的打包系统)。