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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: some questions on installing Ada on Linux Date: Fri, 04 Jul 2014 19:22:49 +0200 Organization: A noiseless patient Spider Message-ID: <87wqbtox7a.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="66c43c3977f7279d9c83961adcbdb356"; logging-data="21789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5ezByR5kqFrVxwSxsH0kt" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:nhe8xXRNW7mMa8BuM0/JGrDNlFY= sha1:LTKHhut1c+wJ5lQ81Ue4GgcGp2o= Xref: number.nntp.dca.giganews.com comp.lang.ada:187362 Date: 2014-07-04T19:22:49+02:00 List-Id: "Nasser M. Abbasi" writes: > some basic questions. Goggling these is giving me hard so > I thought I ask here. > > What is the correct way to install Ada on Linux these days? > I am on Linux mint 17. > > 1) Should one install GNAT on Linux by downloading tar files from > http://libre.adacore.com (GPL 2014 edition) or use > > sudo apt-get install gnat-4.8 gnat-4.8 is an experimental version of the compiler that will not be maintained and has been removed from Debian. Your use of a derivative cuts you off from both the stable branch of Debian, which uses gnat-4.6 and provides many precompiled libraries for it, and from the unstable and testing branches, which are in the process of switching to gnat-4.9. Therefore, if you don't want to use Debian, you should use GNAT GPL Edtition. The downside is that you will have to recompile any and all libraries that you use in your programs (only the compiler and GPS are precompiled). > 2) Will the sudo installation install all the stuff listed at > libre.adacore.com? including GPS editor and all the other packages? On Debian, yes. On Mint and other derivatives, probably not if they carry only gnat-4.8. > 3) Which is more recent, gnat-4.8 or GPL 2014 edition? See http://people.debian.org/~lbrenta/debian-ada-policy.html for full details; in particular the section 2.3.4 "FSF Releases". > 4) When I go to http://libre.adacore.com/download/configurations > is there a way to tell it to check everything for download, > without one having to spend 1 hr clicking on the check-box > for each item? I do not see "select all" > > It is really confusing having Ada/GNAT in 2 different places. Why not > have one place to install Ada from so it is less confusing to users? The confusion will disappear if you read the introduction to Debian Policy for Ada :) -- Ludovic Brenta.