How To Install git-mediawiki on Ubuntu 20.04
Introduction
In this tutorial we learn how to install git-mediawiki
on Ubuntu 20.04.
What is git-mediawiki
git-mediawiki is:
Git is popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel.
Git falls in the category of distributed source code management tools. Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server.
This package provides the mediawiki remote helper, which allows Git to read from and write to a wiki such as Wikipedia as though it were a remote Git repository, and a ‘git mw’ command that can show a preview of how wiki markup will be rendered before pushing.
Package: git-mediawiki Architecture: all Version: 1:2.25.1-1ubuntu3 Multi-Arch: foreign Priority: optional Section: universe/vcs Source: git Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Jonathan Nieder [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 911 Depends: git (» 1:2.25.1), git (« 1:2.25.1-.), libmediawiki-api-perl (>= 0.39), liblwp-protocol-https-perl, libdatetime-format-iso8601-perl Suggests: mediawiki Filename: pool/universe/g/git/git-mediawiki_2.25.1-1ubuntu3_all.deb Size: 22344 MD5sum: 3f1a7917b8bb74d512ac1f1d7d97ca77 SHA1: 5bc6818c01dc10d03b58596d9527df25d8282b1c SHA256: 958dbaae9ce9d0bcf47cda274591611e5090e1e4fdd5b109ca6a90b2129906ef Homepage: https://git-scm.com/ Description-en: fast, scalable, distributed revision control system (MediaWiki remote helper) Git is popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel.
Git falls in the category of distributed source code management tools. Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server.
This package provides the mediawiki remote helper, which allows Git to read from and write to a wiki such as Wikipedia as though it were a remote Git repository, and a ‘git mw’ command that can show a preview of how wiki markup will be rendered before pushing.
There are three methods to install git-mediawiki
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install git-mediawiki Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install git-mediawiki
using apt-get
by running the following command:
sudo apt-get -y install git-mediawiki
Install git-mediawiki Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install git-mediawiki
using apt
by running the following command:
sudo apt -y install git-mediawiki
Install git-mediawiki Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install git-mediawiki
using aptitude
by running the following command:
sudo aptitude -y install git-mediawiki
How To Uninstall git-mediawiki on Ubuntu 20.04
To uninstall only the git-mediawiki
package we can use the following command:
sudo apt-get remove git-mediawiki
Uninstall git-mediawiki And Its Dependencies
To uninstall git-mediawiki
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove git-mediawiki
Remove git-mediawiki Configurations and Data
To remove git-mediawiki
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge git-mediawiki
Remove git-mediawiki configuration, data, and all of its dependencies
We can use the following command to remove git-mediawiki
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge git-mediawiki
References
Summary
In this tutorial we learn how to install git-mediawiki
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.