Intallation Guide: https://github.com/D-codE-Hub/Frappe-...
Step 1
sudo apt-get update && sudo apt-get upgrade -y
Updates package list and upgrades all installed system packages
Step 2
sudo add-apt-repository ppa:deadsnakes/ppa
Adds the Deadsnakes PPA to install newer Python versions
Step 3
sudo apt update
Refreshes the package list after adding a new repository
Step 4
sudo apt install python3.14 python3.14-venv
Installs Python 3.14 and its virtual environment module
Step 5
python3.14 --version
pip3.14 --version
Verifies Python and pip installation versions
Step 6
sudo apt-get install python3-setuptools python3-pip -y
Installs setuptools and pip for Python package management
Step 7
sudo apt install pkg-config -y
Installs pkg-config required for compiling native dependencies
Step 8
sudo apt install python3.14-dev -y
Installs Python development headers for building extensions
Step 9
sudo apt install mariadb-server -y
Installs MariaDB database server
Step 10
sudo mysql_secure_installation
Secures MariaDB by setting root password and removing defaults
Step 11
sudo apt-get install libmysqlclient-dev -y
Installs MySQL/MariaDB client libraries for Python connectors
Step 12
sudo service mysql restart
Restarts the MySQL/MariaDB service to apply changes
Step 13
sudo apt-get install redis-server -y
Installs Redis used by Frappe for caching and queues
Step 14
sudo apt install curl
Installs curl for downloading scripts and files
Step 15
curl https://raw.githubusercontent.com/cre... | bash
Installs NVM (Node Version Manager)
Step 16
source ~/.profile
Reloads shell profile to enable NVM
Step 17
nvm install 24
Installs Node.js version 24 using NVM
Step 18
sudo apt-get install npm -y
Installs npm package manager
Step 19
sudo npm install -g yarn
Installs Yarn globally for frontend asset builds
Step 20
sudo apt-get install xvfb libfontconfig -y
Installs dependencies required for PDF generation
Step 21
sudo apt-get install xfonts-75dpi
Installs fonts required by wkhtmltopdf
Step 22
https://wkhtmltopdf.org/downloads.html
Reference link to download wkhtmltopdf package Download the .deb file for your system based on amd64 or arm64 architecture. Here using arm64 architecture
Step 23
sudo dpkg -i wkhtmltox_file.deb
Installs wkhtmltopdf package manually
Step 24
sudo -H pip3 install frappe-bench --break-system-packages
Installs Frappe Bench CLI tool
Step 25
bench init frappe-bench --frappe-branch version-16 --python python3.14
Initializes a new Frappe bench with version 16
Step 26
cd frappe-bench/
Moves into the Frappe bench directory
Step 27
bench start
Starts Frappe development server
Step 28
bench new-site local.com
Creates a new Frappe site
Step 29
bench use local.com
Sets the active site for bench commands
Step 30
bench get-app erpnext --branch version-16
Downloads ERPNext app from GitHub
Step 31
bench install-app erpnext
Installs ERPNext app on the site