0

Hello everyone I am new in using Ubuntu operating system and facing a problem.

I have installed GCC using

sudo apt-get install gcc

but when I run the following command

sudo apt-get install makefile 

it shows me error "Unable to locate package makefile"

1 Answer 1

1

A makefile is just a file that is read and processed by the make command.

In turn, the make command is provided by package make. So your command should be

sudo apt install make
3
  • 3
    Or even better, sudo apt install build-essential
    – chili555
    Commented Apr 26, 2020 at 23:10
  • I have already done it but when I run the sudo apt-get install mpich2. It again gives the same error Unable to locate package mpich2
    – Bilal
    Commented Apr 27, 2020 at 20:36
  • @Bilal you probably want the package named mpich. You will need to enable the universe repository. Commented Apr 27, 2020 at 21:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .