How to Install and Uninstall mediawiki Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "mediawiki" package

In this section, we are going to explain the necessary steps to install mediawiki on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install mediawiki

2. Uninstall "mediawiki" package

This tutorial shows how to uninstall mediawiki on Debian 12 (Bookworm):

$ sudo apt remove mediawiki $ sudo apt autoclean && sudo apt autoremove

3. Information about the mediawiki package on Debian 12 (Bookworm)

Package: mediawiki
Version: 1:1.39.5-1~deb12u1
Installed-Size: 219256
Maintainer: MediaWiki packaging team
Architecture: all
Replaces: mediawiki-extensions-base, mediawiki-extensions-confirmedit, mediawiki-extensions-geshi, mediawiki-extensions-math (<= 2:1.0+git20120528-8)
Provides: mediawiki-extensions-confirmedit, mediawiki-extensions-geshi
Depends: apache2 | httpd, php (>= 2:7.4~), php-intl, php-json, php-mysql | php-pgsql | php-sqlite3 | php-mysqlnd, php-mbstring, php-xml, mediawiki-classes (= 1:1.39.5-1~deb12u1)
Recommends: default-mysql-server | virtual-mysql-server | postgresql-contrib | php-sqlite3, php-cli, php-apcu, php-curl, php-gmp, imagemagick | php-gd, php-readline, php-yaml, php-wikidiff2, python3-pygments, php-luasandbox | lua5.1
Suggests: memcached, clamav, firejail
Breaks: fusionforge-plugin-mediawiki (<< 5.2~rc1+1~), mediawiki-extensions (<< 2.8~), mediawiki-extensions-base, mediawiki-extensions-collection (<< 2.8~), mediawiki-extensions-confirmedit, mediawiki-extensions-fckeditor, mediawiki-extensions-geshi, mediawiki-extensions-graphviz (<< 2.8~), mediawiki-extensions-ldapauth (<< 2.8~), mediawiki-extensions-math (<= 2:1.0+git20120528-8), mediawiki-extensions-openid (<< 2.8~), mediawiki-skin-greystuff (<< 1.2.5~)
Description: website engine for collaborative work
Description-md5: ddcc60dd7124e88ede95f0010ec0906b
Homepage: https://www.mediawiki.org/
Tag: implemented-in::php, interface::web, made-of::html, network::service,
role::documentation, role::program, web::wiki, works-with-format::html,
works-with::db, works-with::text
Section: web
Priority: optional
Filename: pool/main/m/mediawiki/mediawiki_1.39.5-1~deb12u1_all.deb
Size: 34753960
MD5sum: ca0647814b9d5623ea4222da739cef16
SHA256: 2d2a62dedf7abde75fb3fc1dddb86f7c87918585604d5c964c00bd6998eb204e