Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am extremely new to Ubuntu and Linux in general. I accidentally replaced /usr/bin/make with another executable and now I need to fix this. Any help will be highly appreciated.

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Open a terminal and run sudo apt-get --reinstall install make.

Tip: It isn't easy to "accidentally" overwrite files in /usr/bin unless you are logged in as root. Please try to use sudo instead.

share|improve this answer
add comment

No issues. /usr/bin/make is provided by package 'make' just try

sudo apt-get --reinstall install make

In future, you can find which package provides the binaries u want using http://packages.ubuntu.com/ and then putting binary name in Search the contents of packages

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.