On Wed, May 7, 2008 at 1:38 PM, Weber, Lawrence A &lt;<a href="mailto:laweber@switch.com">laweber@switch.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I like getting rid of the old versions so there is no chance for a new<br>
version to grab a header/library/etc from an old version. &nbsp;Also disk<br>
space is an issue.<br>
</blockquote></div><br>I think what the maintainers of the distribution expect you to do is upgrade.<br><br>A distribution contains a set of applications that are designed to work with each other.&nbsp; As bugs are found in those specific versions, bug fixes are released and distributed via the update manager.&nbsp; However, the major version of the application doesn&#39;t change unless you upgrade your distribution.<br>
<br>The maintainers of the distributions have to cut off support for old versions at some point.&nbsp; It sounds like yours are past that point.&nbsp; You can upgrade individual applications to suit yourself, but there is no officially sanctioned, supported way to do this.&nbsp; (As far as I know.)<br>
<br>All that said, if you still are just trying to get rid of /bin/gcc, and its an RPM based system, you could do:<br>rpm -qif /usr/bin/gcc<br><br>This will tell you what rpm is providing that file.&nbsp; You can then remove the RPM (and the file and its associations) using yum or rpm.&nbsp; I would say its better to leave the newer application in /usr/local/bin rather than moving it to replace the distributed version.<br>