# make
cc -Wall shc.c -o shc
make: cc: No such file or directory
make: *** [makefile:31: shc] Error 127
Fix:
The 127 error shows up when a command is not found, in my case, as you can see the cc command is not found, so we need to get the gcc package installed on my Ubuntu Linux.
# apt install gcc
Once I installed gcc the error was fixed.
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to Ubuntu,
- Fix - sudo: systemctl: command not found
- How to know the version of Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- How to install Apache Maven on Ubuntu
- Steps to Kill a Running Process in Ubuntu Linux
- How to know current Ubuntu Linux version via terminal command
- How to stop/start/restart apache server using command [Ubuntu]
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
- Ubuntu: How to search for a package to install using apt in Terminal
- Fix: E: Command line option --installed is not understood in combination with the other options
- How to install Python on Ubuntu
- Ubuntu Linux: How to Login as root User
- Access Windows share folder in Ubuntu Device in Network
- Add a User as a Sudoer Using Ubuntu Linux Command Line Terminal
- Install Oh My Zsh on Ubuntu Docker complete steps
- Fix: Make makefile:31 Error 127 (GCC)
- [fix] openssl No such file or directory error C++
- How to install zsh shell on Ubuntu
- Install Golang (Go) on Ubuntu
- Ubuntu Linux: Unzip a zip file using Terminal
- Where are Environment Variables stored in Ubuntu
- apt-get list --installed packages in Ubuntu Linux
- Ubuntu: List all Installed Packages using apt
- Quick steps to install Nginx on Ubuntu Linux
- How to kill service running on a port on Ubuntu Linux
More Posts:
- Python: Merge two dictionaries into one dictionary - Python
- How to undo last Git Commit on Local Repository? - Git
- Execute .bin and .run file Ubuntu Linux - Linux
- SwissCovid App Launched in Switzerland - News
- Not receiving email notification alert in SharePoint Online workflow - Power Automate, FLOW - SharePoint
- List of jar files for Jax-ws (SOAP) based Java Web Services - Java
- How to Print to stderr in Python - Python
- Using Java 8 Predicate with 2 Arguments Example - Java