This is an old revision of the document!
sudo apt-get update sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl unzip mercurial
# Create the working directory mkdir 22.03.0 # Change to our working directory cd 22.03.0
git clone https://git.openwrt.org/openwrt/openwrt.git
#We may first need to change our directory to the openwrt directory cd openwrt git branch -a #Also to see the tags git tag -l
git checkout v22.03.0
git branch
./scripts/feeds update
./scripts/feeds install coova-chilli ./scripts/feeds install luasocket ./scripts/feeds install libuci-lua ./scripts/feeds install curl ./scripts/feeds install -a -p routing ./scripts/feeds install iwinfo ./scripts/feeds install luci ./scripts/feeds install luci-theme-material ./scripts/feeds install mosquitto ./scripts/feeds install lua-mosquitto #For backward compatibility in 22.03 with older Luci libs ./scripts/feeds install luci-compat #Add the iptables translator package to translate iptables to nftables ./scripts/feeds install iptables-nft