Jack, can you please stop repeating these outdated instructions:
# detect if we're in a PASE shell /QSYS.LIB/QSHELL.LIB/UNAME.PGM >
/dev/null 2>&1
if [ $? != 0 -a "$SHELL" != "/QOpenSys/pkgs/bin/bash" ] then
exec /QOpenSys/pkgs/bin/bash
Please, for the love of everything, use the flippin' procedure:
[1]
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzajq/rzajqprocsetpaseshellinfo.htm
Also, your example .profile doesn't even show how to set the PATH variable
in it. Refer to
[2]
https://bitbucket.org/ibmi/opensource/src/master/docs/yum/#markdown-header-adjusting-your-path
----- Original message -----
From: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] installing with iACS package
management
Date: Thu, Jun 13, 2019 10:39 AM
Add /QOpenSys/pkgs/bin to your PATH variable.
Here's a typical .profile file
# detect if we're in a PASE shell /QSYS.LIB/QSHELL.LIB/UNAME.PGM >
/dev/null 2>&1
if [ $? != 0 -a "$SHELL" != "/QOpenSys/pkgs/bin/bash" ] then
exec /QOpenSys/pkgs/bin/bash
fi
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
On Thu, Jun 13, 2019 at 9:27 AM Gerald Magnuson
<gmagqcy.midrange@xxxxxxxxx>
wrote:
> I have installed and updated yum..
> what is the next step?
> I open my ssh term, and yum is not found.
> --
> This is the IBMi Open Source Roundtable (OpenSource) mailing list
> To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: [3]
https://lists.midrange.com/mailman/listinfo/opensource ;
> or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at [4]
https://archive.midrange.com/opensource ;.
>
> Help support midrange.com by shopping at amazon.com with our affiliate
> link: [5]
https://amazon.midrange.com ;
>
--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you
received
this communication in error, please contact the sender and
delete/destroy
all copies of this communication immediately.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [6]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [7]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [8]
https://amazon.midrange.com ;
References
Visible links
1.
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzajq/rzajqprocsetpaseshellinfo.htm
2.
https://bitbucket.org/ibmi/opensource/src/master/docs/yum/#markdown-header-adjusting-your-path
3.
https://lists.midrange.com/mailman/listinfo/opensource
4.
https://archive.midrange.com/opensource
5.
https://amazon.midrange.com/
6.
https://lists.midrange.com/mailman/listinfo/opensource
7.
https://archive.midrange.com/opensource
8.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.