Gryph_The_Grey

preqres

Jun 29th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1. griff@HTNGuild:~$ mkdir "$HOME/tmp";cd "$HOME/tmp"
  2. griff@HTNGuild:~/tmp$ wget https://raw.githubusercontent.com/cardano-community/guild-operators/master/files/ptn0/scripts/prereqs.sh
  3. --2020-06-29 15:37:39-- https://raw.githubusercontent.com/cardano-community/guild-operators/master/files/ptn0/scripts/prereqs.sh
  4. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
  5. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
  6. HTTP request sent, awaiting response... 200 OK
  7. Length: 10979 (11K) [text/plain]
  8. Saving to: ‘prereqs.sh’
  9.  
  10. prereqs.sh 100%[=================================================>] 10.72K --.-KB/s in 0s
  11.  
  12. 2020-06-29 15:37:39 (46.0 MB/s) - ‘prereqs.sh’ saved [10979/10979]
  13.  
  14. griff@HTNGuild:~/tmp$ chmod 755 prereqs.sh
  15. griff@HTNGuild:~/tmp$ ./prereqs.sh
  16. Using apt to prepare packages for "Debian GNU/Linux" system
  17. Updating system packages...
  18. [sudo] password for griff:
  19. Warning: apt-key output should not be parsed (stdout is not a terminal)
  20. Installing missing prerequisite packages, if any..
  21. Extracting templates from packages: 100%griff@HTNGuild:~/tmp$ ./prereqs.sh
  22. Using apt to prepare packages for "Debian GNU/Linux" system
  23. Updating system packages...
  24. [sudo] password for griff:
  25. Warning: apt-key output should not be parsed (stdout is not a terminal)
  26. Installing missing prerequisite packages, if any..
  27. Extracting templates from packages: 100%
  28. Extracting templates from packages: 100%
  29. ./prereqs.sh: 140: ./prereqs.sh: ghc: not found
  30. ./prereqs.sh: 141: ./prereqs.sh: cabal: not found
  31. Install ghcup (The Haskell Toolchain installer) ..
  32.  
  33. Welcome to Haskell!
  34.  
  35. This script will download and install the following binaries:
  36. * ghcup - The Haskell toolchain installer (for managing GHC/cabal versions)
  37. * ghc - The Glasgow Haskell Compiler
  38. * cabal - The Cabal build tool
  39.  
  40. ghcup installs only into the following directory, which can be removed anytime:
  41. /home/griff/.ghcup
  42.  
  43. Press ENTER to proceed or ctrl-c to abort.
  44. Note that this script can be re-run at any given time.
  45.  
  46. % Total % Received % Xferd Average Speed Time Time Time Current
  47. Dload Upload Total Spent Left Speed
  48. 100 10.3M 100 10.3M 0 0 12.5M 0 --:--:-- --:--:-- --:--:-- 12.5M
  49. [ Info ] Upgrading GHCup...
  50. [ Warn ] No GHCup update available
  51.  
  52. System requirements
  53. Install the following distro packages: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
  54.  
  55. Press ENTER to proceed or ctrl-c to abort.
  56. Installation may take a while.
  57.  
  58. [ Info ] downloading: https://downloads.haskell.org/~ghc/8.8.3/ghc-8.8.3-x86_64-deb9-linux.tar.xz
  59. % Total % Received % Xferd Average Speed Time Time Time Current
  60. Dload Upload Total Spent Left Speed
  61. 100 191M 100 191M 0 0 12.2M 0 0:00:15 0:00:15 --:--:-- 12.7M
  62. [ Info ] verifying digest of: ghc-8.8.3-x86_64-deb9-linux.tar.xz
  63. [ Info ] Unpacking: ghc-8.8.3-x86_64-deb9-linux.tar.xz to /tmp/ghcup-oNbeCk
  64. [ Info ] Installing GHC (this may take a while)
  65. [ ghc-make ] # on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
  66. [ Info ] GHC installation successful
  67. [ Warn ] New GHC version available: 8.10.1. To upgrade, run 'ghcup install 8.10.1'
  68. [ Info ] GHC 8.8.3 successfully set as default version
  69. [ Warn ] New GHC version available: 8.10.1. To upgrade, run 'ghcup install 8.10.1'
  70. [ Info ] downloading: https://downloads.haskell.org/~cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
  71. % Total % Received % Xferd Average Speed Time Time Time Current
  72. Dload Upload Total Spent Left Speed
  73. 100 4260k 100 4260k 0 0 6699k 0 --:--:-- --:--:-- --:--:-- 6689k
  74. [ Info ] verifying digest of: cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
  75. [ Info ] Unpacking: cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz to /tmp/ghcup-AFaike
  76. [ Info ] Installing cabal
  77. [ Info ] Cabal installation successful
  78. Config file path source is default config file.
  79. Config file /home/griff/.cabal/config not found.
  80. Writing default configuration to /home/griff/.cabal/config
  81. Downloading the latest package list from hackage.haskell.org
  82.  
  83. Installation done!
  84.  
  85. In order to run ghc and cabal, you need to adjust your PATH variable.
  86. You may want to source '/home/griff/.ghcup/env' in your shell
  87. configuration to do so (e.g. ~/.bashrc).
  88.  
  89. Detected bash shell on your system...
  90. If you want ghcup to automatically add the required PATH variable to "/home/griff/.bashrc"
  91. answer with YES, otherwise with NO and press ENTER.
  92.  
  93. OK! /home/griff/.bashrc has been modified. Restart your terminal for the changes to take effect,
  94. or type "source /home/griff/.ghcup/env" to apply them in your current terminal session.
  95. [ Warn ] New GHC version available: 8.10.1. To upgrade, run 'ghcup install 8.10.1'
  96. [ Info ] downloading: https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb9-linux.tar.xz
  97. % Total % Received % Xferd Average Speed Time Time Time Current
  98. Dload Upload Total Spent Left Speed
  99. 100 180M 100 180M 0 0 14.0M 0 0:00:12 0:00:12 --:--:-- 17.0M
  100. [ Info ] verifying digest of: ghc-8.6.5-x86_64-deb9-linux.tar.xz
  101. [ Info ] Unpacking: ghc-8.6.5-x86_64-deb9-linux.tar.xz to /tmp/ghcup-HGHPOd
  102. [ Info ] Installing GHC (this may take a while)
  103. [ ghc-make ] # on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
  104. [ Info ] GHC installation successful
  105. [ Warn ] New GHC version available: 8.10.1. To upgrade, run 'ghcup install 8.10.1'
  106. [ Info ] GHC 8.6.5 successfully set as default version
  107. The Glorious Glasgow Haskell Compilation System, version 8.6.5
  108. Installing bundled Cabal ..
  109. [ Warn ] New GHC version available: 8.10.1. To upgrade, run 'ghcup install 8.10.1'
  110. [ Info ] downloading: https://downloads.haskell.org/~cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
  111. % Total % Received % Xferd Average Speed Time Time Time Current
  112. Dload Upload Total Spent Left Speed
  113. 100 4260k 100 4260k 0 0 3310k 0 0:00:01 0:00:01 --:--:-- 3310k
  114. [ Info ] verifying digest of: cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
  115. [ Info ] Unpacking: cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz to /tmp/ghcup-BiNciE
  116. [ Info ] Installing cabal
  117. [ Info ] Cabal installation successful
  118. Creating Folder Structure ..
  119. Setting up Environment Variable
  120. /opt/cardano/cnode/files
  121. griff@HTNGuild:~/tmp$
  122. ...
  123. griff@HTNGuild:~$ cd $CNODE_HOME/scripts
  124. griff@HTNGuild:/opt/cardano/cnode/scripts$ ./cntools.sh
  125. ERROR: need 'bc' (command not found)
  126. please install with your packet manager of choice(apt/yum etc..) and relaunch cntools
  127. griff@HTNGuild:/opt/cardano/cnode/scripts$ cd
  128. griff@HTNGuild:~$ ./cntools.sh
  129. -bash: ./cntools.sh: No such file or directory
  130. griff@HTNGuild:~$
Add Comment
Please, Sign In to add comment