Tobias J
Tobias J

Reputation: 22813

Install/Update .NET Core 1.0 on Ubuntu, which package version?

Now that .NET Core 1.0 is released, I'd like to try it out on Ubuntu, but the official install docs still reference Preview 2:

sudo apt-get install dotnet-dev-1.0.0-preview2-003121

Tab completion on the dotnet package name returns 215 results, with "major" versions appearing to be "beta", "preview1", "preview2", "preview3", and "rc2", each of which has numerous build numbers available.

This Roadmap implies that "RC2" is the latest (which makes sense based on the usual definition of those terms) but it also has dozens of builds available, most but not all of which are numerically sortable.

So do I just install the latest build (dotnet-dev-1.0.0-rc2-002678 as I write this) or is there some tracking meta-package available? Are the official docs really that far out of date? Or is preview2-003121 somehow a "blessed" version on Ubuntu 14.04?

Upvotes: 2

Views: 2175

Answers (1)

svick
svick

Reputation: 244757

You should follow the guide you linked to at https://www.microsoft.com/net/core by installing dotnet-dev-1.0.0-preview2-003121. That guide should be always up to date.

The confusion is caused by the fact that .Net Core itself is at a version 1.0, but the tools to create, build and publish .Net Core applications and libraries (contained in the .Net Core SDK) are still in preview (specifically Preview 2). From the .Net Core 1.0 announcement:

There are two main distributions for .NET Core:

  • .NET Core – Includes the .NET Core runtime and framework. The current version is “.NET Core 1.0”
  • .NET Core SDK – Includes .NET Core and the .NET Core Tools. The current version is “.NET Core SDK 1.0 Preview 2”.

The .NET Core Tools are considered “Preview” currently. We chose “Preview” because we are not yet done shaping the tools. We know that there are still some changes coming.

The ASP.NET roadmap you linked to also says that "1.0.0 (Tools Preview 2)" is the latest version (it's in the Schedule table, though it's not mentioned in the Milestone Themes section).

Upvotes: 3

Related Questions