Depending on the Linux system, the make command may or may not be installed. Additionally, as this issue is common with codespace, we’ve also listed a relevant fix for that. Do let me know in the comments if you ever encounted such an 'unexepected error'. As stated, you should ensure make is actually installed and present in the PATH variable. Perhaps I am one of the rare few users who encountered this missing man command issue in Arch. Should I add it to the list of things to do after installing Arch Linux? Not sure. Never imagined that I would have to install them explicitely. This did come as shock to me because I always thought that manpages were a core part of Linux. Once that is done, I was able to use the man command as usual. sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl. It will look for the manual pages at different locations and build the cache so that you can access the man pages quickly. Install kubectl binary with curl on Linux Install kubectl. To refresh or build the man page cache, run the mandb command: sudo mandb It is also a wise step to build the cache for manpages. You can use your distribution's package manager to install it.įor Arch and Manjaro, use: sudo pacman -S man-dbįor Ubuntu and Debian, use: sudo apt install man-dbįor Red Hat Linux, use: sudo yum install man-db The key here is that the package that installs the man pages is named man-db. Which is good in a way, as you discover things you never encountered before. But Arch Linux puts you in uncharted territory. I never imagined that I would have to install man pages explictely. Update mandb cache (for indexing the man pages for all commands).Install man-db package (to install man pages).If you find yourself in a similar situation where man command is not found, let me assure you that t he fix is easy: ![]() It baffled me because I have never been in a situation before where man command was not available to use. It showed me this error:Īnd it was not just for pacman but for all commands, of course. What happened next shocked me (yeah! I have been reading BuzzFeed □). ![]() I had forgotten the usage of the pacman command so I tried accessing its man page. ![]() After years, I have been experimenting with Arch Linux again.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |