1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-18 13:36:14 +02:00

Merge pull request #1960 from l0rem1psum/update-dep-doc

Update dependencies described in docs
This commit is contained in:
Yashodhan 2023-05-24 16:19:12 +05:30 committed by GitHub
commit dc5d021b0f
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 33 deletions

View File

@ -146,26 +146,28 @@ For other platforms, please use the [Vagrantfile](#setting-up-vagrant) that we h
### Debian, Ubuntu and related distributions
```console
$ sudo apt-get install \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev
$ sudo apt-get install \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev \
libssl-dev
```
### Fedora, Centos, RHEL and related distributions
### Fedora, CentOS, RHEL and related distributions
```console
$ sudo dnf install \
pkg-config \
systemd-devel \
dbus-devel \
$ sudo dnf install \
pkg-config \
systemd-devel \
dbus-devel \
elfutils-libelf-devel \
libseccomp-devel \
clang-devel
libseccomp-devel \
clang-devel \
openssl-devel
```
## Build

2
Vagrantfile vendored
View File

@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: <<-SHELL
set -e -u -o pipefail
yum update -y
yum install -y git gcc docker systemd-devel dbus-devel libseccomp-devel
yum install -y git gcc docker wget pkg-config systemd-devel dbus-devel elfutils-libelf-devel libseccomp-devel clang-devel openssl-devel
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
service docker start
SHELL

View File

@ -14,7 +14,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: <<-SHELL
set -e -u -o pipefail
yum update -y
yum install -y git gcc docker systemd-devel dbus-devel libseccomp-devel
yum install -y git gcc docker wget pkg-config systemd-devel dbus-devel elfutils-libelf-devel libseccomp-devel clang-devel openssl-devel
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
service docker start
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
@ -23,4 +23,3 @@ Vagrant.configure("2") do |config|
config.ssh.username = 'root'
config.ssh.insert_key = 'true'
end

View File

@ -17,26 +17,28 @@ To compile and run, Youki itself depends on some underlying libraries being inst
#### Debian, Ubuntu and related distributions
```console
$ sudo apt-get install \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev
$ sudo apt-get install \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev \
libssl-dev
```
#### Fedora, Centos, RHEL and related distributions
#### Fedora, CentOS, RHEL and related distributions
```console
$ sudo dnf install \
pkg-config \
systemd-devel \
dbus-devel \
$ sudo dnf install \
pkg-config \
systemd-devel \
dbus-devel \
elfutils-libelf-devel \
libseccomp-devel \
clang-devel
libseccomp-devel \
clang-devel \
openssl-devel
```
---