Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2020
1,049
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. #!/usr/bin/sh
  2.  
  3. clear
  4. echo "INSTALLING PACKAGES FOR EPITECH'S DUMP"
  5. if [[ $EUID -ne 0 ]]; then
  6. echo "This script must be run as root" 1>&2
  7. exit 1
  8. fi
  9.  
  10. dnf -y install dnf-plugins-core && dnf -y copr enable petersen/stack2 && dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  11.  
  12. packages_list=(boost-devel.x86_64
  13. boost-static.x86_64
  14. ca-certificates.noarch
  15. clang.x86_64
  16. cmake.x86_64
  17. CUnit-devel.x86_64
  18. curl.x86_64
  19. flac-devel.x86_64
  20. freetype-devel.x86_64
  21. gcc.x86_64
  22. gcc-c++.x86_64
  23. gdb.x86_64
  24. git
  25. glibc.x86_64
  26. glibc-devel.x86_64
  27. glibc-locale-source.x86_64
  28. gmp-devel.x86_64
  29. ksh.x86_64
  30. elfutils-libelf-devel.x86_64
  31. libjpeg-turbo-devel.x86_64
  32. libvorbis-devel.x86_64
  33. SDL-devel.x86_64
  34. SDL-static.x86_64
  35. SDL2-static.x86_64
  36. SDL2-devel.x86_64
  37. SDL2_ttf.x86_64
  38. SDL2_ttf-devel.x86_64
  39. SDL2_image.x86_64
  40. SDL2_image-devel.x86_64
  41. libcaca.x86_64
  42. libcaca-devel.x86_64
  43. libX11-devel.x86_64
  44. libXext-devel.x86_64
  45. ltrace.x86_64
  46. make.x86_64
  47. nasm.x86_64
  48. ncurses.x86_64
  49. ncurses-devel.x86_64
  50. net-tools.x86_64
  51. ocaml.x86_64
  52. ocaml-camlp4.x86_64
  53. openal-soft-devel.x86_64
  54. python3-numpy.x86_64
  55. python2-numpy.x86_64
  56. python3.x86_64
  57. rlwrap.x86_64
  58. ruby.x86_64
  59. strace.x86_64
  60. tar.x86_64
  61. tcsh.x86_64
  62. tmux.x86_64
  63. sudo.x86_64
  64. tree.x86_64
  65. unzip.x86_64
  66. valgrind.x86_64
  67. vim
  68. emacs-nox
  69. which.x86_64
  70. xcb-util-image.x86_64
  71. xcb-util-image-devel.x86_64
  72. zip.x86_64
  73. zsh.x86_64
  74. avr-gcc.x86_64
  75. avr-gdb.x86_64
  76. qt-devel
  77. SDL2
  78. SDL2-devel
  79. docker
  80. docker-compose
  81. ncurses
  82. ncurses-libs
  83. ncurses-devel
  84. java-openjdk
  85. ocaml
  86. ocaml-SDL
  87. boost
  88. boost-math
  89. boost-graph
  90. umbrello
  91. valgrind
  92. net-tools
  93. autoconf
  94. automake
  95. ruby
  96. vim
  97. tcpdump
  98. wireshark
  99. nodejs
  100. python3-virtualenv-api
  101. python3-virtualenv
  102. ocaml-SDL
  103. ocaml-SDL-devel
  104. qemu
  105. emacs-tuareg
  106. libvirt
  107. libvirt-devel
  108. virt-install
  109. haskell-platform
  110. golang
  111. systemd-devel
  112. libgudev-devel
  113. php.x86_64
  114. php-devel.x86_64
  115. php-bcmath.x86_64
  116. php-cli.x86_64
  117. php-devel.x86_64
  118. php-gd.x86_64
  119. php-mbstring.x86_64
  120. php-mysqlnd.x86_64
  121. php-pdo.x86_64
  122. php-pear.noarch
  123. php-json.x86_64
  124. php-pdo.x86_64
  125. php-xml.x86_64
  126. php-gettext-gettext.noarch
  127. php-phar-io-version.noarch
  128. php-theseer-tokenizer.noarch
  129. SFML
  130. SFML-devel
  131. irrlicht.x86_64
  132. irrlicht-devel.x86_64
  133. stack
  134. ghc
  135. rust
  136. cargo
  137. x264
  138. lightspark
  139. lightspark-mozilla-plugin
  140. mariadb-server)
  141.  
  142. dnf -y install ${packages_list[@]}
  143.  
  144. # BLIH
  145. cp blih.py /usr/bin/blih
  146.  
  147. # CSFML
  148. ./build_csfml.sh
  149.  
  150. # CONFIG EMACS
  151. git clone https://github.com/Epitech/epitech-emacs.git
  152. cd epitech-emacs
  153. git checkout 1f1ef05d25058e20050612e71578312bee513a5b
  154. ./INSTALL.sh system
  155. cd .. && rm -rf epitech-emacs
  156.  
  157. install -m 644 bash_completion.d/blih /usr/share/bash-completion/completions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement