drought

LRAB Auto Dependency installer [Compact]

Oct 19th, 2017
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. import subprocess,os,sys,random,time
  2. #!/usr/bin/env python
  3.  
  4. # syntax: chmod +x *; python lrab.py
  5. # installs lrab dependencies WITHOUT cpan
  6. # made by drought
  7.  
  8. def run(cmd):
  9.     subprocess.call(cmd, shell=True)
  10.  
  11. run("yum install perl -y")
  12. run("yum install perl-Net-SSH2 -y")
  13. run("yum install perl-Parallel-ForkManager -y")
  14. print("\x1b[0;32mMade by drought\x1b[0m")
Advertisement
Add Comment
Please, Sign In to add comment