Issues with Installing Powershell to Kali Machine2019 Community Moderator ElectionHaving issues installing Kali Linux in VirtualboxRun Kali without installing on machineIssues installing linux headers on Kali 3.18How to install custom source from git using my package manager in Gentoo?yum install http - is this safe?Install steamcmd on Debian 9 StretchHow to install a specific version of GCC in Kali Linux?Unable to install correct Linux headersHow to install lib32stdc++6 on kali linux?“Package 'libicu57' has no installation candidate”

Would it be legal for a US State to ban exports of a natural resource?

How to be able to process a large JSON response?

Superhero words!

Blender - show edges angles “direction”

How to open new tab in existing terminal instead of new terminal instance?

Can I use my Chinese passport to enter China after I acquired another citizenship?

Bob has never been a M before

Could solar power be utilized and substitute coal in the 19th century?

Is it possible to build a CPA Secure encryption scheme which remains secure even when the encryption of secret key is given?

My boss asked me to take a one-day class, then signs it up as a day off

General topology proving something for all of its points

Fast sudoku solver

How will losing mobility of one hand affect my career as a programmer?

Can a Bard use an arcane focus?

Female=gender counterpart?

Left multiplication is homeomorphism of topological groups

What would you call a finite collection of unordered objects that are not necessarily distinct?

word describing multiple paths to the same abstract outcome

What does the "3am" section means in manpages?

Calculating the number of days between 2 dates in Excel

Simulating a probability of 1 of 2^N with less than N random bits

How to interpret the phrase "t’en a fait voir à toi"?

Meta programming: Declare a new struct on the fly

node command while defining a coordinate in TikZ



Issues with Installing Powershell to Kali Machine



2019 Community Moderator ElectionHaving issues installing Kali Linux in VirtualboxRun Kali without installing on machineIssues installing linux headers on Kali 3.18How to install custom source from git using my package manager in Gentoo?yum install http - is this safe?Install steamcmd on Debian 9 StretchHow to install a specific version of GCC in Kali Linux?Unable to install correct Linux headersHow to install lib32stdc++6 on kali linux?“Package 'libicu57' has no installation candidate”










2















I am having some issues installing powershell to my kali linux machine. I am following this guide:



https://www.kali.org/tutorials/installing-powershell-on-kali-linux/



apt update && apt -y install curl gnupg apt-transport-https


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 https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, we proceed to add the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and update the list of available packages.



echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list
apt update


Everything works properly, my update, microsoft sources are in my source.list and everything should be good to go.



When I execute:



apt -y install powershell


I get:



root@kali:/opt# apt -y install powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package powershell


I can't figure out why and there's not many docs or articles leading to why.



Please help!










share|improve this question

















  • 1





    what does apt-cache search powershell show you?

    – Tim Kennedy
    2 hours ago






  • 1





    browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m)

    – Jeff Schaller
    2 hours ago











  • @TimKennedy Here is my output: root@kali:~# apt-cache search powershell crackmapexec - Swiss army knife for pentesting networks nishang - Collection of PowerShell scripts and payloads powersploit - PowerShell Post-Exploitation Framework python-dcos - Datacenter Operating System (DCOS) CLI - Python 2.7 python3-dcos - DCOS Common Modules - Python 3.x python3-winrm - Python 3 library for Windows Remote Management unicorn-magic - Tool for a PowerShell downgrade attack and inject shellcode

    – WeAreOne
    1 hour ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    1 hour ago











  • @WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.

    – kemotep
    1 hour ago















2















I am having some issues installing powershell to my kali linux machine. I am following this guide:



https://www.kali.org/tutorials/installing-powershell-on-kali-linux/



apt update && apt -y install curl gnupg apt-transport-https


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 https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, we proceed to add the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and update the list of available packages.



echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list
apt update


Everything works properly, my update, microsoft sources are in my source.list and everything should be good to go.



When I execute:



apt -y install powershell


I get:



root@kali:/opt# apt -y install powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package powershell


I can't figure out why and there's not many docs or articles leading to why.



Please help!










