Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd ~
- sudo apt-get update
- sudo apt-get install build-essential bin86 kernel-package libqt4-dev libncurses5-dev pkg-config
- mkdir rtlinux
- cd rtlinux
- wget ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.8.14.tar.xz
- wget https://www.kernel.org/pub/linux/kernel/projects/rt/4.8/patch-4.8.14-rt9.patch.gz
- tar -xpf linux-4.8.14.tar.xz
- gunzip patch-4.8.14-rt9.patch.gz
- cp patch-4.8.14-rt9.patch linux-4.8.14
- cd linux-4.8.14
- cat patch-4.8.14-rt9.patch | patch -p1
- make xconfig
- make -j4
- sudo make modules_install
- sudo make install
- make deb-pkg
- https://www.kernel.org/pub/linux/kernel/projects/rt/4.8/patch-4.8.14-rt9.patch.gz
- https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.8.14.tar.xz
- ?
- sudo apt-get install git
- git clone git://git.linuxcnc.org/git/linuxcnc.git lcnc
- cd lcnc
- git checkout 2.7
- git pull
- dpkg-checkbuilddeps
- or (Read http://www.wiki.eusurplus.com/index.php?title=LinuxCNC_Run_In_Place
- git clone git://git.linuxcnc.org/git/linuxcnc.git lcnc
- sudo apt-get install -y devscripts build-essential
- sudo apt-get install -y imagemagick texlive-font-utils tcl8.6-dev tk8.6-dev
- sudo apt-get install -y libxaw7-dev libncurses-dev libreadline-gplv2-dev
- sudo apt-get install -y dblatex groff python-dev python-tk libglu1-mesa-dev
- sudo apt-get install -y libgtk2.0-dev asciidoc source-highlight
- sudo apt-get install -y libboost-python-dev texlive-lang-cyrillic debhelper
- sudo apt-get install -y texlive-lang-french texlive-lang-spanish
- sudo apt-get install -y texlive-lang-german libmodbus-dev dvipng
- sudo apt-get install -y libusb-1.0-0-dev graphviz inkscape python-numpy
- sudo apt-get install -y python-imaging-tk python-gtkglext1 tclreadline blt
- sudo apt-get install -y bwidget libtk-img tclx
- cd lcnc
- git checkout -b 2.7 origin/2.7
- git pull
- cd debian
- ./configure -a
- cd ..
- dpkg-checkbuilddeps
- debian/configure --with-realtime=uspace
- debian/configure -r ; debuild -uc -us
- cd ..
- sudo dpkg -i linuxcnc_2.7.4_i386.deb
- sudo dpkg -i linuxcnc-doc-en_2.7.4_all.deb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement