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?
根据此链接,以下内容应该起作用:
apt-get install --only-upgrade powershell
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.