Linux: How to install certain old version of a software via apt-get
<p>I am trying to install the same versions of Apache, MySQL and PHP in my Linux PC (Raspberry Debian) as installed in my remote public server.</p>
<p>For instance, I'd like to install the last legacy release of the 2.2 branch, Apache/2.2.31.</p>
<pre><code>apt-cache showpkg apache2
</code></pre>
<p>Output:</p>
<pre><code>Package: apache2
Versions: 
2.4.10-10+deb8u4 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages)
</code></pre>
<p>But there isn't any information about the 2.2.31 version, neither in &quot;Reverse Provides&quot; section. I can do it by compiling from the sources, but it takes a lot of time. And I tried to find a reliable <a href="https://en.wikipedia.org/wiki/Ubuntu#Package_Archives" rel="nofollow noreferrer">PPA</a> or a reliable sources for deb packages, without any success.</p>
<p>How can I do it?</p>