Fixed the python and mariadb install
This commit is contained in:
parent
d13ebd42d3
commit
81102d06ba
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
mariadb_repo_setup
|
||||
6
Makefile
6
Makefile
@ -15,3 +15,9 @@ enable-docker:
|
||||
|
||||
disable-firewalld:
|
||||
systemctl disable --now firewalld
|
||||
|
||||
install-python3.13:
|
||||
bash install-python313.sh
|
||||
|
||||
install-mariadb:
|
||||
bash install-latest-mariadb.sh
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
dnf install -y curl ca-certificates
|
||||
|
||||
wget "https://r.mariadb.com/downloads/mariadb_repo_setup" -O "mariadb_repo_setup"
|
||||
bash mariadb_repo_setup
|
||||
|
||||
|
||||
25
install-python313.sh
Executable file
25
install-python313.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dnf install -y python3.13 python3.13-pip python3.13-devel python3.13-setuptools \
|
||||
python3 python3-pip python3-devel python3-setuptools
|
||||
|
||||
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1
|
||||
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2
|
||||
|
||||
update-alternatives --set python3 /usr/bin/python3.12
|
||||
|
||||
update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.13 1
|
||||
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3.13 1
|
||||
|
||||
update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.12 2
|
||||
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3.12 2
|
||||
|
||||
#update-alternatives --set pip3 /usr/bin/pip3.13
|
||||
#update-alternatives --set pip /usr/bin/pip3.13
|
||||
|
||||
update-alternatives --set pip3 /usr/bin/pip3.12
|
||||
update-alternatives --set pip /usr/bin/pip3.12
|
||||
|
||||
|
||||
python3.12 -m pip install --upgrade pip
|
||||
python3.13 -m pip install --upgrade pip
|
||||
Loading…
x
Reference in New Issue
Block a user