プロメモグラム

誰が見てもわかるような文章を目指す

パッケージ apache2-threaded-dev が見つかりません [ubuntu 14.04]

環境

結論だけ最初に書く

以下のようにコマンドを打つとうまくいった。

sudo apt-get install apache2-dev

流れ

Rails4.2をapache2で動かそうとしていた。そのために、モジュールであるpassengerをインストールしようとしていた。

passengerのインストールをgemで行ったあと、インストールコマンドをうった

$ gem install passenger
$ passenger-install-apache2-module  

すると以下のように必要なパッケージを提示された。

Checking for required software...

 * Checking for C compiler...
      Found: yes
      Location: /usr/bin/cc
 * Checking for C++ compiler...
      Found: yes
      Location: /usr/bin/c++
 * Checking for Curl development headers with SSL support...
      Found: yes
      curl-config location: /usr/bin/curl-config
      Header location: /usr/include/curl/curl.h
      Version: libcurl 7.47.0
      Usable: yes
      Supports SSL: yes
 * Checking for Zlib development headers...
      Found: yes
      Location: /usr/include/zlib.h
 * Checking for Apache 2...
      Found: yes
      Location of httpd: /usr/sbin/apache2
      Apache version: 2.4.18
 * Checking for Apache 2 development headers...
      Found: no
 * Checking for Rake (associated with /home/kouki/.rbenv/versions/2.3.1/bin/ruby)...
      Found: yes
      Location: /home/kouki/.rbenv/versions/2.3.1/bin/ruby /home/kouki/.rbenv/versions/2.3.1/bin/rake
 * Checking for OpenSSL support for Ruby...
      Found: yes
 * Checking for RubyGems...
      Found: yes
 * Checking for Ruby development headers...
      Found: yes
      Location: /home/kouki/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby.h
 * Checking for rack...
      Found: yes
 * Checking for Apache Portable Runtime (APR) development headers...
      Found: no
 * Checking for Apache Portable Runtime Utility (APU) development headers...
      Found: no

Some required software is not installed.
But don't worry, this installer will tell you how to install them.
Press Enter to continue, or Ctrl-C to abort.

--------------------------------------------

Installation instructions for required software

 * To install Apache 2 development headers:
   Please install it with apt-get install apache2-threaded-dev

 * To install Apache Portable Runtime (APR) development headers:
   Please install it with apt-get install libapr1-dev

 * To install Apache Portable Runtime Utility (APU) development headers:
   Please install it with apt-get install libaprutil1-dev

If the aforementioned instructions didn't solve your problem, then please take
a look at our documentation for troubleshooting tips:

これに書かれているようにapache2-threaded-devをインストールしようとしたところ、タイトルのようなエラーが出力された。

パッケージ apache2-threaded-dev が見つかりません

以下のようにコマンドを打つとうまくいった。

sudo apt-get install apache2-dev

最初からこう書いてほしかった。