There is no make command in Linux (make: *** No target specified and no makefile or make command installation method found)

There is no make command in Linux (make: *** No target specified and no makefile or make command installation method found)

Notice! ! !

This situation can actually be avoided during the installation of the virtual machine. Next time you test the virtual machine, just select the development tool.

insert image description here

Okay, let's get back to the topic. This time I'm going to help you solve the problem. First, enter make and you will see the following display:

insert image description here

In this case, if there is an Internet connection, you can directly enter yum -y install make to solve the problem. If there is no Internet connection, you need to download the source package online and upload it.

yum -y install make

Download from the following URL in an offline environment and upload to the Linux system via xftp

http://ftp.gnu.org/gnu/make/make-4.2.tar.gz

Installation steps: Unzip the tarball and go to the make-4.2 directory

tar -zxvf make-4.2.tar.gz 

insert image description here

Execute ./configure

./configure 

insert image description here

Type make, make install

makemake install

At this time, the make command has been installed. Enter make to compile the source code package. Note! ! ! ! If this method still doesn't work, it's because the system doesn't have gcc. You also need to install the gcc source package. Since the gcc source package has too many dependencies, I won't demonstrate it here. I'll leave a dependency chart. You can search the Internet for installation methods. If you have a network environment, enter yum -y install gcc.

insert image description here

Summarize

This is the end of this article about the problem of no make command in Linux (make: *** no target specified and no makefile found and how to install the make command). For more related content about no make command in Linux, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How to view and execute historical commands in Linux
  • Teach you to hide Linux command line history
  • Shell history command recording function in Linux
  • How to Communicate with Other Users on the Linux Command Line
  • Use of Linux telnet command
  • Linux gzip command compression file implementation principle and code examples
  • Detailed explanation of how to adjust Linux command history

<<:  The actual process of encapsulating axios in the project

>>:  How to export mysql table structure to excel

Recommend

18 common commands in MySQL command line

In daily website maintenance and management, a lo...

How to implement n-grid layout in CSS

Common application scenarios The interfaces of cu...

HTML commonly used meta encyclopedia (recommended)

The Meta tag is an auxiliary tag in the head area...

Detailed tutorial on installing SonarQube using Docker

Table of contents 1. Pull the image 1.1 Pull the ...

Six inheritance methods in JS and their advantages and disadvantages

Table of contents Preface Prototype chain inherit...

Detailed explanation of MySQL database transaction isolation levels

Database transaction isolation level There are 4 ...

Mini Program implements custom multi-level single-select and multiple-select

This article shares the specific code for impleme...

Specific use of Node.js package manager npm

Table of contents Purpose npm init and package.js...

Detailed explanation of commonly used nginx rewrite rules

This article provides some commonly used rewrite ...

Docker custom network implementation

Table of contents 1. Customize the network to rea...

Using CSS3 to create header animation effects

Netease Kanyouxi official website (http://kanyoux...

Vue3 list interface data display details

Table of contents 1. List interface display examp...

JavaScript Objects (details)

Table of contents JavaScript Objects 1. Definitio...