On 12 October 2012 21:14, Narendra Diwate <span dir="ltr"><<a href="mailto:narendra.diwate@gmail.com" target="_blank">narendra.diwate@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><font>A linux question in general. </font><font><br clear="all"></font></div><div><font><br></font></div><div><font>I have Debian (LMDE tracking Testing) as main OS. I was looking at the packages and find cpp and gcc versions 4.6 and 4.7 installed. Additionally its various associate packages like "base" and "gcj" are also in multiple versions. </font></div>



<div><font><br></font></div><div><font>I find something similar in Crunchbang that is also tracking Debian Testing.<br></font></div><div><font><br></font></div><div><font>On both, I do not have any non standard sources, nor do i have installed any non standard packages, except Opera Browser on LMDE.<br>



</font></div><div><font><br></font></div><div><font>Why/How did I end up with 2 versions of the same package?</font></div><div><font>Is this common with other users as well? Is it possible to safely remove one of them?</font></div>

</blockquote><div><br>Different application packages might require different versions<br>of gcc, and installing these packages would have pulled these<br>in as dependencies without your explicitly installing them.<br><br>

Yes, this is also true of my system, and I would strongly suggest<br>not removing these, as some application(s) in your system needs<br>this, and the only down-side is some extra disk space.<br><br>You should only remove them if you do not need any of the<br>

packages that depend on it. N.B.: Be careful in following the<br>instructions below. For example try:<br>  sudo aptitude remove --purge gcc-4.4<br>This will list the applications that will be removed as a result<br>of removing this version of gcc. If you really do not need these<br>

packages, you can go ahead with the removal. Again, I would<br>strongly suggest that you do not do this.<br><br>Regards,<br>Gora<br></div></div>