Skip to content

Commit 2a4e921

Browse files
authored
Merge pull request #2860 from verilog-to-routing/fedora_package_install_script
Added dependency installer script for Fedora
2 parents 848d1e7 + 417693c commit 2a4e921

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

doc/src/quickstart/index.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@ If you cloned the repository, you will need to set up the git submodules (if you
2424
> git submodule init
2525
> git submodule update
2626
27-
VTR requires several system packages and Python packages to build and run the flow. You can install the required system packages using the following command (this works on Ubuntu 18.04, 20.04 and 22.04, but you may require different packages on other Linux distributions). Our CI testing is on Ubuntu 22.04, so that is the best tested platform and recommended for development.
27+
VTR requires several system packages and Python packages to build and run the flow. Ubuntu users can install the required system packages using the following command (this works on Ubuntu 18.04, 20.04, 22.04 and 24.04, but you may require different packages on other Linux distributions). Our CI testing is on Ubuntu 24.04, so that is the best tested platform and recommended for development.
2828

2929
.. code-block:: bash
3030
3131
> ./install_apt_packages.sh
3232
33+
Fedora and RHEL users may use the following command to install the required system packages.
34+
35+
.. code-block:: bash
36+
37+
> ./install_dnf_packages.sh
38+
3339
Then, to install the required Python packages (optionally within a new Python virtual environment):
3440

3541
.. code-block:: bash

install_dnf_packages.sh

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
sudo dnf upgrade --refresh
2+
3+
# Base packages to compile and run basic regression tests
4+
sudo dnf install -y \
5+
make \
6+
cmake \
7+
automake \
8+
gcc \
9+
gcc-c++ \
10+
kernel-devel \
11+
pkg-config \
12+
bison \
13+
flex \
14+
python3-devel \
15+
tbb-devel
16+
# Required for graphics
17+
sudo dnf install -y \
18+
gtk3-devel \
19+
libX11
20+
21+
# Required for parmys front-end from https://github.com/YosysHQ/yosys
22+
sudo dnf install -y \
23+
make \
24+
automake \
25+
gcc \
26+
gcc-c++ \
27+
kernel-devel \
28+
clang \
29+
bison \
30+
flex \
31+
readline-devel \
32+
gawk \
33+
tcl-devel \
34+
libffi-devel \
35+
git \
36+
graphviz \
37+
python-xdot \
38+
pkg-config \
39+
python3-devel \
40+
boost-system \
41+
boost-python3 \
42+
boost-filesystem \
43+
zlib-ng-devel
44+
45+
# Required to build the documentation
46+
sudo dnf install -y \
47+
python3-sphinx \
48+
python-sphinx-doc
49+
50+
# Required to run the analytical placement flow
51+
sudo dnf install -y \
52+
eigen3-devel

0 commit comments

Comments
 (0)