Installing PowerShell on 32-bit Kali OS fails2019 Community Moderator ElectionKali 1.0 - can't use apt-get or install notepadqqPackage “packagename” has no installation candidate in Kali 2.0`powershell -version` doesn't work on LinuxHow to fix install shutter in kali linux?yum install http - is this safe?Installing python idle in Kali Linux 2017.2Can Kali installed from Kali 64-bit iso run on 32-bit platform?How to fix this? (Kali Linux 32-bit in Virtualbox)dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.27.7_all.deb (--unpack)“Package 'libicu57' has no installation candidate”

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

I2C signal and power over long range (10meter cable)

Are Warlocks Arcane or Divine?

What is the opposite of 'gravitas'?

Is a naturally all "male" species possible?

What should I use for Mishna study?

Can I rely on these GitHub repository files?

How did Monica know how to operate Carol's "designer"?

Meta programming: Declare a new struct on the fly

Have I saved too much for retirement so far?

word describing multiple paths to the same abstract outcome

Can a Gentile theist be saved?

The One-Electron Universe postulate is true - what simple change can I make to change the whole universe?

Why does this part of the Space Shuttle launch pad seem to be floating in air?

What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?

How to prevent YouTube from showing already watched videos?

A known event to a history junkie

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

Stereotypical names

How to check participants in at events?

Teaching indefinite integrals that require special-casing

Modern Day Chaucer

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

Should my PhD thesis be submitted under my legal name?



Installing PowerShell on 32-bit Kali OS fails



2019 Community Moderator ElectionKali 1.0 - can't use apt-get or install notepadqqPackage “packagename” has no installation candidate in Kali 2.0`powershell -version` doesn't work on LinuxHow to fix install shutter in kali linux?yum install http - is this safe?Installing python idle in Kali Linux 2017.2Can Kali installed from Kali 64-bit iso run on 32-bit platform?How to fix this? (Kali Linux 32-bit in Virtualbox)dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.27.7_all.deb (--unpack)“Package 'libicu57' has no installation candidate”










4















I am having some issues installing PowerShell on my 32-bit Kali Linux PC. 
I followed this guide and started with:



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


Next, I downloaded and added the public repository GPG key so APT will trust the packages and alert the user to any issues with package signatures.



curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, I added the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and updated 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


No errors so far indicated in the update process, 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









share|improve this question



















  • 2





    what does apt-cache search powershell show you?

    – Tim Kennedy
    4 hours ago






  • 2





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

    – Jeff Schaller
    4 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
    3 hours ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    3 hours ago






  • 1





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

    – kemotep
    3 hours ago















4















I am having some issues installing PowerShell on my 32-bit Kali Linux PC. 
I followed this guide and started with:



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


Next, I downloaded and added the public repository GPG key so APT will trust the packages and alert the user to any issues with package signatures.



curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, I added the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and updated 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


No errors so far indicated in the update process, 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









share|improve this question



















  • 2





    what does apt-cache search powershell show you?

    – Tim Kennedy
    4 hours ago






  • 2





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

    – Jeff Schaller
    4 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
    3 hours ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    3 hours ago






  • 1





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

    – kemotep
    3 hours ago













4












4








4








I am having some issues installing PowerShell on my 32-bit Kali Linux PC. 
I followed this guide and started with:



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


Next, I downloaded and added the public repository GPG key so APT will trust the packages and alert the user to any issues with package signatures.



curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, I added the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and updated 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


No errors so far indicated in the update process, 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









share|improve this question
















I am having some issues installing PowerShell on my 32-bit Kali Linux PC. 
I followed this guide and started with:



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


Next, I downloaded and added the public repository GPG key so APT will trust the packages and alert the user to any issues with package signatures.



curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -


With the GPG key added, I added the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and updated 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


No errors so far indicated in the update process, 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






software-installation kali-linux 32bit powershell






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









G-Man

13.6k93768




13.6k93768










asked 5 hours ago









WeAreOneWeAreOne

402




402







  • 2





    what does apt-cache search powershell show you?

    – Tim Kennedy
    4 hours ago






  • 2





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

    – Jeff Schaller
    4 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
    3 hours ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    3 hours ago






  • 1





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

    – kemotep
    3 hours ago












  • 2





    what does apt-cache search powershell show you?

    – Tim Kennedy
    4 hours ago






  • 2





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

    – Jeff Schaller
    4 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
    3 hours ago







  • 1





    @JeffSchaller I'm i686.

    – WeAreOne
    3 hours ago






  • 1





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

    – kemotep
    3 hours ago







2




2





what does apt-cache search powershell show you?

– Tim Kennedy
4 hours ago





what does apt-cache search powershell show you?

– Tim Kennedy
4 hours ago




2




2





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

– Jeff Schaller
4 hours ago





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

– Jeff Schaller
4 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
3 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
3 hours ago





1




1





@JeffSchaller I'm i686.

– WeAreOne
3 hours ago





@JeffSchaller I'm i686.

– WeAreOne
3 hours ago




1




1





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

– kemotep
3 hours ago





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

– kemotep
3 hours ago










1 Answer
1






active

oldest

votes


















7














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%2finstalling-powershell-on-32-bit-kali-os-fails%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









    7














    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



























      7














      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

























        7












        7








        7







        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 3 hours ago









        kemotepkemotep

        2,5393822




        2,5393822



























            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%2finstalling-powershell-on-32-bit-kali-os-fails%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

            Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2