{"id":12835,"date":"2017-02-01T09:00:40","date_gmt":"2017-02-01T17:00:40","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/?p=12835"},"modified":"2019-03-05T13:22:15","modified_gmt":"2019-03-05T21:22:15","slug":"installing-latest-powershell-core-6-0-release-on-linux-just-got-easier","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/installing-latest-powershell-core-6-0-release-on-linux-just-got-easier\/","title":{"rendered":"Installing latest PowerShell Core 6.0 Release on Linux just got easier!"},"content":{"rendered":"<div class=\"markdown-body\">As we continue our journey from Alpha releases and eventually to Beta, you can continue to download the latest releases from our <a href=\"https:\/\/github.com\/PowerShell\/PowerShell\/releases\">GitHub repository<\/a>.\nHowever, our goal has always been to enable installation through popular existing Linux package management tools like <a href=\"https:\/\/help.ubuntu.com\/community\/AptGet\/Howto\">apt-get<\/a> and <a href=\"https:\/\/www.centos.org\/docs\/5\/html\/yum\/\">yum<\/a>.I am pleased to announce that we have now published PowerShell Core 6.0 alpha.15 to <a href=\"https:\/\/packages.microsoft.com\">https:\/\/packages.microsoft.com<\/a>!<\/p>\n<h2>Install PowerShell Core on Ubuntu 14.04<\/h2>\n<div class=\"highlight highlight-source-shell\">\n<pre class=\"lang:default decode:true \"># Import the public repository GPG keys\r\ncurl https:\/\/packages.microsoft.com\/keys\/microsoft.asc | sudo apt-key add -\r\n\r\n# Register the Microsoft Ubuntu repository\r\ncurl https:\/\/packages.microsoft.com\/config\/ubuntu\/14.04\/prod.list | sudo tee \/etc\/apt\/sources.list.d\/microsoft.list\r\n\r\n# Update apt-get\r\nsudo apt-get update\r\n\r\n# Install PowerShell\r\nsudo apt-get install -y powershell\r\n\r\n# Start PowerShell\r\npowershell<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<h2>Install PowerShell Core on Ubuntu 16.04<\/h2>\n<div class=\"highlight highlight-source-shell\">\n<pre class=\"lang:default decode:true \"># Import the public repository GPG keys\r\ncurl https:\/\/packages.microsoft.com\/keys\/microsoft.asc | sudo apt-key add -\r\n\r\n# Register the Microsoft Ubuntu repository\r\ncurl https:\/\/packages.microsoft.com\/config\/ubuntu\/16.04\/prod.list | sudo tee \/etc\/apt\/sources.list.d\/microsoft.list\r\n\r\n# Update apt-get\r\nsudo apt-get update\r\n\r\n# Install PowerShell\r\nsudo apt-get install -y powershell\r\n\r\n# Start PowerShell\r\npowershell<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<h2>Install PowerShell Core on CentOS<\/h2>\n<div class=\"highlight highlight-source-shell\">\n<pre class=\"lang:default decode:true \"># Enter superuser mode\r\nsudo su \r\n\r\n# Register the Microsoft RedHat repository\r\ncurl https:\/\/packages.microsoft.com\/config\/rhel\/7\/prod.repo &gt; \/etc\/yum.repos.d\/microsoft.repo\r\n\r\n# Exit superuser mode\r\nexit\r\n\r\n# Install PowerShell\r\nsudo yum install -y powershell\r\n\r\n# Start PowerShell\r\npowershell<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<p>After registering the Microsoft repository once as superuser, from then on, you just need to use either <code>sudo apt-get install powershell<\/code> or <code>sudo yum update powershell<\/code> (depending on which distro you are using) to update it.<\/p>\n<p>We plan to simultaneously publish to <a href=\"https:\/\/packages.microsoft.com\">https:\/\/packages.microsoft.com<\/a> and our GitHub repository for each new release.<\/p>\n<p>Steve Lee\nPrincipal Software Engineer Manager\nPowerShell Core<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As we continue our journey from Alpha releases and eventually to Beta, you can continue to download the latest releases from our GitHub repository. However, our goal has always been to enable installation through popular existing Linux package management tools like apt-get and yum.I am pleased to announce that we have now published PowerShell Core [&hellip;]<\/p>\n","protected":false},"author":685,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"acf":[],"blog_post_summary":"<p>As we continue our journey from Alpha releases and eventually to Beta, you can continue to download the latest releases from our GitHub repository. However, our goal has always been to enable installation through popular existing Linux package management tools like apt-get and yum.I am pleased to announce that we have now published PowerShell Core [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/12835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/685"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=12835"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/12835\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=12835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=12835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=12835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}