gpt4 book ai didi

linux - apache2源安装在哪里

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:42:54 24 4
gpt4 key购买 nike

我正在尝试从 cpan 安装 Apache::Registry。这位先生需要它找不到的 apache2 的源代码。所以,它在问我它的下落。

Enter `q' to stop search
Please tell me where I can find your apache src
[../apache_x.x/src]

所以,我安装了 apache2 源。

$ sudo apt-get install apache2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
apache2-dev
0 upgraded, 1 newly installed, 0 to remove and 267 not upgraded.
Need to get 0 B/172 kB of archives.
After this operation, 975 kB of additional disk space will be used.
Selecting previously unselected package apache2-dev.
(Reading database ... 175619 files and directories currently installed.)
Preparing to unpack .../apache2-dev_2.4.18-2ubuntu3.1_amd64.deb ...
Unpacking apache2-dev (2.4.18-2ubuntu3.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up apache2-dev (2.4.18-2ubuntu3.1) ...

现在,我重新启动了 Apache::Registry 的安装,但它仍然找不到 apache2 源。哦,好吧,不用说了,我必须自己寻找它。我搜索了该源预计无济于事的所有目录。那么,从 apache2-dev 软件包安装后,apache 源的默认位置应该在哪里?

谢谢!

最佳答案

apache2-dev 包只包含开发(头)文件,而不是源代码本身(参见 http://packages.ubuntu.com/trusty/httpd/apache2-dev )。

对于源代码,您应该检查 git/svn 存储库或访问 https://httpd.apache.org/download.cgi并在那里下载源代码。
没有一个 soure 文件夹,而是在服务器本身 (server) 和模块、特定于操作系统的文件等之间分开。

关于linux - apache2源安装在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40748295/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com