comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Uninstalling prev version of gnat
Date: Thu, 4 Jun 2009 01:50:14 -0700 (PDT)
Date: 2009-06-04T01:50:14-07:00	[thread overview]
Message-ID: <5781369b-e077-44bc-8112-27ba484a5c2e@r37g2000yqd.googlegroups.com> (raw)
In-Reply-To: 9yLVl.319326$4m1.4718@bgtnsc05-news.ops.worldnet.att.net

anon wrote on comp.lang.ada:
> Install only adds the next version to your system. So try this:
>
> Note: Do not delete "/usr/gnat" or any "/usr/gnat" subdirectories because
> this contains the 2009 GNAT files.
>
> All other gnat files can be delete.
>
> 4.3.3 binaries:   rm /usr/bin/gnat*
>
> 4.3.3 rts files do find / -name ada.ads
>          then rm -r /<result from find>/gnat/gcc/i686-pc-linux-gnu/4.3.3
>
> But the best way is to delete all GNAT files and then reinstall the one you
> want. Thios way you do not have any extra files floating around.
>
> Rasika Srinivasan writes:
>>My system is Ubuntu 9.04
>>srini@srini-laptop:~/Projects/Ada/lib$ which gnatmake
>>/usr/bin/gnatmake
[...]
>>Today (without checking above and making some wrong assumptions) I
>>installed the 09 version of gnat as shown here :
>>srini@srini-laptop:~/Projects/Ada/lib$ which gnatmake
>>/usr/gnat/bin/gnatmake
[...]
>>I would like to uninstall my previous version and I had assumed the
>>install of the GPL 2009 will take care of that.
>
>>any case, Is there any gotchas involved in keeping both versions? Is
>>there an easy way to uninstal the previous version?

Please do not listen to "anon", he obviously knows nothing about
Ubuntu.

The correct answers are:
- aptitude remove gnat gnat-4.3
- no, installing GNAT GPL 2009 does not remove anything previously
installed.
- no, there is nothing wrong with having both gnats installed.

PS. As the main (but not only) maintainer of Ada packages in Debian
(which Ubuntu uses), I am curious to know why you decided to switch
from the Debian packages to GNAT GPL 2009?

--
Ludovic Brenta.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



  reply	other threads:[~2009-06-04  8:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04  0:54 Uninstalling prev version of gnat RasikaSrinivasan
2009-06-04  8:25 ` anon
2009-06-04  8:50   ` Ludovic Brenta [this message]
2009-06-04 10:30     ` Srini -
2009-06-04 11:59     ` anon
2009-06-06 16:45     ` björn lundin
2009-06-06 21:33       ` Ludovic Brenta
2009-06-07 12:20         ` björn lundin
2009-06-07  0:31     ` Brian Drummond
2009-06-07 10:22       ` Ludovic Brenta
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox