Having access to Ubuntu manual (man) pages on your server is a pretty essential asset to be familiar with. If you're not familiar with man pages, documentation is provided with software packages on Unix systems. They provide a sort of manual for applications, services, and system resources. You can learn more about man pages in our introductory article. By default on Ubuntu-based servers, this command is not provided. Since it's a great tool to have access to, this article will help you install man pages if you do not already have them.
Installing Man Pages on Ubuntu 16.04 LTS
By default most Linux based OS distributions will include the man command out of the box. In those cases you won't have to do much at all, if your installation doesn't include man pages then you're just a quick command away! The best way to check what situation you're in is to run the command, so we'll open up a command line terminal and run the following command.
So if you have the man command by default, you'll end up seeing the Ubuntu manuals for the man command. If you see this man page come up then you're all set and there is no need to do anything.
However, if your server doesn't have the man command available you'll see the following output.
-bash: man: command not found
If this is the case then you'll simply run the following commands to install man pages and get the man page command setup and ready to use.
apt update && apt upgrade && apt install man
Executing the command above will update your Ubuntu server's software repositories, upgrade the applications, and then install the man package. You now have access to the software man pages on your Ubuntu server.
As you install new software, and other packages that include man pages, the database will be updated and they'll be made available. For instance, if you install Nginx on your server immediately after the process is done you can open the man page.
Do you need a hosting provider that can assist you with tasks such as these? Contact our Sales team about hosting with Liquid Web and see if our Managed Hosting options and Scope of Support are right for you.
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.