My script to automatically configure Ubuntu (Python, Web and AI).

157

    The invisible barrier of Linux

    Let's be honest. Many developers stick with Windows or Mac not because they dislike Linux, but because laziness.

    You know Linux is superior for managing servers, containers, and development environments. But you also remember the last time you installed a clean "distro": hours searching for commands, repositories that give errors, configuring GPG keys for Docker, and struggling to keep your Python environment from crashing.

    The initial friction It's very tall.

    Since I recently migrated all my computers (laptop and desktop) to Ubuntu to unify my workflow, I decided I wasn't going to waste another minute repeating commands.

    I have created a script .sh automated It does all the dirty work. You just have to download it, run it, and go get a coffee.

    What does this script install and why?

    I don't like installing junk. This script is designed for a specific profile. Full Stack, Data Scientist or AI Engineer. If you're involved in programming and building products, this is what you need and why I've included it:

    1. The Core of the System (Essentials)

    The first thing the script does is update the system and add tools such as curl, git y zsh.

    • Because? Because the default terminal is boring and not very functional, and without Git we're nothing. It also installs the build-essential, necessary to compile certain Python libraries later on.

    2. Data Science & AI Environment (Python + Docker)

    This is where many people get stuck. The script installs Python 3, pip and virtual environments. But the crown jewel is Docker.

    • The problem: Manually installing Docker on Ubuntu requires adding official repositories, security keys, and user configurations. It's tedious and error-prone.
    • The solution: The script automates the entire official Docker process, adding you to the user group (so you don't have to use sweat always) and leaves it ready to deploy containers or train models.

    3. Modern Full Stack (Node.js done right)

    If you install Node.js using the default Ubuntu command (apt install nodejs), you'll get a version from two years ago. Rookie mistake.

    • My solution: The script installs NVM (Node Version Manager) and automatically downloads the latest LTS (Long Term Support) version. This allows you to switch Node versions depending on the project you're working on without breaking anything.

    4. Databases (PostgreSQL + Redis + DBeaver)

    A backend without data is useless.

    • PostgreSQL & Redis: They are installed and configured as background services.
    • DBeaver: I've included the installation of this universal SQL client. It's visual, powerful, and saves you from having to write queries. SELECT from the pure and simple terminal.

    5. «Real Life» (Spotify, Discord, Thunderbird)

    Because we're not robots. Programming in silence is boring, and we need to communicate. The script also downloads and installs the official versions of Spotify, Discord, and a decent email client.

    Download the script

    Forget about copying and pasting lines of code. Download the file, save it to your home folder, and you're all set.

    📥 Download Installation Script (.zip)

    How do I use it?

    Once the file has been downloaded setup_germanmallo.sh, You just need to open your terminal in the folder where the file is located and type these two lines:

    1. Grant execution permissions: (You only need to do it once)
      chmod +x setup_germanmallo.sh
      
    2. Execute:
      ./setup_germanmallo.sh
      

    The system will ask for your password once at the beginning, and the rest is automatic. You'll see lines of matrix-style text scroll by as your computer transforms into a productivity machine.

    Conclusion

    Technology (and Linux in particular) should work for us, not the other way around. Automating the initial setup removes that mental barrier of having to change computers or reformat.

    Now you have no excuse not to try this Linux environment. You have the infrastructure ready in 5 minutes. What you build with it is up to you.


    Are there any essential tools you're missing in your daily work? Let me know in the comments and I'll update the script for the community.

    ✉ SHALL WE TALK?

    Let's talk

    If we share interests in artificial intelligence, data, or software development, I'd be happy to exchange ideas. You can also contact me for professional matters.

    Read the blog