2.2. Installing Automation content navigator on RHEL with pip


You can install Automation content navigator on Red Hat Enterprise Linux (RHEL) with pip.

Procedure

  1. Install Automation content navigator:

    $ pip install ansible-navigator
    Copy to Clipboard Toggle word wrap
  2. Alternately, for offline access:

    1. Download Automation content navigator and copy the package to the offline system:

      $ pip3 download ansible-navigator -d .
      
      ansible-navigator-demo](main)$ pip3 download ansible-navigator -d .
      Collecting ansible-navigator
       Using cached ansible_navigator-0.7.0-py3-none-any.whl (197 kB)
      Collecting onigurumacffi
       Using cached onigurumacffi-1.1.0-cp36-abi3-manylinux1_x86_64.whl (536 kB)
      Collecting pyyaml
       Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
      Collecting ansible-runner<3,>=2a
       Using cached ansible_runner-2.0.0a4-py3-none-any.whl (98 kB)
      Collecting jinja2
       Using cached Jinja2-3.0.1-py3-none-any.whl (133 kB)
      Collecting pexpect>=4.5
       Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
      Collecting python-daemon
       Using cached python_daemon-2.3.0-py2.py3-none-any.whl (35 kB)
      Collecting six
       Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
      Collecting ptyprocess>=0.5
       Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
      Collecting MarkupSafe>=2.0
       Using cached MarkupSafe-2.0.1-cp39-cp39-manylinux2010_x86_64.whl (30 kB)
      Collecting cffi>=1
       Using cached cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl (406 kB)
      Collecting pycparser
       Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
      Collecting setuptools
       Using cached setuptools-57.0.0-py3-none-any.whl (821 kB)
      Collecting lockfile>=0.10
       Using cached lockfile-0.12.2-py2.py3-none-any.whl (13 kB)
      Collecting docutils
       Using cached docutils-0.17.1-py2.py3-none-any.whl (575 kB)
      Saved ./ansible_navigator-0.7.0-py3-none-any.whl
      Saved ./ansible_runner-2.0.0a4-py3-none-any.whl
      Saved ./pexpect-4.8.0-py2.py3-none-any.whl
      Saved ./ptyprocess-0.7.0-py2.py3-none-any.whl
      Saved ./Jinja2-3.0.1-py3-none-any.whl
      Saved ./MarkupSafe-2.0.1-cp39-cp39-manylinux2010_x86_64.whl
      Saved ./onigurumacffi-1.1.0-cp36-abi3-manylinux1_x86_64.whl
      Saved ./cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl
      Saved ./pycparser-2.20-py2.py3-none-any.whl
      Saved ./python_daemon-2.3.0-py2.py3-none-any.whl
      Saved ./lockfile-0.12.2-py2.py3-none-any.whl
      Saved ./docutils-0.17.1-py2.py3-none-any.whl
      Saved ./PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl
      Saved ./six-1.16.0-py2.py3-none-any.whl
      Saved ./setuptools-57.0.0-py3-none-any.whl
      Successfully downloaded ansible-navigator ansible-runner pexpect ptyprocess
       jinja2 MarkupSafe onigurumacffi cffi pycparser python-daemon
       lockfile docutils pyyaml six setuptools
      Copy to Clipboard Toggle word wrap
    2. Install on the offline system:

      $ pip3 install ./ansible_navigator-0.7.0-py3-none-any.whl
      
      Defaulting to user installation because normal site-packages is not writeable
      Processing ./ansible_navigator-0.7.0-py3-none-any.whl
      
      <... output omitted ...>
      
      Installing collected packages: ansible-navigator
      Successfully installed ansible-navigator-0.7.0
      Copy to Clipboard Toggle word wrap

Verification

  • Verify your Automation content navigator installation:

    $ ansible-navigator --help
    Copy to Clipboard Toggle word wrap

You should see the help output describing the main functions of Automation content navigator.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat