Linux Tutorial
Getting make command not found error when running make command inside my project directory.
test-user@localhost project1r]$ make run
Getting this below error,
bash: make: command not found... Install package 'make' to provide command 'make'? [N/y] y * Waiting in queue... The following packages have to be installed: make-1:4.3-7.el9.x86_64 A GNU tool which simplifies the build process for users Proceed with changes? [N/y] y * Waiting in queue... * Waiting for authentication... Failed to install packages: Failed to obtain authentication.
Using yum install command in centos linux, we can install make package.
[test-user@localhost project1r]$ sudo yum install make
Last metadata expiration check: 0:18:28 ago on Wed 15 Mar 2023 12:12:41 PM CET. Dependencies resolved. ============================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================= Installing: make x86_64 1:4.3-7.el9 beaker-BaseOS 538 k Transaction Summary ============================================================================================================================================================================= Install 1 Package Total download size: 538 k Installed size: 1.6 M Is this ok [y/N]: y Downloading Packages: make-4.3-7.el9.x86_64.rpm 738 kB/s | 538 kB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 736 kB/s | 538 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : make-1:4.3-7.el9.x86_64 1/1 Running scriptlet: make-1:4.3-7.el9.x86_64 1/1 Verifying : make-1:4.3-7.el9.x86_64 1/1 Installed: make-1:4.3-7.el9.x86_64 Complete!
recheck make command working or not once installed.
test-user@localhost project1r]$ make run
Now working.
Linux Tutorial
Privacy Policy | Copyright2020 - All Rights Reserved. | Contact us | Report website issues in Github | Facebook page | Google+ page