When you want to install a new program on your computer, the very first thing you ask is the amount of memory this program needs to work perfectly. The reason for this is that before the actual installation, you need to make sure whether your computer system is capable of running the program or not. Also, you need to know how much memory is installed in your system. In this article, we will explain how you can check how much memory is installed on your Ubuntu server or desktop. The commands have been run on an Ubuntu 20.04 system, but they will work in the same way on Ubuntu 22.04.

How much RAM is installed on Ubuntu?

To check how much memory is installed in your Ubuntu server or desktop, you need to perform the following steps:

First, you need to launch the terminal in Ubuntu or connect to your server by SSH. To do this, you can press Ctrl+T or click the activities icon on your desktop and then type terminal in the search bar that appears and double-click the search results to launch the terminal. You can also right-click on your desktop and then select Open Terminal from the menu that pops up. The newly launched terminal window can be seen in the figure below:

Open a Linux Terminal

Now type the following command in your terminal and then press the Enter key:

free -h

This command is also highlighted in the following image:

Check RAM with Free command

As soon as you will run this command, you will be able to see the amount of RAM installed on your Ubuntu 20.04 along with a few other statistics as highlighted in the image shown below:

Total available memory

Conclusion

This guide shows an easy way to know the exact amount of RAM installed on your Ubuntu server or desktop and also the available and used RAM. In this way, you can easily find out if your system is capable of running a particular program or not by simply checking the RAM installed on it.

How much RAM is installed on your Ubuntu system