This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

how to install mariadb 10.9.8 server on Ubuntu with no network?

Hi. I am Kiwan Cho, working for the company 'Onetec System' dealing with developing cyber security in South Korea.

I am begginer using Linux and database.

We try to install mariadb 10.9.8 version on ubuntu in condition of no network.

It is really complicated. I can not find any clue for that on Youtube or Google, etc...

please let me know how I can do.

We are going to do that job in very soon.

hope to get quick reply from you.

best regards.

Answer Answered by Daniel Black in this comment.

The rather quick version based on lack of ubuntu specification:

Fetch all the files from https://archive.mariadb.org/mariadb-10.9.8/repo/ubuntu/

wget --recursive --no-parent https://archive.mariadb.org/mariadb-10.9.8/repo/ubuntu/
wget  'https://mariadb.org/mariadb_release_signing_key.pgp'

On the off nework:

cp mariadb_release_signing_key.pgp /etc/apt/keyrings/mariadb-keyring.pgp

Create the file /etc/apt/sources.list.d/mariadb.sources

# MariaDB 10.9 repository list - created 2023-10-04 08:04 UTC
# https://mariadb.org/download/
X-Repolib-Name: MariaDB
Types: deb
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# URIs: https://deb.mariadb.org/10.9/ubuntu
#URIs: https://mirrors.xtom.ee/mariadb/repo/10.9/ubuntu
URIs: file:/path/to/repo/ubuntu
Suites: jammy
Components: main main/debug
Signed-By: /etc/apt/keyrings/mariadb-keyring.pgp

Adjust Suites as applicable.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.