Home > OS >  The problems in the Linux centos learning (primary)
The problems in the Linux centos learning (primary)

Time:10-08

Download the installation package installation is minimal, when back to download greatest tutorial says,

There was a - bash: (1) locate and updatedb the locate command not found.
Reason: could not find this command, you need to install the software, and didn't locate the software, can only be installed mlcoate.
Solution: the root permission to run yum install mlocate or under the ordinary users executing sudo yum install mlocate
(note that after downloading the mlocate need updatedb command updates)

(2) cannot use GCC to compile the same of prompting didn't find this command,
Solution: install GCC with yum command under the root install gcc1 to install, after the completion of the can compile,



Conclusion: couldn't find command case is probably not installed the program can use the yum install program installation time,

Post for the first time, just want to record their own learning and convenient after the review,
  • Related