ubuntu 753 B

123456789101112131415161718192021222324252627282930
  1. $userdo apt-get install -y make \
  2. autoconf \
  3. gcc \
  4. bison \
  5. flex \
  6. re2c \
  7. libtool \
  8. libreadline-dev \
  9. libxml2-dev \
  10. libssl-dev \
  11. libbz2-dev \
  12. libzip-dev \
  13. libcurl4-openssl-dev \
  14. libjpeg-dev \
  15. libpng-dev \
  16. libwebp-dev \
  17. $(apt-cache search -n '^libstdc\+\+\-(\.?[[:digit:]])+\1*\-dev$'|sort -r|head -n 1|awk '{print $1}') \
  18. $(apt-cache search -n '^g\+\+\-(\.?[[:digit:]])+\1*$'|sort -r|head -n 1|awk '{print $1}')
  19. $userdo ln -fs $(find /usr/bin/ -name 'g++-*'|sort -r|head -n 1) /usr/bin/g++
  20. [[ $arch_id == 64 ]] && [[ ! -d /usr/include/sys ]] && \
  21. $userdo ln -s /usr/include/x86_64-linux-gnu/sys /usr/include/
  22. # libgd-dev \
  23. # libxpm-dev \
  24. # libwebp-dev \
  25. # libicu-dev \