0
我想從cpan安裝Apache :: Registry。而這位紳士需要apache2的源代碼,它無法找到。所以,它詢問我的下落。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源碼的默認位置在哪裏?
謝謝!
'apt-get source apache2'獲取您當前安裝的Apache軟件包的準確來源,所有的Debian(或Ubuntu等)補丁。對於複雜的封裝,這可能與上游來源有很大不同。 – tripleee