| 1 |
### Installation on RHEL |
| 2 |
|
| 3 |
The following are instructions for setting up a system starting from a stock system images. |
| 4 |
|
| 5 |
These instructions were tested on a 64-bit systems from https://github.com/opscode/bento, and using the _Junos PyEZ_ library version 2.6.4. |
| 6 |
|
| 7 |
Operating Systems |
| 8 |
--------------- |
| 9 |
- Red hat Enterprise Linux 8.1 (Ootpa) |
| 10 |
|
| 11 |
#### Step 1: Install Python and PIP |
| 12 |
|
| 13 |
##### For Python 3.x: |
| 14 |
dnf install python3-pip python3-wheel |
| 15 |
|
| 16 |
#### Step 2: Install Junos PyEZ |
| 17 |
|
| 18 |
##### For Python 3.x: |
| 19 |
sudo pip3 install junos-eznc |
| 20 |
|
| 21 |
#### Step 3: Verify |
| 22 |
|
| 23 |
Once you've completed the above step, you should be able to create a `Device` instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file. |
| 24 |
|
| 25 |
Enjoy! |
| 26 |
|
| 27 |
#### Installing from GitHub |
| 28 |
|
| 29 |
Development code can be installed directly from GitHub based on any branch, commit, or tag. |
| 30 |
|
| 31 |
***Step 1 and 3 still required.*** |
| 32 |
#### Alternate Step 4: Install Junos PyEZ from GitHub |
| 33 |
|
| 34 |
#### Step 4a: Install Git from OS packages |
| 35 |
pip3 install git |
| 36 |
|
| 37 |
#### Step 4b: Install Junos PyEZ from GitHub |
| 38 |
|
| 39 |
##### For Python 3.x: |
| 40 |
pip3 install git+https://github.com/Juniper/py-junos-eznc.git |