Skip to content

Commit

Permalink
Use dnf install https://.../a.rpm to add EPOL_update repository
Browse files Browse the repository at this point in the history
Install a RPM package to add the EPOL_update YUM repository that
provides `apptainer` and its dependencies which are not available in
EPOL.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Aug 18, 2023
1 parent 598219d commit 5caa922
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions docs/recipes/install/common/openeuler_repos.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,17 @@
the {\em master} host also requires access to the standard base OS distro
repositories in order to resolve necessary dependencies. For \baseOS{}, the
requirements are to have access to the {\color{purple}{OS}}, {\color{purple}{Everything}},
{\color{purple}{EPOL main}} and {\color{purple}{EPOL update}} repositories
for which mirrors are freely available online:
{\color{purple}{EPOL main}} and {\color{purple}{EPOL update}} repositories.

\begin{itemize*}
\item OS
(e.g. \href{http://repo.openeuler.org/openEuler-22.03-LTS/OS/}
{\color{blue}{http://repo.openeuler.org/openEuler-22.03-LTS/OS/}} )
\item Everything
(e.g. \href{http://repo.openeuler.org/openEuler-22.03-LTS/everything/}
{\color{blue}{http://repo.openeuler.org/openEuler-22.03-LTS/everything/}} )
\item EPOL-main
(e.g. \href{http://repo.openeuler.org/openEuler-22.03-LTS/EPOL/main/}
{\color{blue}{http://repo.openeuler.org/openEuler-22.03-LTS/EPOL/main/}} )
\item EPOL-update
(e.g. \href{http://repo.openeuler.org/openEuler-22.03-LTS/EPOL/update/main}
{\color{blue}{http://repo.openeuler.org/openEuler-22.03-LTS/EPOL/update/main}} )
\end{itemize*}
{\color{purple}{OS}}, {\color{purple}{Everything}} and {\color{purple}{EPOL main}}
repositories are enabled by default.

One might replace {\color{blue}{http://repo.openeuler.org}} with any of the mirrors listed
To enable {\color{purple}{EPOL update}} repository on openEuler-22.03, run the following command:
\begin{lstlisting}[language=bash,keywords={},basicstyle=\fontencoding{T1}\fontsize{7.6}{10}\ttfamily,
literate={ARCH}{\arch{}}1 {-}{-}1]
[sms](*\#*) \install https://eur.openeuler.openatom.cn/results/mgrigorov/OpenHPC/openeuler-22.03_LTS-ARCH/00091098-openeuler-extra-repos/openeuler-extra-repos-22.03-LTS.noarch.rpm
\end{lstlisting}

By default all repositories use {\color{blue}{http://repo.openeuler.org}}.
For better network speed it could be replaced with any of the mirrors listed
\href{https://www.openeuler.org/en/mirror/list/}{\color{blue}{here}}

0 comments on commit 5caa922

Please sign in to comment.