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”
Is there an Impartial Brexit Deal comparison site?
What will be the benefits of Brexit?
Why are all the doors on Ferenginar (the Ferengi home world) far shorter than the average Ferengi?
Greatest common substring
How to color a zone in Tikz
How to check participants in at events?
Java - What do constructor type arguments mean when placed *before* the type?
Is it okay / does it make sense for another player to join a running game of Munchkin?
Partial sums of primes
Is there a problem with hiding "forgot password" until it's needed?
Lightning Web Component - do I need to track changes for every single input field in a form
Organic chemistry Iodoform Reaction
What was required to accept "troll"?
Calculating the number of days between 2 dates in Excel
Installing PowerShell on 32-bit Kali OS fails
The One-Electron Universe postulate is true - what simple change can I make to change the whole universe?
A known event to a history junkie
What does the "3am" section means in manpages?
"lassen" in meaning "sich fassen"
For airliners, what prevents wing strikes on landing in bad weather?
Golf game boilerplate
What is the opposite of 'gravitas'?
Books on the History of math research at European universities
How do ultrasonic sensors differentiate between transmitted and received signals?
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”
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
|
show 2 more comments
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
2
what doesapt-cache search powershell
show you?
– Tim Kennedy
9 hours ago
2
browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m
)
– Jeff Schaller
9 hours ago
1
@JeffSchaller I'm i686.
– WeAreOne
8 hours ago
1
@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.
– kemotep
8 hours ago
1
@kemotep See also, github.com/PowerShell/PowerShell/issues/4707 and github.com/PowerShell/PowerShell/issues/7659 -- looks like it depends on .NET Core too
– Bob
1 hour ago
|
show 2 more comments
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
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
software-installation kali-linux 32bit powershell
edited 6 hours ago
G-Man
13.6k93769
13.6k93769
asked 9 hours ago
WeAreOneWeAreOne
452
452
2
what doesapt-cache search powershell
show you?
– Tim Kennedy
9 hours ago
2
browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m
)
– Jeff Schaller
9 hours ago
1
@JeffSchaller I'm i686.
– WeAreOne
8 hours ago
1
@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.
– kemotep
8 hours ago
1
@kemotep See also, github.com/PowerShell/PowerShell/issues/4707 and github.com/PowerShell/PowerShell/issues/7659 -- looks like it depends on .NET Core too
– Bob
1 hour ago
|
show 2 more comments
2
what doesapt-cache search powershell
show you?
– Tim Kennedy
9 hours ago
2
browsing that repo, I see "powershell" listed; do you have an amd64 system? (uname -m
)
– Jeff Schaller
9 hours ago
1
@JeffSchaller I'm i686.
– WeAreOne
8 hours ago
1
@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.
– kemotep
8 hours ago
1
@kemotep See also, github.com/PowerShell/PowerShell/issues/4707 and github.com/PowerShell/PowerShell/issues/7659 -- looks like it depends on .NET Core too
– Bob
1 hour ago
2
2
what does
apt-cache search powershell
show you?– Tim Kennedy
9 hours ago
what does
apt-cache search powershell
show you?– Tim Kennedy
9 hours ago
2
2
browsing that repo, I see "powershell" listed; do you have an amd64 system? (
uname -m
)– Jeff Schaller
9 hours ago
browsing that repo, I see "powershell" listed; do you have an amd64 system? (
uname -m
)– Jeff Schaller
9 hours ago
1
1
@JeffSchaller I'm i686.
– WeAreOne
8 hours ago
@JeffSchaller I'm i686.
– WeAreOne
8 hours ago
1
1
@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.
– kemotep
8 hours ago
@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.
– kemotep
8 hours ago
1
1
@kemotep See also, github.com/PowerShell/PowerShell/issues/4707 and github.com/PowerShell/PowerShell/issues/7659 -- looks like it depends on .NET Core too
– Bob
1 hour ago
@kemotep See also, github.com/PowerShell/PowerShell/issues/4707 and github.com/PowerShell/PowerShell/issues/7659 -- looks like it depends on .NET Core too
– Bob
1 hour ago
|
show 2 more comments
1 Answer
1
active
oldest
votes
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.
As user Bob points out in his comment, Powershell for Linux depends on .Net Core.
If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question. This may not actually work as Powershell maybe has hard requirements for 64-bit instructions and optimizations.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
As user Bob points out in his comment, Powershell for Linux depends on .Net Core.
If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question. This may not actually work as Powershell maybe has hard requirements for 64-bit instructions and optimizations.
add a comment |
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.
As user Bob points out in his comment, Powershell for Linux depends on .Net Core.
If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question. This may not actually work as Powershell maybe has hard requirements for 64-bit instructions and optimizations.
add a comment |
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.
As user Bob points out in his comment, Powershell for Linux depends on .Net Core.
If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question. This may not actually work as Powershell maybe has hard requirements for 64-bit instructions and optimizations.
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.
As user Bob points out in his comment, Powershell for Linux depends on .Net Core.
If you are familiar with building from source, you could potentially build a 32-bit package, but that is a different kind of question. This may not actually work as Powershell maybe has hard requirements for 64-bit instructions and optimizations.
edited 1 hour ago
answered 7 hours ago
kemotepkemotep
2,5593822
2,5593822
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
2
what does
apt-cache search powershell
show you?– Tim Kennedy
9 hours ago
2
browsing that repo, I see "powershell" listed; do you have an amd64 system? (
uname -m
)– Jeff Schaller
9 hours ago
1
@JeffSchaller I'm i686.
– WeAreOne
8 hours ago
1
@WeAreOne, it does not seem that Microsoft supports powershell for 32-bit architecture on Linux.
– kemotep
8 hours ago
1
@kemotep See also, github.com/PowerShell/PowerShell/issues/4707 and github.com/PowerShell/PowerShell/issues/7659 -- looks like it depends on .NET Core too
– Bob
1 hour ago