Hi Joseph,

On 1/9/21 7:07 PM, Joseph Nuthalapati wrote:
However, the Debian package for MediaWiki installs mariadb server,
client and libraries for PHP and Perl. The MariaDB daemon consumes 80-90
MB of memory which is a lot to spare on Single Board Computers.
Similarly, it also installs PostgreSQL server, client and libraries.

MediaWiki currently "Recommends" MariaDB/postgres, it's not a hard dependency. I do believe that for most users MariaDB is the best option and should be installed by default, but understand and agree that for FreedomBox SQLite is a better choice.

It is possible to install mediawiki without mariadb and postgreql using
the following command, but one has to guess the version numbers correctly.

The easiest and most foolproof way would be:

# apt install mediawiki --no-install-recommends

# apt install mediawiki mariadb-server-10.5- postgresql-13-

On Buster (didn't try unstable yet), the following seems to work as well:

# apt install mediawiki default-mysql-server-

You probably also want to install php-sqlite3 explicitly so php-mysql isn't pulled in.

Maybe a package like mediawiki-sqlite which doesn't install the other
databases would help.

I would be open to such a solution if we can't figure it out another way.

-- Kunal

Reply via email to