To install Python 3 on a Linux system, you can follow these general steps. The specific commands may vary slightly depending on your distribution. Here, I'll provide instructions for installing Python 3 on a Debian-based system using `apt`, and on a Red Hat-based system using `yum`. Since you're using a custom Linux distribution on an ARM architecture (aarch64), some steps may require slight adjustments.
### For Debian-based systems (Ubuntu, Debian, etc.)
1. **Update the package list**:
```bash
sudo apt update
```
2. **Install Python 3**:
```bash
sudo apt install python3
```
3. **Verify the installation**:
```bash
python3 --version
```
### For Red Hat-based systems (CentOS, Fedora, etc.)
1. **Update the package list**:
```bash
sudo yum update
```
2. **Install Python 3**:
```bash
sudo yum install python3
```
3. **Verify the installation**:
```bash
python3 --version
```
### For Custom Linux Distributions or ARM Architecture
Since you're on a custom Linux distribution on an ARM architecture, you might need to build Python from source:
1. **Install necessary build tools and dependencies**: