Line 35: |
Line 35: |
| | | |
| sudo apt update | | sudo apt update |
| + | |
| + | sudo apt install nodejs |
| + | |
| + | sudo apt install npm |
| | | |
| sudo apt install build-essential ccache ecj fastjar file flex g++ gawk \ gettext git java-propose-classpath java-wrappers jq libelf-dev \ libffi-dev libncurses5-dev libncursesw5-dev libssl-dev libtool \ python python2.7-dev python3 python3-dev python3-distutils \ python3-setuptools rsync subversion swig time u-boot-tools \ unzip wget xsltproc zlib1g-dev bison | | sudo apt install build-essential ccache ecj fastjar file flex g++ gawk \ gettext git java-propose-classpath java-wrappers jq libelf-dev \ libffi-dev libncurses5-dev libncursesw5-dev libssl-dev libtool \ python python2.7-dev python3 python3-dev python3-distutils \ python3-setuptools rsync subversion swig time u-boot-tools \ unzip wget xsltproc zlib1g-dev bison |
| | | |
− | Create a new folder (for this example I'll be using a directory called <i>RUTX_R</i> found at my <b>home</b> directory) and extract the SDK archive inside it. You can achieve this with drag and drop or by executing this command via Terminal: | + | Create a new folder (for this example I'll be using a directory called <i>RUTX_R</i> found at my <b>home</b> directory) and extract the SDK archive inside it. |
| + | |
| + | You can achieve this with drag and drop or by executing this command via Terminal: |
| | | |
− | tar -xf ~/Downloads/RUTX_R_GPL_00.XX.YY.Y.tar.gz -C ~/RUTX_R | + | Navigate to the "Downloads" folder: |
| + | cd ~/Downloads |
| + | Extract the tar.gz file: |
| + | tar -xzvf RUTX_R_GPL_00.07.05.X.tar.gz |
| + | |
| + | This command will extract the contents of the RUTX_R_GPL_00.07.05.X.tar.gz file into the current directory, After running this command, you should find the extracted files in the same directory where you ran the command. |
| | | |
| <b>Note</b>: don't forget to replace the file name and path in accordance with your own circumstances | | <b>Note</b>: don't forget to replace the file name and path in accordance with your own circumstances |
| | | |
| Open a Terminal inside the SDK directory. You can change the directory in your current terminal (<i>cd ~/RUTX_R/openwrt-gpl-ipq40xx.Linux-x86_64</i>). | | Open a Terminal inside the SDK directory. You can change the directory in your current terminal (<i>cd ~/RUTX_R/openwrt-gpl-ipq40xx.Linux-x86_64</i>). |
| + | |
| + | |
| | | |
| Once you open the Terminal, update the feeds: | | Once you open the Terminal, update the feeds: |
Line 69: |
Line 82: |
| | | |
| [[File:make_with_jobs_v1.gif]] | | [[File:make_with_jobs_v1.gif]] |
| + | |
| + | Troubleshooting tips: |
| + | 1. If you get error on first ‘make’, do ./scripts/feeds update -a once more. |
| + | 2. Once you extract the SDK files, Rename rutos-ipq40xx-rutx-gpl to a different file name and move it to home directory. |
| + | 3. Try running `make distclean` if you believe that your SDK installation is corrupt. This will recompile the firmware from scratch. |
| | | |
| ==Changing default settings== | | ==Changing default settings== |