Skip to content

Instantly share code, notes, and snippets.

@taewanme
Last active February 19, 2020 06:28
Show Gist options
  • Save taewanme/7d2221b96fb26a5c63fdb4a0493d7e13 to your computer and use it in GitHub Desktop.
Save taewanme/7d2221b96fb26a5c63fdb4a0493d7e13 to your computer and use it in GitHub Desktop.
Log of Installation with OCI CLI
~/demo >
$ bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13979 100 13979 0 0 8174 0 0:00:01 0:00:01 --:--:-- 8179
******************************************************************************
You have started the OCI CLI Installer in interactive mode. If you do not wish
to run this in interactive mode, please include the --accept-all-defaults option.
If you have the script locally and would like to know more about
input options for this script, then you can run:
./install.sh -h
If you would like to know more about input options for this script, refer to:
https://github.com/oracle/oci-cli/blob/master/scripts/install/README.rst
******************************************************************************
Downloading Oracle Cloud Infrastructure CLI install script from https://raw.githubusercontent.com/oracle/oci-cli/v2.9.3/scripts/install/install.py to /var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/oci_cli_install_tmp_XXXX.xmMRn8ph.
################################################################################## 100.0%
cat: /etc/os-release: No such file or directory
Running install script.
python3 /var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/oci_cli_install_tmp_XXXX.xmMRn8ph
-- Verifying Python version.
-- Python version 3.7.2 okay.
===> In what directory would you like to place the install? (leave blank to use '/Users/taewan/lib/oracle-cli'):
-- We will install at '/Users/taewan/lib/oracle-cli'.
===> In what directory would you like to place the 'oci' executable? (leave blank to use '/Users/taewan/bin'):
-- Creating directory '/Users/taewan/bin'.
-- The executable will be in '/Users/taewan/bin'.
===> In what directory would you like to place the OCI scripts? (leave blank to use '/Users/taewan/bin/oci-cli-scripts'):
-- Creating directory '/Users/taewan/bin/oci-cli-scripts'.
-- The scripts will be in '/Users/taewan/bin/oci-cli-scripts'.
===> Currently supported optional packages are: ['db (will install cx_Oracle)']
What optional CLI packages would you like to be installed (comma separated names; press enter if you don't need any optional packages)?:
-- The optional packages installed will be ''.
-- Trying to use python3 venv.
-- Executing: ['/Library/Frameworks/Python.framework/Versions/3.7/bin/python3', '-m', 'venv', '/Users/taewan/lib/oracle-cli']
-- Executing: ['/Users/taewan/lib/oracle-cli/bin/pip', 'install', '--upgrade', 'pip']
Collecting pip
Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 375kB/s
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-20.0.2
-- Executing: ['/Users/taewan/lib/oracle-cli/bin/pip', 'install', '--cache-dir', '/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f', 'wheel', '--upgrade']
Collecting wheel
Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: wheel
Successfully installed wheel-0.34.2
-- Executing: ['/Users/taewan/lib/oracle-cli/bin/pip', 'install', '--cache-dir', '/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f', 'oci_cli', '--upgrade']
Collecting oci_cli
Downloading oci_cli-2.9.3-py2.py3-none-any.whl (7.4 MB)
|████████████████████████████████| 7.4 MB 494 kB/s
Collecting click==6.7
Downloading click-6.7-py2.py3-none-any.whl (71 kB)
|████████████████████████████████| 71 kB 237 kB/s
Collecting pytz==2016.10
Downloading pytz-2016.10-py2.py3-none-any.whl (483 kB)
|████████████████████████████████| 483 kB 408 kB/s
Collecting PyYAML==5.1.2
Downloading PyYAML-5.1.2.tar.gz (265 kB)
|████████████████████████████████| 265 kB 435 kB/s
Collecting retrying==1.3.3
Downloading retrying-1.3.3.tar.gz (10 kB)
Collecting terminaltables==3.1.0
Downloading terminaltables-3.1.0.tar.gz (12 kB)
Collecting oci==2.10.5
Downloading oci-2.10.5-py2.py3-none-any.whl (3.5 MB)
|████████████████████████████████| 3.5 MB 480 kB/s
Collecting pyOpenSSL==18.0.0
Downloading pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB)
|████████████████████████████████| 53 kB 2.0 MB/s
Collecting configparser==3.5.0
Downloading configparser-3.5.0.tar.gz (39 kB)
Collecting certifi
Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
|████████████████████████████████| 156 kB 508 kB/s
Collecting cryptography==2.8
Downloading cryptography-2.8-cp34-abi3-macosx_10_6_intel.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 330 kB/s
Collecting jmespath==0.9.3
Downloading jmespath-0.9.3-py2.py3-none-any.whl (23 kB)
Collecting python-dateutil==2.7.3
Downloading python_dateutil-2.7.3-py2.py3-none-any.whl (211 kB)
|████████████████████████████████| 211 kB 375 kB/s
Collecting arrow==0.10.0
Downloading arrow-0.10.0.tar.gz (86 kB)
|████████████████████████████████| 86 kB 383 kB/s
Collecting idna<2.7,>=2.5
Downloading idna-2.6-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 3.1 MB/s
Collecting six==1.11.0
Downloading six-1.11.0-py2.py3-none-any.whl (10 kB)
Collecting cffi!=1.11.3,>=1.8
Downloading cffi-1.14.0-cp37-cp37m-macosx_10_9_x86_64.whl (174 kB)
|████████████████████████████████| 174 kB 266 kB/s
Collecting pycparser
Downloading pycparser-2.19.tar.gz (158 kB)
|████████████████████████████████| 158 kB 376 kB/s
Building wheels for collected packages: PyYAML, retrying, terminaltables, configparser, arrow, pycparser
Building wheel for PyYAML (setup.py) ... done
Created wheel for PyYAML: filename=PyYAML-5.1.2-cp37-cp37m-macosx_10_9_x86_64.whl size=44109 sha256=1849bf4d79d11ca0a5a99f38c807ae7837ad195231a713b6d64e260941685c6f
Stored in directory: /private/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f/wheels/23/b9/73/57aaccb6957d94ed63f474b51a9f7f992c5eff4635052c0557
Building wheel for retrying (setup.py) ... done
Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=11430 sha256=806ebdfb1aedcafa330c54e4346303f772355d44da55653f3437bc00c9e915be
Stored in directory: /private/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f/wheels/f9/8d/8d/f6af3f7f9eea3553bc2fe6d53e4b287dad18b06a861ac56ddf
Building wheel for terminaltables (setup.py) ... done
Created wheel for terminaltables: filename=terminaltables-3.1.0-py3-none-any.whl size=15354 sha256=bab5f50dcf807b231df9ae5d50c442662e8d412dfa6d47e55c8711c7eafc5b29
Stored in directory: /private/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f/wheels/ba/ad/c8/2d98360791161cd3db6daf6b5e730f34021fc9367d5879f497
Building wheel for configparser (setup.py) ... done
Created wheel for configparser: filename=configparser-3.5.0-py3-none-any.whl size=20937 sha256=4874bec300bf6e2da0dc5ebba10e82008eefea8e32c97e117b9204256a917a0a
Stored in directory: /private/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f/wheels/5f/f7/49/5854b79dedbfb3e4b78251a6bb80a23c260342dee93e0f327f
Building wheel for arrow (setup.py) ... done
Created wheel for arrow: filename=arrow-0.10.0-py2.py3-none-any.whl size=32852 sha256=e9a67030f56ea07a8f73f6a0fa4479ab32c572b472fd3467ba27ea6aaaf45f13
Stored in directory: /private/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f/wheels/08/04/41/fc01ef75aa14872805f2283ef01954a539700a7a6435cf52f1
Building wheel for pycparser (setup.py) ... done
Created wheel for pycparser: filename=pycparser-2.19-py2.py3-none-any.whl size=111031 sha256=b43b943442b197679a8e0ff9493d5f658d4869141ad51260e7a065a1b55e9fe4
Stored in directory: /private/var/folders/j2/rsdh00p51z3bxyrt7q5c5q380000gn/T/tmp7f1bow8f/wheels/0e/53/27/fee7fd9562e10dd046caccfc0340b8cf789b46846e660f3380
Successfully built PyYAML retrying terminaltables configparser arrow pycparser
Installing collected packages: click, pytz, PyYAML, six, retrying, terminaltables, pycparser, cffi, cryptography, pyOpenSSL, certifi, configparser, python-dateutil, oci, jmespath, arrow, idna, oci-cli
Successfully installed PyYAML-5.1.2 arrow-0.10.0 certifi-2019.11.28 cffi-1.14.0 click-6.7 configparser-3.5.0 cryptography-2.8 idna-2.6 jmespath-0.9.3 oci-2.10.5 oci-cli-2.9.3 pyOpenSSL-18.0.0 pycparser-2.19 python-dateutil-2.7.3 pytz-2016.10 retrying-1.3.3 six-1.11.0 terminaltables-3.1.0
===> Modify profile to update your $PATH and enable shell/tab completion now? (Y/n):
===> Enter a path to an rc file to update (leave blank to use '/Users/taewan/.bash_profile'): -- Backed up '/Users/taewan/.bash_profile' to '/Users/taewan/.bash_profile.backup'
-- Tab completion set up complete.
-- If tab completion is not activated, verify that '/Users/taewan/.bash_profile' is sourced by your shell.
--
-- ** Run `exec -l $SHELL` to restart your shell. **
--
-- Installation successful.
-- Run the CLI with /Users/taewan/bin/oci --help
~/demo >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment