Advertisement
Guest User

Untitled

a guest
Dec 16th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. cd ~
  2. sudo apt-get update
  3. sudo apt-get install build-essential bin86 kernel-package libqt4-dev libncurses5-dev pkg-config
  4. mkdir rtlinux
  5. cd rtlinux
  6. wget ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.8.14.tar.xz
  7. wget https://www.kernel.org/pub/linux/kernel/projects/rt/4.8/patch-4.8.14-rt9.patch.gz
  8. tar -xpf linux-4.8.14.tar.xz
  9. gunzip patch-4.8.14-rt9.patch.gz
  10. cp patch-4.8.14-rt9.patch linux-4.8.14
  11. cd linux-4.8.14
  12. cat patch-4.8.14-rt9.patch | patch -p1
  13. make xconfig
  14.  
  15. make -j4
  16. sudo make modules_install
  17. sudo make install
  18.  
  19. make deb-pkg
  20.  
  21.  
  22.  
  23. https://www.kernel.org/pub/linux/kernel/projects/rt/4.8/patch-4.8.14-rt9.patch.gz
  24. https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.8.14.tar.xz
  25. ?
  26.  
  27.  
  28.  
  29. sudo apt-get install git
  30. git clone git://git.linuxcnc.org/git/linuxcnc.git lcnc
  31. cd lcnc
  32. git checkout 2.7
  33. git pull
  34. dpkg-checkbuilddeps
  35.  
  36. or (Read http://www.wiki.eusurplus.com/index.php?title=LinuxCNC_Run_In_Place
  37.  
  38. git clone git://git.linuxcnc.org/git/linuxcnc.git lcnc
  39. sudo apt-get install -y devscripts build-essential
  40. sudo apt-get install -y imagemagick texlive-font-utils tcl8.6-dev tk8.6-dev
  41. sudo apt-get install -y libxaw7-dev libncurses-dev libreadline-gplv2-dev
  42. sudo apt-get install -y dblatex groff python-dev python-tk libglu1-mesa-dev
  43. sudo apt-get install -y libgtk2.0-dev asciidoc source-highlight
  44. sudo apt-get install -y libboost-python-dev texlive-lang-cyrillic debhelper
  45. sudo apt-get install -y texlive-lang-french texlive-lang-spanish
  46. sudo apt-get install -y texlive-lang-german libmodbus-dev dvipng
  47. sudo apt-get install -y libusb-1.0-0-dev graphviz inkscape python-numpy
  48. sudo apt-get install -y python-imaging-tk python-gtkglext1 tclreadline blt
  49. sudo apt-get install -y bwidget libtk-img tclx
  50. cd lcnc
  51. git checkout -b 2.7 origin/2.7
  52. git pull
  53.  
  54. cd debian
  55. ./configure -a
  56. cd ..
  57. dpkg-checkbuilddeps
  58.  
  59. debian/configure --with-realtime=uspace
  60. debian/configure -r ; debuild -uc -us
  61. cd ..
  62. sudo dpkg -i linuxcnc_2.7.4_i386.deb
  63. sudo dpkg -i linuxcnc-doc-en_2.7.4_all.deb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement