How To Install gyp on Rocky Linux 8
Introduction
In this tutorial we learn how to install gyp on Rocky Linux 8.
What is gyp
GYP is a tool to generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format. Its syntax is a universal cross-platform build representation that still allows sufficient per-platform flexibility to accommodate irreconcilable differences.
We can use yum or dnf to install gyp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gyp.
Install gyp on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gyp using dnf by running the following command:
sudo dnf -y install gyp
Install gyp on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gyp using yum by running the following command:
sudo yum -y install gyp
How To Uninstall gyp on Rocky Linux 8
To uninstall only the gyp package we can use the following command:
sudo dnf remove gyp
gyp Package Contents on Rocky Linux 8
/usr/bin/gyp
/usr/lib/python3.6/site-packages/gyp
/usr/lib/python3.6/site-packages/gyp-0.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/gyp-0.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/gyp-0.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/gyp-0.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/gyp-0.1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/gyp-0.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/gyp/MSVSNew.py
/usr/lib/python3.6/site-packages/gyp/MSVSProject.py
/usr/lib/python3.6/site-packages/gyp/MSVSSettings.py
/usr/lib/python3.6/site-packages/gyp/MSVSSettings_test.py
/usr/lib/python3.6/site-packages/gyp/MSVSToolFile.py
/usr/lib/python3.6/site-packages/gyp/MSVSUserFile.py
/usr/lib/python3.6/site-packages/gyp/MSVSUtil.py
/usr/lib/python3.6/site-packages/gyp/MSVSVersion.py
/usr/lib/python3.6/site-packages/gyp/__init__.py
/usr/lib/python3.6/site-packages/gyp/__pycache__
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSNew.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSNew.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSProject.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSProject.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSSettings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSSettings.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSSettings_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSSettings_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSToolFile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSToolFile.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSUserFile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSUserFile.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSUtil.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSUtil.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSVersion.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/MSVSVersion.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/common.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/common.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/common_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/common_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/easy_xml.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/easy_xml.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/easy_xml_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/easy_xml_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/flock_tool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/flock_tool.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/input.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/input.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/input_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/input_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/mac_tool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/mac_tool.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/msvs_emulation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/msvs_emulation.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/ninja_syntax.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/ninja_syntax.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/simple_copy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/simple_copy.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/win_tool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/win_tool.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xcode_emulation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xcode_emulation.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xcode_ninja.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xcode_ninja.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xcodeproj_file.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xcodeproj_file.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xml_fix.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/__pycache__/xml_fix.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/common.py
/usr/lib/python3.6/site-packages/gyp/common_test.py
/usr/lib/python3.6/site-packages/gyp/easy_xml.py
/usr/lib/python3.6/site-packages/gyp/easy_xml_test.py
/usr/lib/python3.6/site-packages/gyp/flock_tool.py
/usr/lib/python3.6/site-packages/gyp/generator
/usr/lib/python3.6/site-packages/gyp/generator/__init__.py
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/analyzer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/analyzer.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/cmake.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/cmake.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/dump_dependency_json.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/dump_dependency_json.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/eclipse.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/eclipse.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/gypd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/gypd.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/gypsh.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/gypsh.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/make.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/make.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/msvs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/msvs.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/msvs_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/msvs_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/ninja.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/ninja.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/ninja_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/ninja_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/xcode.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/xcode.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/xcode_test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gyp/generator/__pycache__/xcode_test.cpython-36.pyc
/usr/lib/python3.6/site-packages/gyp/generator/analyzer.py
/usr/lib/python3.6/site-packages/gyp/generator/cmake.py
/usr/lib/python3.6/site-packages/gyp/generator/dump_dependency_json.py
/usr/lib/python3.6/site-packages/gyp/generator/eclipse.py
/usr/lib/python3.6/site-packages/gyp/generator/gypd.py
/usr/lib/python3.6/site-packages/gyp/generator/gypsh.py
/usr/lib/python3.6/site-packages/gyp/generator/make.py
/usr/lib/python3.6/site-packages/gyp/generator/msvs.py
/usr/lib/python3.6/site-packages/gyp/generator/msvs_test.py
/usr/lib/python3.6/site-packages/gyp/generator/ninja.py
/usr/lib/python3.6/site-packages/gyp/generator/ninja_test.py
/usr/lib/python3.6/site-packages/gyp/generator/xcode.py
/usr/lib/python3.6/site-packages/gyp/generator/xcode_test.py
/usr/lib/python3.6/site-packages/gyp/input.py
/usr/lib/python3.6/site-packages/gyp/input_test.py
/usr/lib/python3.6/site-packages/gyp/mac_tool.py
/usr/lib/python3.6/site-packages/gyp/msvs_emulation.py
/usr/lib/python3.6/site-packages/gyp/ninja_syntax.py
/usr/lib/python3.6/site-packages/gyp/simple_copy.py
/usr/lib/python3.6/site-packages/gyp/win_tool.py
/usr/lib/python3.6/site-packages/gyp/xcode_emulation.py
/usr/lib/python3.6/site-packages/gyp/xcode_ninja.py
/usr/lib/python3.6/site-packages/gyp/xcodeproj_file.py
/usr/lib/python3.6/site-packages/gyp/xml_fix.py
/usr/share/doc/gyp
/usr/share/doc/gyp/AUTHORS
/usr/share/licenses/gyp
/usr/share/licenses/gyp/LICENSE
References
Summary
In this tutorial we learn how to install gyp on Rocky Linux 8 using yum and dnf.