This repository contains Bash scripts to automate the installation of Python, R, and RStudio on Ubuntu 24.04. These scripts handle dependency installation, version management, and setup configurations for seamless use.
📄 Script: python_installation.sh
📦 Installs Python versions (3.8 → 3.12) with pip and virtual environments.
chmod +x python_installation.sh
./python_installation.sh✅ Installs multiple Python versions
✅ Configures update-alternatives to switch between versions
✅ Installs pip and venv for each version
✅ Creates virtual environments for each version
📄 Script: r_installation.sh
📦 Installs the latest R and RStudio with required dependencies.
chmod +x r_installation.sh
./r_installation.sh✅ Installs R from CRAN
✅ Installs RStudio from the official source
✅ Fixes RStudio sandboxing issues
✅ Installs essential development libraries
After running python_installation.sh, you can switch Python versions manually:
sudo update-alternatives --config pythonChoose the version you need.
- Ubuntu 24.04 LTS
- Internet connection (to download packages)
- Sudo privileges
Feel free to fork, modify, and contribute! If you find any issues, submit a pull request or open an issue.
🚀 Happy Coding! 🔥
✅ Installation instructions for Python, R, and RStudio
✅ How to run scripts with executable permissions
✅ Python version switching guide
✅ System requirements & contribution details
Would you like any modifications or additional details? 🚀