* [gentoo-user] Is there a PowerShell package?
@ 2016-11-12 22:20 Bertram Scharpf
2016-11-12 23:24 ` Mick
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Bertram Scharpf @ 2016-11-12 22:20 UTC (permalink / raw
To: gentoo-user
Hi,
for a special job I need to do a piece of work in Microsofts
PowerShell, but I have no Windows machine running. I know
that there is a PowerShell for Linux because I have one
installed on a Ubuntu. Yet, I do not want to shut down my
Gentoo and boot Ubuntu every time when I have to try
something in PowerShell. I would like to install it on
Gentoo.
I did not find a PowerShell package in the portage
directories and I did not find anything by Google. Is there
a package at all (maybe somewhere in the overlays) and I did
just miss to enter the right search terms?
Thanks in advance.
Bertram Scharpf
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-12 22:20 [gentoo-user] Is there a PowerShell package? Bertram Scharpf
@ 2016-11-12 23:24 ` Mick
2016-11-13 13:05 ` Neil Bothwick
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2016-11-12 23:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]
On Saturday 12 Nov 2016 23:20:06 Bertram Scharpf wrote:
> Hi,
>
> for a special job I need to do a piece of work in Microsofts
> PowerShell, but I have no Windows machine running. I know
> that there is a PowerShell for Linux because I have one
> installed on a Ubuntu. Yet, I do not want to shut down my
> Gentoo and boot Ubuntu every time when I have to try
> something in PowerShell. I would like to install it on
> Gentoo.
>
> I did not find a PowerShell package in the portage
> directories and I did not find anything by Google. Is there
> a package at all (maybe somewhere in the overlays) and I did
> just miss to enter the right search terms?
>
> Thanks in advance.
>
> Bertram Scharpf
You could running PowerShell in Wine:
https://appdb.winehq.org/objectManager.php?sClass=application&iId=8049
Alternatively, you could install MSWindows in a VM, e.g. using VirtualBox, and
launch this within your Gentoo session without having to logoff/on every time.
Also, if you don't need the complete MSWindows desktop and you have a server
handy, you could run the MSWindows VM there and access the PowerShell
application remotely with RemoteApp.
HTH.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-12 22:20 [gentoo-user] Is there a PowerShell package? Bertram Scharpf
2016-11-12 23:24 ` Mick
@ 2016-11-13 13:05 ` Neil Bothwick
2016-11-14 8:31 ` Bertram Scharpf
2016-11-13 21:21 ` Jeremi Piotrowski
2016-11-14 10:20 ` Jorge Almeida
3 siblings, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2016-11-13 13:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
On Sat, 12 Nov 2016 23:20:06 +0100, Bertram Scharpf wrote:
> I did not find a PowerShell package in the portage
> directories and I did not find anything by Google. Is there
> a package at all (maybe somewhere in the overlays) and I did
> just miss to enter the right search terms?
You can download the source from
https://github.com/PowerShell/PowerShell/releases and compile it yourself.
Alternatively, grab one of the RPM packages and use rpm2tgz to create a
tarball you can unpack in /.
--
Neil Bothwick
And on the seventh day God said :wq and then make
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 163 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-12 22:20 [gentoo-user] Is there a PowerShell package? Bertram Scharpf
2016-11-12 23:24 ` Mick
2016-11-13 13:05 ` Neil Bothwick
@ 2016-11-13 21:21 ` Jeremi Piotrowski
2016-11-14 8:33 ` Bertram Scharpf
2016-11-14 10:20 ` Jorge Almeida
3 siblings, 1 reply; 11+ messages in thread
From: Jeremi Piotrowski @ 2016-11-13 21:21 UTC (permalink / raw
To: gentoo-user
On Sat, Nov 12, 2016 at 11:20:06PM +0100, Bertram Scharpf wrote:
> Hi,
>
> for a special job I need to do a piece of work in Microsofts
> PowerShell, but I have no Windows machine running. I know
> that there is a PowerShell for Linux because I have one
> installed on a Ubuntu. Yet, I do not want to shut down my
> Gentoo and boot Ubuntu every time when I have to try
> something in PowerShell. I would like to install it on
> Gentoo.
This is the perfect use case for running containers on your development
machine. Just set up lxc/lxd/docker on your gentoo machine and start up an
ubuntu container in any of the runtimes. Works flawlessly, and you don't
have to reboot or run a heavyweight VM. Lxc/lxd are more suitable for long
running containers, docker would be great for containers that you spin up
and tear down whenever you need.
Give it a try.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-13 13:05 ` Neil Bothwick
@ 2016-11-14 8:31 ` Bertram Scharpf
2016-11-14 9:21 ` Neil Bothwick
0 siblings, 1 reply; 11+ messages in thread
From: Bertram Scharpf @ 2016-11-14 8:31 UTC (permalink / raw
To: gentoo-user
On Sunday, 13. Nov 2016, 13:05:24 +0000, Neil Bothwick wrote:
> On Sat, 12 Nov 2016 23:20:06 +0100, Bertram Scharpf wrote:
>
> > I did not find a PowerShell package in the portage
> > directories and I did not find anything by Google. Is there
> > a package at all (maybe somewhere in the overlays) and I did
> > just miss to enter the right search terms?
>
> You can download the source from
> https://github.com/PowerShell/PowerShell/releases and compile it yourself.
The build suite is something completely different than the
standard configure-make procedure. It's first step says:
"Gentoo is not supported!" They only support CentOS and
Ubuntu.
> Alternatively, grab one of the RPM packages and use rpm2tgz to create a
> tarball you can unpack in /.
There seem to be dependency problems.
Thanks anyway,
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-13 21:21 ` Jeremi Piotrowski
@ 2016-11-14 8:33 ` Bertram Scharpf
0 siblings, 0 replies; 11+ messages in thread
From: Bertram Scharpf @ 2016-11-14 8:33 UTC (permalink / raw
To: gentoo-user
On Sunday, 13. Nov 2016, 22:21:33 +0100, Jeremi Piotrowski wrote:
> On Sat, Nov 12, 2016 at 11:20:06PM +0100, Bertram Scharpf wrote:
> > for a special job I need to do a piece of work in Microsofts
> > PowerShell, but I have no Windows machine running. I know
> > that there is a PowerShell for Linux because I have one
> > installed on a Ubuntu. Yet, I do not want to shut down my
> > Gentoo and boot Ubuntu every time when I have to try
> > something in PowerShell. I would like to install it on
> > Gentoo.
>
> This is the perfect use case for running containers on your development
> machine. Just set up lxc/lxd/docker on your gentoo machine and start up an
> ubuntu container in any of the runtimes. Works flawlessly, and you don't
> have to reboot or run a heavyweight VM. Lxc/lxd are more suitable for long
> running containers, docker would be great for containers that you spin up
> and tear down whenever you need.
>
> Give it a try.
I will consider this if I have to do with PowerShell for a
longer time.
Thanks for the hint!
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-14 8:31 ` Bertram Scharpf
@ 2016-11-14 9:21 ` Neil Bothwick
2016-11-14 10:06 ` Bertram Scharpf
0 siblings, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2016-11-14 9:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
> > You can download the source from
> > https://github.com/PowerShell/PowerShell/releases and compile it
> > yourself.
>
> The build suite is something completely different than the
> standard configure-make procedure. It's first step says:
> "Gentoo is not supported!" They only support CentOS and
> Ubuntu.
Not supported is not the same as doesn't work. It just means you're more
or less on your own. However, the suggestion of a container would be
simpler, provided you don't actually need to run PowerShell in your
Gentoo environment.
--
Neil Bothwick
"Do not handicap your children by making their lives easy."
-- Robert Heinlein
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 163 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-14 9:21 ` Neil Bothwick
@ 2016-11-14 10:06 ` Bertram Scharpf
2016-11-14 10:45 ` Fernando Rodriguez
0 siblings, 1 reply; 11+ messages in thread
From: Bertram Scharpf @ 2016-11-14 10:06 UTC (permalink / raw
To: gentoo-user
On Monday, 14. Nov 2016, 09:21:25 +0000, Neil Bothwick wrote:
> On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
>
> > > You can download the source from
> > > https://github.com/PowerShell/PowerShell/releases and compile it
> > > yourself.
> >
> > The build suite is something completely different than the
> > standard configure-make procedure. It's first step says:
> > "Gentoo is not supported!" They only support CentOS and
> > Ubuntu.
>
> Not supported is not the same as doesn't work. It just means you're more
> or less on your own.
That's what I meant. I'm just fed up with reading loads of
docs about a very non-standard build process.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-12 22:20 [gentoo-user] Is there a PowerShell package? Bertram Scharpf
` (2 preceding siblings ...)
2016-11-13 21:21 ` Jeremi Piotrowski
@ 2016-11-14 10:20 ` Jorge Almeida
2016-11-14 15:03 ` Bertram Scharpf
3 siblings, 1 reply; 11+ messages in thread
From: Jorge Almeida @ 2016-11-14 10:20 UTC (permalink / raw
To: gentoo-user
On Sat, Nov 12, 2016 at 10:20 PM, Bertram Scharpf
<lists@bertram-scharpf.de> wrote:
> Hi,
>
> for a special job I need to do a piece of work in Microsofts
> PowerShell, but I have no Windows machine running. I know
> that there is a PowerShell for Linux because I have one
> installed on a Ubuntu. Yet, I do not want to shut down my
> Gentoo and boot Ubuntu every time when I have to try
> something in PowerShell. I would like to install it on
> Gentoo.
>
Assuming that you plan to keep Ubuntu, why not use its PowerShell from
Gentoo, via chroot?
Jorge Almeida
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-14 10:06 ` Bertram Scharpf
@ 2016-11-14 10:45 ` Fernando Rodriguez
0 siblings, 0 replies; 11+ messages in thread
From: Fernando Rodriguez @ 2016-11-14 10:45 UTC (permalink / raw
To: gentoo-user
On 11/14/2016 05:06 AM, Bertram Scharpf wrote:
> On Monday, 14. Nov 2016, 09:21:25 +0000, Neil Bothwick wrote:
>> On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
>>
>>>> You can download the source from
>>>> https://github.com/PowerShell/PowerShell/releases and compile it
>>>> yourself.
>>>
>>> The build suite is something completely different than the
>>> standard configure-make procedure. It's first step says:
>>> "Gentoo is not supported!" They only support CentOS and
>>> Ubuntu.
>>
>> Not supported is not the same as doesn't work. It just means you're more
>> or less on your own.
>
> That's what I meant. I'm just fed up with reading loads of
> docs about a very non-standard build process.
>
> Bertram
That's the standard build system for .NET projects. You'll probably
need Microsoft's .NET implementation [1] to get it working. I have
ebuilds for an early version [2] but back then you couldn't even build
the corefx (.NET's standard library) on Linux so it's not much use. I
will update them when I get time.
[1] https://github.com/dotnet
[2]
https://github.com/fernando-rodriguez/portage-overlay/tree/master/dev-dotnet/coreclr
--
Fernando Rodriguez
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Is there a PowerShell package?
2016-11-14 10:20 ` Jorge Almeida
@ 2016-11-14 15:03 ` Bertram Scharpf
0 siblings, 0 replies; 11+ messages in thread
From: Bertram Scharpf @ 2016-11-14 15:03 UTC (permalink / raw
To: gentoo-user
On Monday, 14. Nov 2016, 10:20:39 +0000, Jorge Almeida wrote:
> On Sat, Nov 12, 2016 at 10:20 PM, Bertram Scharpf
> <lists@bertram-scharpf.de> wrote:
> > for a special job I need to do a piece of work in Microsofts
> > PowerShell, but I have no Windows machine running. I know
> > that there is a PowerShell for Linux because I have one
> > installed on a Ubuntu. Yet, I do not want to shut down my
> > Gentoo and boot Ubuntu every time when I have to try
> > something in PowerShell. I would like to install it on
> > Gentoo.
> >
> Assuming that you plan to keep Ubuntu, why not use its PowerShell from
> Gentoo, via chroot?
This is an excellent idea that fits exactly the expense of
time I wanted to invest on the task. I'm almost ashamed I
did not have this idea myself.
Thank you!
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-11-14 15:03 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-12 22:20 [gentoo-user] Is there a PowerShell package? Bertram Scharpf
2016-11-12 23:24 ` Mick
2016-11-13 13:05 ` Neil Bothwick
2016-11-14 8:31 ` Bertram Scharpf
2016-11-14 9:21 ` Neil Bothwick
2016-11-14 10:06 ` Bertram Scharpf
2016-11-14 10:45 ` Fernando Rodriguez
2016-11-13 21:21 ` Jeremi Piotrowski
2016-11-14 8:33 ` Bertram Scharpf
2016-11-14 10:20 ` Jorge Almeida
2016-11-14 15:03 ` Bertram Scharpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox