![]() ![]() ![]() With the GPG key added, we proceed to add the Microsoft package repository to its own package list file under /etc/apt// and update the list of available packages: echo "deb stretch main" > /etc/apt//powershell.listįinally, we proceed to install the powershell package: apt -y install powershell Next, we need to download and add the public repository GPG key so APT will trust the packages and alert you to any issues with package signatures: curl | apt-key add. We begin by installing the necessary dependencies, most of which should already be installed in your Kali installation by default: apt update & apt -y install curl gnupg apt-transport-https The repository is for Debian but its packages install perfectly well on Kali, as we will show in this post. ![]() You may already be aware that you can safely add external repositories to your Kali Linux installation but you may not be aware that one of the many repositories available online includes one from Microsoft that includes PowerShell. Just do a: apt update & apt -y install powershellĪnd you will have powershell on your system. This post is out of date as of 2019 as powershell has been added to the primary repos. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |