I am presently using Ubuntu 16.04 LTS and I want to install Mediawiki.I followed below link commands but it showing as 'mediawiki' has no installation candidate. You can see it on picture. https://help.ubuntu.com/community/MediaWiki
mediawiki package is no longer in the Ubuntu repository for 16.04 for a number of reasons, so we're left with having to install it manually.
Your webserver is configured to serve to port 80 on
localhost right now, with content from
/var/www/html. So, if we just install MediaWiki there, it'll be good enough.
Essentially you're just going to need to
cd over to that directory and download the latest version using the following command:
Then, we can extract this archive:
tar xvf mediawiki-1.27.1.tar.gz
From there, you can just navigate to
http://localhost/mediawiki-1.27.1/ in your browser and then follow the instructions given there to set it up. If you prefer, you can rename the folder to just
mediawiki if it makes it easier on you.
A newer version of MekiaWiki is available in 16.10 and you can follow the instructions here to install on 16.04. Note however that "mediawiki_1.27.0-1." are now "mediawiki_1.27.1-2" at this time.