# SLES12 with lksh not ksh93

**URL:** <https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478>\
**Category:** SLES Configure-Administer\
**Created:** [August 2, 2016, 2:58pm UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478 "2016-08-02T14:58:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![slesbiba](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@slesbiba](https://forums.suse.com/u/slesbiba)\
**Post date:** [August 2, 2016, 2:58pm UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/1 "2016-08-02T14:58:26Z")

</div>

Hello

We are making to our server by SLES11 SP3 on SLES12 SP1.

There are some Korn shell scripts.

We have searched for example a script of a file to 1.5 GB and line by line distributed in 3 new files according to attributes.

The script ran about 2.5 hours under SLES11 SP3

It requires approx. 50 hrs on SLES12 with SP1 and lksh/mksh

I uninstalled now lksh and mksh-50-2.13.x86\_64.rpm installed and linked.

Now, the script iterates in 6.5 hours.

What can be the difference and how do I get back to a runtime of approximately 2.5 hours as under SLES11 SP3

Does anyone have an idea?

Thank you Andy

---

<div class="post-metadata">

**Author:** ![slesbiba](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@slesbiba](https://forums.suse.com/u/slesbiba)\
**Post date:** [August 3, 2016, 11:58am UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/2 "2016-08-03T11:58:37Z")

</div>

Sorry,

i uninstalled now lksh and install ksh-93v-4.1.8.x86\_64.rpm and linked  
and then the script iterates in 6.5 hours.

Thank you Andy

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 4, 2016, 12:44am UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/3 "2016-08-04T00:44:49Z")

</div>

slesbiba Wrote in message:  
[color=blue]

> Sorry,
> 
> i uninstalled now lksh and install ksh-93v-4.1.8.x86\_64.rpm and linked  
> and then the script iterates in 6.5 hours.[/color]

Where did you get the above ksh-93v-4.1.8 package from?

With SLES12 SP1 the KSH 93v package available via the Legacy  
module was replaced with KSH 93u for stability reasons - see  
[https://www.suse.com/releasenotes/x86\_64/SUSE-S](https://www.suse.com/releasenotes/x86_64/SUSE-S)  
LES/12-SP1/#fate-319107 (URL may not wrap).

## HTH.

Simon Flood  
SUSE Knowledge Partner

----Android NewsGroup Reader----  
[http://usenet.sinaapp.com/](http://usenet.sinaapp.com/)

---

<div class="post-metadata">

**Author:** ![slesbiba](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@slesbiba](https://forums.suse.com/u/slesbiba)\
**Post date:** [August 4, 2016, 10:53am UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/4 "2016-08-04T10:53:04Z")

</div>

Hey Simon,

i get the pachage from [rpmfind.net/linux](http://rpmfind.net/linux)

Now i install the ksh93u Package

now I’m testing the runtime with ksh93u

Greetings Andy

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 4, 2016, 1:28pm UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/5 "2016-08-04T13:28:10Z")

</div>

On 04/08/16 08:54, slesbiba wrote:  
[color=blue]

> i get the pachage from [rpmfind.net/linux[/color]](http://rpmfind.net/linux%5B/color%5D)

Given the Enterprise bit of SUSE Linux Enterprise Server you should not  
download and install random packages on SLES from non-SUSE sites as you  
won’t be supported by SUSE.  
[color=blue]

> Now i install the ksh93u Package[/color]

I trust this is via the Legacy module?  
[color=blue]

> now I’m testing the runtime with ksh93u[/color]

Please report back. If there is a problem with a SUSE-provided package  
it can be reported to SUSE but if you are using a non-SUSE package you  
are on your own.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![slesbiba](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@slesbiba](https://forums.suse.com/u/slesbiba)\
**Post date:** [August 4, 2016, 1:58pm UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/6 "2016-08-04T13:58:52Z")

</div>

Hey Simon,

I have now used the ksh93u of the Lagacy module.  
Now the script took 2.5 hours

That’s about the same time as under sles11 SP3  
PERFEKT

Thank you very much and greetings  
Andy

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 5, 2016, 4:30pm UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/7 "2016-08-05T16:30:27Z")

</div>

On 04/08/16 12:04, slesbiba wrote:  
[color=blue]

> I have now used the ksh93u of the Lagacy module.  
> Now the script took 2.5 hours
> 
> That’s about the same time as under sles11 SP3  
> PERFEKT[/color]

Excellent, thanks for the report back.  
[color=blue]

> Thank you very much and greetings[/color]

## No problem.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![stefk](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@stefk](https://forums.suse.com/u/stefk)\
**Post date:** [March 10, 2017, 9:47am UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/8 "2017-03-10T09:47:38Z")

</div>

[QUOTE=smflood;33789]On 04/08/16 08:54, slesbiba wrote:  
[color=blue]

Given the Enterprise bit of SUSE Linux Enterprise Server you should not  
download and install random packages on SLES from non-SUSE sites as you  
won’t be supported by SUSE.  
[color=blue]  
Please report back. If there is a problem with a SUSE-provided package  
it can be reported to SUSE but if you are using a non-SUSE package you  
are on your own.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below. Thanks.  
------------------------------------------------------------------------[/QUOTE]

hi Simon,  
given the history of this topic and your above reply to the thread about “not not downloading random packages, et al”,  
is there an official ksh93 rpm package in SuSE-SLES 12.x that IS supported, can you also offer a solution THAT IS SUPPORTED ?

[preferably for SLES 12.2 …]

regards,  
/Stef

---

<div class="post-metadata">

**Author:** ![HvdHeuvel](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@HvdHeuvel](https://forums.suse.com/u/HvdHeuvel)\
**Post date:** [March 17, 2017, 9:51pm UTC](https://forums.suse.com/t/sles12-with-lksh-not-ksh93/28478/9 "2017-03-17T21:51:36Z")

</div>

On Fri, 10 Mar 2017 07:54:02 +0000, stefk wrote:  
[color=blue]

> smflood;33789 Wrote:[color=green]
> 
> > On 04/08/16 08:54, slesbiba wrote:  
> > [color=blue]
> > 
> > Given the Enterprise bit of SUSE Linux Enterprise Server you should not  
> > download and install random packages on SLES from non-SUSE sites as you  
> > won’t be supported by SUSE.  
> > [color=blue]  
> > Please report back. If there is a problem with a SUSE-provided package  
> > it can be reported to SUSE but if you are using a non-SUSE package you  
> > are on your own.
> > 
> > ## HTH.
> > 
> > Simon SUSE Knowledge Partner
> > 
> > * * *
> > 
> > If you find this post helpful and are logged into the web interface,  
> > please show your appreciation and click on the star below. Thanks.  
> > ------------------------------------------------------------------------[/color]
> 
> hi Simon,  
> given the history of this topic and your above reply to the thread about  
> “not not downloading random packages, et al”, is there an official ksh93  
> rpm package in SuSE-SLES 12.x that IS supported, can you also offer a  
> solution THAT IS SUPPORTED ?
> 
> [preferably for SLES 12.2 …]
> 
> regards,  
> /Stef[/color]

ksh is still part of the SLES12 distribution, but no longer appears to be  
maintained upstream [1].

With SLES 12, you will also find the mksh (MirrorBSD ksh) clone which is  
support, but it needs to be understood that this is not, and does not  
claim to be, 100% compatible with ksh.

Thanks  
Hans

[1] [https://github.com/att/ksh](https://github.com/att/ksh)
