{"id":12481,"date":"2021-11-28T18:37:20","date_gmt":"2021-11-28T18:37:20","guid":{"rendered":"https:\/\/linuxways.net\/?p=12481"},"modified":"2021-11-28T18:37:20","modified_gmt":"2021-11-28T18:37:20","slug":"how-to-install-make-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-make-on-ubuntu-20-04\/","title":{"rendered":"How to Install Make on Ubuntu 20.04"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>The make command in Linux allows users to compile and manage applications and files from source code. Developers can use the terminal to install different programs. It also reduces the time required for compilation. The main job of the make command is to split a large program into small programs that need to be recompiled. It also provides instructions for doing this.<\/p>\n<p>Here we will show you how to install make on Ubuntu 20.04 as we did below. Hope you understand.<\/p>\n<h2>Installing the Make package<\/h2>\n<p><strong>Step 1<\/strong> &#8211; Update the package:<\/p>\n<p>Run:<\/p>\n<pre>$ sudo apt update<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1042\" height=\"127\" class=\"wp-image-12482\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-539.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-539.png 1042w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-539-300x37.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-539-1024x125.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-539-768x94.png 768w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/p>\n<p>This is important because it helps to update the packages on your machine to a newer version.<\/p>\n<p><strong>Step 2<\/strong> &#8211; Check if make is installed<\/p>\n<p>Run the following command:<\/p>\n<pre>$ make -version<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1041\" height=\"170\" class=\"wp-image-12483\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-540.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-540.png 1041w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-540-300x49.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-540-1024x167.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-540-768x125.png 768w\" sizes=\"auto, (max-width: 1041px) 100vw, 1041px\" \/><\/p>\n<p>If it looks like this, it means you already have make.<\/p>\n<p>You can install make by:<\/p>\n<pre>$ sudo apt install make<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"166\" class=\"wp-image-12484\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-541.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-541.png 1040w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-541-300x48.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-541-1024x163.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-541-768x123.png 768w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/p>\n<p><strong>Step 3<\/strong> &#8211; Create make directory<\/p>\n<p>If you want to use the make package, you must have a make directory. Check by:<\/p>\n<pre>$ ls \/usr\/bin\/make<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1043\" height=\"71\" class=\"wp-image-12485\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-542.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-542.png 1043w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-542-300x20.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-542-1024x70.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-542-768x52.png 768w\" sizes=\"auto, (max-width: 1043px) 100vw, 1043px\" \/><\/p>\n<p>If it looks like this it means yes.<\/p>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1041\" height=\"65\" class=\"wp-image-12486\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-543.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-543.png 1041w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-543-300x19.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-543-1024x64.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-543-768x48.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-543-1020x65.png 1020w\" sizes=\"auto, (max-width: 1041px) 100vw, 1041px\" \/><\/p>\n<p>If it looks like this, it means no.<\/p>\n<p><strong>Step 3 <\/strong>&#8211; Installing build-essential package<\/p>\n<p>You will get rid of the above error if you install this package.<\/p>\n<pre>$ sudo apt install build-essential<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1042\" height=\"147\" class=\"wp-image-12487\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-544.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-544.png 1042w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-544-300x42.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-544-1024x144.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-544-768x108.png 768w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>We have shown you how to install make on Ubuntu 20.04.<\/p>\n<p>Thanks for referring!<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction The make command in Linux allows users to compile and manage applications and files from source code. Developers can use the terminal to install different programs. It&hellip;<\/p>","protected":false},"author":1,"featured_media":12532,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[711,100],"class_list":["post-12481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-make","tag-ubuntu-20-04"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=12481"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12481\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/12532"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=12481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=12481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=12481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}