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

Vue Page Stack Manager Details

Table of contents 2. Tried methods 2.1 keep-alive...

Using MySQL database with Python 3.4 under Windows 7

The detailed process of using MySQL database with...

Summary of MySql storage engine and index related knowledge

Storage Engine What is a database storage engine?...

JavaScript to implement the function of changing avatar

This article shares the specific code of JavaScri...

What to do if you forget your mysql password

Forgot your MySQL password twice? At first I did ...

Introduction to several ways to introduce CSS in HTML

Table of contents 1. Embed CSS styles directly in...

Vue3.0 uses the vue-grid-layout plug-in to implement drag layout

Table of contents 1. Plugins 2. Interlude 3. Impl...

JS implementation of Apple calculator

This article example shares the specific code of ...

How to use docker+devpi to build local pypi source

Some time ago, I needed to use pip downloads freq...

Install Ubuntu 18 without USB drive under Windows 10 using EasyUEFI

1. Check BIOS First check which startup mode your...

How to use VUE and Canvas to implement a Thunder Fighter typing game

Today we are going to implement a Thunder Fighter...

HTML5+CSS3 header creation example and update

Last time, we came up with two header layouts, on...

Handwritten Vue2.0 data hijacking example

Table of contents 1: Build webpack 2. Data hijack...