Microsoft has just launched PowerShell Core as a snap package allowing for the easier installation of the software on many Linux distributions that support snaps. PowerShell Core is designed for admins who need to manage assets in a hybrid cloud and therefore Microsoft decided to make it as widely available as possible across Windows, Linux and macOS.
Discussing the news, Joey Aiello, Program Manager, PowerShell, said:
“Snaps are great because they provide a single package format that works across many Linux distributions, much like how PowerShell acts as a single automation platform across operating systems. We hope our users enjoy the simplified installation and update experience of Snaps as much as we do.”
As Aiello alluded to, snaps are great because they’re packages with their own dependencies making installation easy, they can be installed without root access because of their containerized nature, and they update automatically meaning you get the latest software right away, enhancing the system's security and stability further
Installing PowerShell Core on Ubuntu or other Linux systems that support snaps is a doddle. Just head over to the Snapcraft.io page and hit install. You'll get instructions to install the stable build of the software and bleeding edge versions where new features are being tested.