From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,dd4f7e7332b1185f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r37g2000yqd.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Uninstalling prev version of gnat Date: Thu, 4 Jun 2009 01:50:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5781369b-e077-44bc-8112-27ba484a5c2e@r37g2000yqd.googlegroups.com> References: <9yLVl.319326$4m1.4718@bgtnsc05-news.ops.worldnet.att.net> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1244105414 21479 127.0.0.1 (4 Jun 2009 08:50:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Jun 2009 08:50:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r37g2000yqd.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6215 Date: 2009-06-04T01:50:14-07:00 List-Id: 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: =A0 rm /usr/bin/gnat* > > 4.3.3 rts files do find / -name ada.ads > =A0 =A0 =A0 =A0 =A0then rm -r //gnat/gcc/i686-pc-linux-= gnu/4.3.3 > > But the best way is to delete all GNAT files and then reinstall the one y= ou > 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?