- sudo apt update
- sudo apt install vim
- sudo apt install build-essential
This command will install G++, GCC, make, and other core development libraries.
- gcc/g++ 15.2.0
g++-15 -std=c++20 hello.cpp -o hello
- perl 5, version 40, subversion 1 (v5.40.1)
- sudo apt install default-jdk
This installs Java.
- javac --version : javac 21.0.10
- java --version : openjdk version "21.0.10" 2026-01-20
- sudo apt install php
This installs PHP.
- PHP 8.4.11 (cli) (built: Jan 7 2026 08:44:00) (NTS)
- sudo apt install apache2
apache2 is already the newest version (2.4.64-1ubuntu3.2)
- sudo systemctl status apache2
- server is running
- conf: /etc/apache2/
- /var/www/html/
- Python is pre-installed on all modern Ubuntu:
- Python 3.13.7
- sudo apt install python3-pip
This installs pip (Python package manager)
- pip 25.1.1 from /usr/lib/python3/dist-packages/pip (python 3.13)
- sudo apt install python3-venv
sudo apt install python3.14-venv
Install venv (virtual environment module): This is crucial for creating isolated environments
for your projects to manage dependencies without affecting the system Python.
- You also need to install for each python version
- sudo apt install software-properties-common
This installs the add-apt-repository command in Ubuntu.
- type add-apt-repository
add-apt-repository is /usr/bin/add-apt-repository
- You can now use the command to add a new repository, for example, a Personal Package Archive (PPA):
sudo add-apt-repository ppa:some/ppa-name
- sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
- This adds the deadsnakes PPA.
- sudo apt install python3.14
- Installs Python 3.14
- python3.14 --version
3.14.0
- python3 --version
3.13.7
- make Python an alias of python3.14:
- vi ~/.bash_aliases
- add: alias python=python3.14
- source ~/.bash_aliases
- mkdir wschat
cd wschat
python -m venv .myenv
source .myenv/bin/activate
- pip install autobahn[twisted]
deactivate
Monday, February 16, 2026
Ubuntu installation log
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2026
(8)
-
▼
February
(8)
- Run apache and nginx on same server
- How To Deploy a React Application with Nginx on Ub...
- How To Deploy a React Application with apache on U...
- Python: virtual environments (venv) and environmen...
- Ubuntu installation log
- Daemonize a process in python virtual environment
- Install Python on Ubuntu
- Alma Linux, debian, centos or ubuntu
-
▼
February
(8)
No comments:
Post a Comment