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:
<img alt="Open a Linux Terminal" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-337.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="454" src="data:image/svg xml,” width=”727″>
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:
<img alt="Check RAM with Free command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-338.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="532" loading="lazy" src="data:image/svg xml,” width=”727″>
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:
<img alt="Total available memory" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-339.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="534" loading="lazy" src="data:image/svg xml,” width=”731″>
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.