share|improve this question

















  • 1





    what does apt-cache search powershell show you?

    – Tim Kennedy
    2 hours ago






  • 1





    browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m)

    – Jeff Schaller
    2 hours ago











  • @TimKennedy Here is my output: root@kali:~# apt-cache search powershell crackmapexec - Swiss army knife for pentesting networks nishang - Collection of PowerShell scripts and payloads powersploit - PowerShell Post-Exploitation Framework python-dcos - Datacenter Operating System (DCOS) CLI - Python 2.7 python3-dcos - DCOS Common Modules - Python 3.x python3-winrm - Python 3 library for Windows Remote Management unicorn-magic - Tool for a PowerShell downgrade attack and inject shellcode

    – WeAreOne
    1 hour ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    1 hour ago











  • @WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.

    – kemotep
    1 hour ago













2












2








2








I am having some issues installing powershell to my kali linux machine. I am following this guide:



https://www.kali.org/tutorials/installing-powershell-on-kali-linux/



apt update && apt -y install curl gnupg apt-transport-https


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 https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, we proceed to add the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and update the list of available packages.



echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list
apt update


Everything works properly, my update, microsoft sources are in my source.list and everything should be good to go.



When I execute:



apt -y install powershell


I get:



root@kali:/opt# apt -y install powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package powershell


I can't figure out why and there's not many docs or articles leading to why.



Please help!










share|improve this question














I am having some issues installing powershell to my kali linux machine. I am following this guide:



https://www.kali.org/tutorials/installing-powershell-on-kali-linux/



apt update && apt -y install curl gnupg apt-transport-https


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 https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, we proceed to add the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and update the list of available packages.



echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list
apt update


Everything works properly, my update, microsoft sources are in my source.list and everything should be good to go.



When I execute:



apt -y install powershell


I get:



root@kali:/opt# apt -y install powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package powershell


I can't figure out why and there's not many docs or articles leading to why.



Please help!







software-installation kali-linux powershell






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









WeAreOneWeAreOne

302




302







  • 1





    what does apt-cache search powershell show you?

    – Tim Kennedy
    2 hours ago






  • 1





    browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m)

    – Jeff Schaller
    2 hours ago











  • @TimKennedy Here is my output: root@kali:~# apt-cache search powershell crackmapexec - Swiss army knife for pentesting networks nishang - Collection of PowerShell scripts and payloads powersploit - PowerShell Post-Exploitation Framework python-dcos - Datacenter Operating System (DCOS) CLI - Python 2.7 python3-dcos - DCOS Common Modules - Python 3.x python3-winrm - Python 3 library for Windows Remote Management unicorn-magic - Tool for a PowerShell downgrade attack and inject shellcode

    – WeAreOne
    1 hour ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    1 hour ago











  • @WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.

    – kemotep
    1 hour ago












  • 1





    what does apt-cache search powershell show you?

    – Tim Kennedy
    2 hours ago






  • 1





    browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m)

    – Jeff Schaller
    2 hours ago











  • @TimKennedy Here is my output: root@kali:~# apt-cache search powershell crackmapexec - Swiss army knife for pentesting networks nishang - Collection of PowerShell scripts and payloads powersploit - PowerShell Post-Exploitation Framework python-dcos - Datacenter Operating System (DCOS) CLI - Python 2.7 python3-dcos - DCOS Common Modules - Python 3.x python3-winrm - Python 3 library for Windows Remote Management unicorn-magic - Tool for a PowerShell downgrade attack and inject shellcode

    – WeAreOne
    1 hour ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    1 hour ago











  • @WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.

    – kemotep
    1 hour ago







1




1





what does apt-cache search powershell show you?

– Tim Kennedy
2 hours ago





what does apt-cache search powershell show you?

– Tim Kennedy
2 hours ago




1




1





browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m)

– Jeff Schaller
2 hours ago





browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m)

– Jeff Schaller
2 hours ago













@TimKennedy Here is my output: root@kali:~# apt-cache search powershell crackmapexec - Swiss army knife for pentesting networks nishang - Collection of PowerShell scripts and payloads powersploit - PowerShell Post-Exploitation Framework python-dcos - Datacenter Operating System (DCOS) CLI - Python 2.7 python3-dcos - DCOS Common Modules - Python 3.x python3-winrm - Python 3 library for Windows Remote Management unicorn-magic - Tool for a PowerShell downgrade attack and inject shellcode

– WeAreOne
1 hour ago






@TimKennedy Here is my output: root@kali:~# apt-cache search powershell crackmapexec - Swiss army knife for pentesting networks nishang - Collection of PowerShell scripts and payloads powersploit - PowerShell Post-Exploitation Framework python-dcos - Datacenter Operating System (DCOS) CLI - Python 2.7 python3-dcos - DCOS Common Modules - Python 3.x python3-winrm - Python 3 library for Windows Remote Management unicorn-magic - Tool for a PowerShell downgrade attack and inject shellcode

– WeAreOne
1 hour ago





1




1





@JeffSchaller I'm i686.

– WeAreOne
1 hour ago





@JeffSchaller I'm i686.

– WeAreOne
1 hour ago













@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.

– kemotep
1 hour ago





@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.

– kemotep
1 hour ago










1 Answer
1






active

oldest

votes


















4














You have successfully added the repository for Powershell to your sources.list.



However, you report to be using a 32-bit architecture system. Your output of apt-cache confirms that your Repositories do not contain the Powershell package.



Taking a look at the Powershell GitHub, it appears that Microsoft does not provide a Linux package for Powershell for 32-bit Linux systems. All of the source and binary packages available for Linux here are for 64-bit systems. If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question and may not actually work if 64-bit Powershell has hard dependencies on specific 64-bit instructions.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508581%2fissues-with-installing-powershell-to-kali-machine%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    You have successfully added the repository for Powershell to your sources.list.



    However, you report to be using a 32-bit architecture system. Your output of apt-cache confirms that your Repositories do not contain the Powershell package.



    Taking a look at the Powershell GitHub, it appears that Microsoft does not provide a Linux package for Powershell for 32-bit Linux systems. All of the source and binary packages available for Linux here are for 64-bit systems. If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question and may not actually work if 64-bit Powershell has hard dependencies on specific 64-bit instructions.






    share|improve this answer



























      4














      You have successfully added the repository for Powershell to your sources.list.



      However, you report to be using a 32-bit architecture system. Your output of apt-cache confirms that your Repositories do not contain the Powershell package.



      Taking a look at the Powershell GitHub, it appears that Microsoft does not provide a Linux package for Powershell for 32-bit Linux systems. All of the source and binary packages available for Linux here are for 64-bit systems. If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question and may not actually work if 64-bit Powershell has hard dependencies on specific 64-bit instructions.






      share|improve this answer

























        4












        4








        4







        You have successfully added the repository for Powershell to your sources.list.



        However, you report to be using a 32-bit architecture system. Your output of apt-cache confirms that your Repositories do not contain the Powershell package.



        Taking a look at the Powershell GitHub, it appears that Microsoft does not provide a Linux package for Powershell for 32-bit Linux systems. All of the source and binary packages available for Linux here are for 64-bit systems. If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question and may not actually work if 64-bit Powershell has hard dependencies on specific 64-bit instructions.






        share|improve this answer













        You have successfully added the repository for Powershell to your sources.list.



        However, you report to be using a 32-bit architecture system. Your output of apt-cache confirms that your Repositories do not contain the Powershell package.



        Taking a look at the Powershell GitHub, it appears that Microsoft does not provide a Linux package for Powershell for 32-bit Linux systems. All of the source and binary packages available for Linux here are for 64-bit systems. If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question and may not actually work if 64-bit Powershell has hard dependencies on specific 64-bit instructions.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 46 mins ago









        kemotepkemotep

        2,5093822




        2,5093822



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid …


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508581%2fissues-with-installing-powershell-to-kali-machine%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Which organization defines CJK Unified Ideographs? The Next CEO of Stack OverflowCharacters which have several different shapesHow useful are the kanji in reading Chinese?Can Chinese readers scan large amounts of text faster/more accurately than their alphabet-using counterparts?丼: why is “well” also “bowl of food”?What Does Unicode 8.0 Mean For Chinese?How are blanks indicated for placeholders in Chinese (like ???)Is there a dictionary of standard character variants?How to display CJK Extension F?How is it decided as to which character is used on the tech terminology?How does 子 come to mean 'midnight'?

            Shenzhen Football Club Índice Elenco atual | Títulos | Referências Ligações externas | Menu de navegaçãoGooglenotíciaslivrosacadêmicoeditar«"Elenco"»Site oficialexpandindo-oeee

            When We Were Young (canção de Adele) Índice Antecedentes e lançamento | Faixas e formatos | Performances e covers | Desempenho nas tabelas musicais | Créditos | Histórico de lançamento | Referências Menu de navegação«Best albums of 2015»«Adele - When We Were Young (Radio Date: 22-01-2016)»«When We Were Young - Single by Adele»«Adele: Inside Her Private Life and Triumphant Return»«adele interview: world exclusive first interview in three years»«Tobias Jesso Jr: since Adele tweeted his song, he's even bigger than his dad»«Adele interviews Tobias Jesso Jr: 'I think that a couple of the ideas we had could be rap songs'»«Adele on Her Return: 'I Was So Frightened That No One Cared'»«Tobias Jesso Jr. on working with Adele: 'I was as nervous as shit'»«How Ariel Rechtshaid Pushed Adele To Her Limit»«Adele Previews 'When We Were Young' on '60 Minutes' Teaser, Tops Trending 140»«Adele Performs New '25' Ballad, "When We Were Young" Live: Watch»«Which '25' Song Should Be Adele's Next Single?»«Adele's 'When We Were Young' Confirmed As Second Single From '25'»«Adele's new single artwork for 'When We Were Young' is perfectly adorable»«Adele at the BBC review: honest, funny and spectacular – Celebrity News News»«'Saturday Night Live': Adele Sings 'Hello' and 'When We Were Young'»«'Adele: Live in New York City' NBC Special – Set List Revealed!»«Adele Closes Out the 2016 Brit Awards With 'When We Were Young'»«What Is The Adele Live Tour Set List? There's No Way She'd Leave Out These 8 Songs»«See Demi Lovato's Soaring Cover of Adele's 'When We Were Young'»«'The Voice': 5 Best Moments From Week 1 Blind Auditions»«Adele – When We Were Young (Media Control Charts)»«Adele – When We Were Young (Entertainment Monitoring Africa)»«Adele – When We Were Young (ARIA Charts)»«Adele – When We Were Young (Ö3 Austria Top 40)»«Adele – When We Were Young (Ultratop 50)»«Adele – When We Were Young (Ultratop 40)»«Adele – When We Were Young (Canadian Hot 100)»«Adele – When We Were Young (Tracklisten)»«Adele – When We Were Young (The Official Charts Company)»«Adele – Hello (IFPI Slovenská Republika)»«Adele – When We Were Young (Productores de Música de España)»«Adele – When We Were Young (Billboard Hot 100)»«Adele – When We Were Young (Pop Songs)»«Adele – When We Were Young (Adult Pop Songs)»«Adele – When We Were Young (Hot Adult Contemporary Charts)»«Adele – When We Were Young (Hot Dance Club Songs)»«Adele – When We Were Young (Rock Airplay)»«Adele – When We Were Young (IFPI Finlândia)»«Adele – When We Were Young (Syndicat National de l'Éditon Phonographique)»«Adele – When We Were Young (Magyar Hanglemezkiadók Szövetsége)»«Adele – When We Were Young (Irish Recorded Music Association)»«Adele – When We Were Young (Mexico Airplay)»«Adele – When We Were Young (VG-lista)»«Adele – When We Were Young (NZ Top 40 Singles)»«Adele – When We Were Young (MegaCharts)»«Adele – When We Were Young (Związek Producentów Audio Video)»«Adele – When We Were Young (Portugal Digital Songs)»«Adele – When We Were Young (UK Indie Singles Chart)»«Adele – When We Were Young (UK Singles Chart)»«Adele – When We Were Young (Sverigetopplistan)»«Adele – When We Were Young (Schweizer Hitparade)»«Adele – When We Were Young (Portugal Digital Songs)»«Music Canada – Gold/Platinum – When We Were Young»«NZ Top 40 Singles Chart»«Certified Awards»e