X Tutup
The Wayback Machine - https://web.archive.org/web/20220607124856/https://github.com/PowerShell/PowerShell/issues/12626
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support Ubuntu 20.04 #12626

Open
7 of 10 tasks
kilasuit opened this issue May 11, 2020 · 29 comments
Open
7 of 10 tasks

Please support Ubuntu 20.04 #12626

kilasuit opened this issue May 11, 2020 · 29 comments
Labels
Distribution-Request Resolution-Fixed
Milestone

Comments

@kilasuit
Copy link
Contributor

@kilasuit kilasuit commented May 11, 2020

Details of the Distribution

  • Name of the Distribution: Ubuntu
  • Version of the Distribution: 20.04
  • Processor Architecture (One per request):
  • Required - An issues has been filed to create a Docker image in https://github.com/powershell/powershell-docker
  • The following is a requirement for supporting a distribution without exception.
  • The following are requirements for supporting a distribution.
    Please write a justification for any exception where these criteria are not met and
    the PowerShell comittee will review the request.
    • The version of the Distribution is supported for at least one year.
    • The version of the Distribution is not an interim release or equivalent.

Progress - For PowerShell Team ONLY

  • Docker image created
  • Docker image published
  • Distribution tested
  • Update packages.microsoft.com deployment
  • Lifecycle updated
  • Documentation Updated

Further adding to this Ubuntu 20.04 is an LTS so releasing a supported version of this would be a good long term investment for the community

I would love to see a 7.0 release for it (LTS with another LTS) but expect a retro release would not be feasible so if this could fit in for a 7.1 release that would be great

@kilasuit kilasuit added the Distribution-Request label May 11, 2020
@kilasuit
Copy link
Contributor Author

@kilasuit kilasuit commented May 11, 2020

The corresponding Docker request is PowerShell/PowerShell-Docker#404 - thanks to @TravisEz13

& doing so would properly fix this issue - MicrosoftDocs/PowerShell-Docs#5906

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented May 11, 2020

This one is pretty obvious. I won't send this to the committee. Let's consider this approved. We need a tar.gz based container to do the testing.

@SteveL-MSFT SteveL-MSFT added this to the 7.1-Consider milestone May 11, 2020
@bergmeister
Copy link
Contributor

@bergmeister bergmeister commented May 13, 2020

With the new .Net Core 3.1.4 (and 2.1.18) runtime release yesterday, .Net has added support for Ubuntu 20.04: https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.4/3.1.4.md#net-core-lifecycle-news

@superbonaci

This comment has been minimized.

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented May 13, 2020

@superbonaci Please use https://github.com/powerShell/powershell-snap to discuss issues with the snap package. Specifically, PowerShell/PowerShell-Snap#65

GitHub
Contribute to PowerShell/PowerShell-Snap development by creating an account on GitHub.

@tmknight
Copy link

@tmknight tmknight commented May 15, 2020

Interestingly, the 16.04 package for 7.0.1 successfully installs on 20.04

@xdaDaveShaw
Copy link

@xdaDaveShaw xdaDaveShaw commented May 15, 2020

I've just done dotnet tool install -g powershell on my 20.04 WSL and it has installed 7.0.1

Updated to add:

My dotnet --info gives:

.NET Core SDK (reflecting any global.json):
 Version:   3.1.202
 Commit:    6ea70c8dca

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  20.04
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.202/

Host (useful for support):
  Version: 3.1.4
  Commit:  0090613580

.NET Core SDKs installed:
  3.1.202 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

@superbonaci
Copy link

@superbonaci superbonaci commented May 15, 2020

I've just done dotnet tool install -g powershell on my 20.04 WSL and it has installed 7.0.1

But is that equivalent to sudo snap install powershell --classic or what is the difference?

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented May 15, 2020

@superbonaci

But is that equivalent to sudo snap install powershell --classic or what is the difference?

dotnet tool install uses the dotnet sdk install to get the dotnet native dependencies, meaning you are actually running on the host os binaries.

In snap, you are running in a containerized environment, the base layer is current 18.04, the PowerShell snap bring PowerShell and dotnet that work against the 18.04 layer, with access to your host OS.

@bergmeister
Copy link
Contributor

@bergmeister bergmeister commented May 15, 2020

@superbonaci Kind of in the sense that it gets the job done from a user's perspective.
Depending on the use case this might be just a workaround though because you need to think about updating that version in the future. The dotnet tool has an update command but not yet a command to update all installed tools. For a local dev environment, it's probably OK as a workaround but I wouldn't use this way for distributing it across machines due to the maintenance overhead. Ideally you only want to use 1-2 package managers and avoid using too many different package managers.

@kilasuit
Copy link
Contributor Author

@kilasuit kilasuit commented May 16, 2020

@superbonaci no we can't - until there is a binary that can be installed on 20.04

@kilasuit
Copy link
Contributor Author

@kilasuit kilasuit commented May 16, 2020

you can however go and update the docs page sayin that it can work via snap, though I can't get this working with Ubuntu 20.04 on WSL via Snap

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented May 16, 2020

Perhaps we should update the distribution request template to say that snap support is off topic and those issues should be discussed in the PowerShell/PowerShell-snap repo.

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented May 16, 2020

I made the change.
https://github.com/PowerShell/PowerShell/blob/master/.github/ISSUE_TEMPLATE/Distribution_Request.md

GitHub
PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

@mattduguid

This comment has been minimized.

@superbonaci

This comment has been minimized.

@dongle-the-gadget

This comment has been minimized.

@superbonaci
Copy link

@superbonaci superbonaci commented Jun 5, 2020

Stop marking comments as off-topic.

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Jun 5, 2020

Stop marking comments as off-topic.

@superbonaci Please make comments about snap in the snap repo. This issue is not about the snap or dotnet tool which are distribution agnostic (in theory). The snap is a topic not even covered in this repo, definitely off topic.

@dmarinere
Copy link

@dmarinere dmarinere commented Jun 18, 2020

Please support Us

@johlandabee
Copy link

@johlandabee johlandabee commented Jun 18, 2020

If you can't use the snap package because of missing dependencies for PS remoting: The container image works just fine.

@dmarinere
Copy link

@dmarinere dmarinere commented Jun 18, 2020

I have installed it with Dotnet dependency, but now I am having trouble logging in, I get an error of this client.Subscription cannot be found

@jwhipp
Copy link

@jwhipp jwhipp commented Jun 25, 2020

dotnet tool install -g powershell

This also worked for me on WSL 2 Ubuntu 20.04, and while that's great, I'd rather have the OS wide install. Seems that, just getting the package dependencies sorted for 20.04 is all that is needed since the binary works fine.

@PowerShell PowerShell locked as off-topic and limited conversation to collaborators Jun 30, 2020
@PowerShell PowerShell unlocked this conversation Jun 30, 2020
@davehamer
Copy link

@davehamer davehamer commented Jul 1, 2020

Just upvoting this... can't believe that 20.04 has been out for two months and isn't supported still? This is the LTS build... this will become standard very soon for anyone installing Ubuntu. Please consider expediting!

@petersen65
Copy link

@petersen65 petersen65 commented Jul 2, 2020

Please support Ubuntu 20.04. Thanks.

@onesteveo
Copy link

@onesteveo onesteveo commented Jul 2, 2020

bump

@PowerShell PowerShell locked as off-topic and limited conversation to collaborators Jul 2, 2020
@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Jul 2, 2020

This is approved and in progress.
This is supported at this point.
Distribution and documentation are pending.
Locking conversation so we can focus on the work.

@adityapatwardhan adityapatwardhan added BackPort-7.0.x-Consider BackPort-7.0.x-Approved and removed BackPort-7.0.x-Consider labels Aug 20, 2020
@SteveL-MSFT SteveL-MSFT added the Resolution-Fixed label Nov 11, 2020
@TravisEz13 TravisEz13 reopened this Nov 12, 2020
@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Nov 12, 2020

This is not fixed. @SteveL-MSFT Please make sure all the work is done before closing

@TravisEz13 TravisEz13 removed the Resolution-Fixed label Nov 12, 2020
@anmenaga
Copy link
Contributor

@anmenaga anmenaga commented Nov 12, 2020

Just in case, duplicating instructions link from the main page here:
Installation instructions for Ubuntu 20.04

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Distribution-Request Resolution-Fixed
Projects
None yet
Development

No branches or pull requests

X Tutup