Skip to content

QuocBuu/Getting_start_with_Ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Getting_start_with_Ubuntu

It is the group command line that installs some libraries and tools necessary when starting up a new Ubuntu computer for development.

Quick start

Run the curated installer (if present) to apply a sensible baseline of tools:

sudo bash install.sh

Module installation (detailed)

This section covers installing commonly needed modules and tools via apt, pip, npm, and snap, plus building from source.

  • System packages (APT)
sudo apt update
sudo apt install -y build-essential git curl wget ca-certificates \
  python3 python3-venv python3-pip nodejs npm git-core
  • Python (use virtual environments)
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install black flake8 mypy virtualenv

If you prefer installing globally (not recommended), use:

python3 -m pip install --user <package>
  • Node.js / npm
sudo apt install -y nodejs npm
sudo npm install -g yarn
  • Snap packages (example: VS Code)
sudo snap install --classic code
  • Build from source (generic example)
git clone <repo-url>
cd repo
mkdir build && cd build
cmake ..   # or ../configure
make -j$(nproc)
sudo make install
  • Docker (optional)
sudo apt install -y docker.io
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
# Log out and back in (or run `newgrp docker`) to apply group changes

Troubleshooting & tips

  • Always run sudo apt update before installing.
  • For Python projects prefer virtual environments to avoid global package conflicts.
  • After usermod -aG docker $USER you must re-login for group membership to take effect.
  • Use apt-cache policy <package> to inspect available versions.

Notes

See the installer script (install.sh) for a curated set of commands used by this repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages