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”
QGIS Geometry Generator Line Type
A social experiment. What is the worst that can happen?
Is there an wasy way to program in Tikz something like the one in the image?
In Star Trek IV, why did the Bounty go back to a time when whales were already rare?
How do ultrasonic sensors differentiate between transmitted and received signals?
What would you call a finite collection of unordered objects that are not necessarily distinct?
I2C signal and power over long range (10meter cable)
Is it possible to have a strip of cold climate in the middle of a planet?
Is there a smaller tautogram checker?
Superhero words!
Simple image editor tool to draw a simple box/rectangle in an existing image
Fast sudoku solver
node command while defining a coordinate in TikZ
How can I successfully establish a nationwide combat training program for a large country?
Why isn't KTEX's runway designation 10/28 instead of 9/27?
Left multiplication is homeomorphism of topological groups
The most efficient algorithm to find all possible integer pairs which sum to a given integer
How to deal with or prevent idle in the test team?
How to prevent YouTube from showing already watched videos?
Greatest common substring
Can I use my Chinese passport to enter China after I acquired another citizenship?
I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?
For airliners, what prevents wing strikes on landing in bad weather?
Should my PhD thesis be submitted under my legal name?
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”
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
|
show 1 more comment
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
1
what doesapt-cache search powershellshow 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
|
show 1 more comment
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
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
software-installation kali-linux powershell
asked 2 hours ago
WeAreOneWeAreOne
302
302
1
what doesapt-cache search powershellshow 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
|
show 1 more comment
1
what doesapt-cache search powershellshow 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
|
show 1 more comment
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. 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.
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%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
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.
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. 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.
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. 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.
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.
answered 51 mins ago
kemotepkemotep
2,5093822
2,5093822
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2fissues-with-installing-powershell-to-kali-machine%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
1
what does
apt-cache search powershellshow 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