PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, May 14, 2022

[FIXED] How do you update Powershell Core to latest version on Ubuntu 18.04

 May 14, 2022     powershell, powershell-core, ubuntu, ubuntu-18.04     No comments   

Issue

I have an Ubuntu 18.04 VM with Powershell Core 6.1.2 installed and I want to update it to the latest PowerShell Core version.

How do I do that?

Do I follow the install instructions at https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-6#ubuntu-1804 and install the latest version on top of the old version?

Do I remove the old version first and then install the new version? How do you do that?

Is there a tool in Powershell Core to perform the update?


Solution

Based on this link following should work:

apt-get install --only-upgrade powershell


Answered By - Moerwald
Answer Checked By - Clifford M. (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing