0% found this document useful (0 votes)
9 views2 pages

Ubuntu 24.04 Container Setup Guide

The document provides instructions for setting up a development environment using Docker and installing various essential packages on an Ubuntu system. It includes commands for running a Docker container, installing certificates, and a comprehensive list of tools and dependencies for C++, Python, and other utilities. The installation commands utilize 'apt' to ensure all necessary libraries and tools are available for development.

Uploaded by

tinybigdady
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Ubuntu 24.04 Container Setup Guide

The document provides instructions for setting up a development environment using Docker and installing various essential packages on an Ubuntu system. It includes commands for running a Docker container, installing certificates, and a comprehensive list of tools and dependencies for C++, Python, and other utilities. The installation commands utilize 'apt' to ensure all necessary libraries and tools are available for development.

Uploaded by

tinybigdady
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

'''

doc: 运行容器
docker run -it --name dev-u24 --net=host \\
-v /home/srbj/[Link]/workspace/[Link]:/workspace \\
ubuntu:24.04 /bin/bash
'''

'''
doc: 安装证书
apt install ca-certificates
'''

## 基础工具
apt install -y \
git \
wget \
curl \
vim \
htop \
tmux \
tree \
jq \
## 构建工具
apt install -y \
build-essential \
cmake \
ninja-build \
pkg-config \
gdb \
lldb \
## C++ 依赖
apt install -y \
gcc-13 \
g++-13 \
clang-18 \
clang-format-18 \
clang-tidy-18 \
# Python
python3 \
python3-pip \
python3-dev \
python3-venv \
python3-wheel \
## 其他依赖
apt install -y \
libssl-dev \
libcurl4-openssl-dev \
libopenblas-dev \
libsdl2-dev \
libgmp-dev \
libmpfr-dev \
libmpc-dev \
zlib1g-dev \
libreadline-dev \
libsqlite3-dev \
libffi-dev \
liblzma-dev \
tk-dev \
libncurses5-dev \
libncursesw5-dev \
libbz2-dev \
xz-utils \
&& rm -rf /var/lib/apt/lists/*

---
apt install -y \
git \
wget \
curl \
vim \
htop \
tmux \
tree \
jq \
build-essential \
cmake \
ninja-build \
pkg-config \
gdb \
lldb \
gcc-13 \
g++-13 \
clang-18 \
clang-format-18 \
clang-tidy-18 \
python3 \
python3-pip \
python3-dev \
python3-venv \
python3-wheel \
libssl-dev \
libcurl4-openssl-dev \
libopenblas-dev \
libsdl2-dev \
libgmp-dev \
libmpfr-dev \
libmpc-dev \
zlib1g-dev \
libreadline-dev \
libsqlite3-dev \
libffi-dev \
liblzma-dev \
tk-dev \
libncurses5-dev \
libncursesw5-dev \
libbz2-dev \
xz-utils \
&& rm -rf /var/lib/apt/lists/*

You might also like