Skip to content

Commit

Permalink
Set python 3.11 in /etc/alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
etsauer committed Jul 30, 2024
1 parent 714e7c4 commit 2f501d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions modules/python3.11/alternatives.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/bash
sudo alternatives --install /usr/bin/python python /usr/bin/python3.11 1
python --version
4 changes: 3 additions & 1 deletion modules/python3.11/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ description: "Installs Python 3.11"
packages:
install:
- python3.11-pip
- python3.11-devel
- python3.11-devel
execute:
- script: alternatives.sh

0 comments on commit 2f501d1

Please sign in to comment.