Fix Python 3.13 pip and improve user installations
- Add python3.13-pip package for pip support - Move Claude Code and bpytop to user-only installations - Add pip alias to use Python 3.13 - Add empty line to MOTD for better spacing
This commit is contained in:
parent
3f27ac8960
commit
46d79166a3
@ -25,6 +25,7 @@ fi
|
|||||||
|
|
||||||
# lang
|
# lang
|
||||||
alias python='python3.13'
|
alias python='python3.13'
|
||||||
|
alias pip='python -m pip'
|
||||||
alias ptpython="python -m ptpython"
|
alias ptpython="python -m ptpython"
|
||||||
alias ptpy="python -m ptpython"
|
alias ptpy="python -m ptpython"
|
||||||
alias py13='python3.13'
|
alias py13='python3.13'
|
||||||
|
@ -154,6 +154,7 @@ done
|
|||||||
if [ "$ENABLE_MOTD" = true ]; then
|
if [ "$ENABLE_MOTD" = true ]; then
|
||||||
echo "[+] Setting up MOTD..."
|
echo "[+] Setting up MOTD..."
|
||||||
cat > /etc/motd << MOTD
|
cat > /etc/motd << MOTD
|
||||||
|
|
||||||
$BANNER
|
$BANNER
|
||||||
MOTD
|
MOTD
|
||||||
fi
|
fi
|
||||||
@ -162,7 +163,7 @@ fi
|
|||||||
echo "[+] Installing additional packages..."
|
echo "[+] Installing additional packages..."
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
clevis clevis-luks tpm2-tools tpm2-tss \
|
clevis clevis-luks tpm2-tools tpm2-tss \
|
||||||
tmux neovim python3-pip python3.13 \
|
tmux neovim python3-pip python3.13 python3.13-pip \
|
||||||
tree gcc make autoconf automake tar bzip2 \
|
tree gcc make autoconf automake tar bzip2 \
|
||||||
bash-completion || exit 1
|
bash-completion || exit 1
|
||||||
|
|
||||||
@ -177,13 +178,10 @@ echo "[+] Installing lsd, bat, and fastfetch..."
|
|||||||
# Try to install fastfetch from repos first
|
# Try to install fastfetch from repos first
|
||||||
dnf install -y fastfetch || echo "fastfetch not available in repos, skipping"
|
dnf install -y fastfetch || echo "fastfetch not available in repos, skipping"
|
||||||
|
|
||||||
# Install Claude Code via official installer
|
# Install user-specific tools for the user account
|
||||||
echo " - Installing Claude Code..."
|
echo "[+] Installing user-specific tools for ${ALMA_USER}..."
|
||||||
curl -fsSL https://claude.ai/install.sh | bash || echo "WARNING: Claude Code installation failed"
|
su - ${ALMA_USER} -c 'curl -fsSL https://claude.ai/install.sh | bash' || echo "WARNING: Claude Code installation failed"
|
||||||
|
su - ${ALMA_USER} -c 'python3.13 -m pip install --user bpytop' || echo "WARNING: bpytop installation failed"
|
||||||
# Install bpytop via Python 3.13
|
|
||||||
echo " - Installing bpytop..."
|
|
||||||
python3.13 -m pip install bpytop || echo "WARNING: bpytop installation failed"
|
|
||||||
|
|
||||||
# Install Docker from official repository
|
# Install Docker from official repository
|
||||||
echo "[+] Installing Docker..."
|
echo "[+] Installing Docker..."
|
||||||
|
Loading…
Reference in New Issue
Block a user