How To Install gyp on Fedora 34
Introduction
In this tutorial we learn how to install gyp
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gyp.
Install gyp on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gyp
using dnf
by running the following command:
sudo dnf -y install gyp
Install gyp on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the gyp
package we can use the following command:
sudo dnf remove gyp
gyp Package Contents on Fedora 34
/usr/bin/gyp
/usr/lib/python3.9/site-packages/gyp
/usr/lib/python3.9/site-packages/gyp-0.1-py3.9.egg-info
/usr/lib/python3.9/site-packages/gyp-0.1-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/gyp-0.1-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/gyp-0.1-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/gyp-0.1-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/gyp-0.1-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/gyp/MSVSNew.py
/usr/lib/python3.9/site-packages/gyp/MSVSProject.py
/usr/lib/python3.9/site-packages/gyp/MSVSSettings.py
/usr/lib/python3.9/site-packages/gyp/MSVSSettings_test.py
/usr/lib/python3.9/site-packages/gyp/MSVSToolFile.py
/usr/lib/python3.9/site-packages/gyp/MSVSUserFile.py
/usr/lib/python3.9/site-packages/gyp/MSVSUtil.py
/usr/lib/python3.9/site-packages/gyp/MSVSVersion.py
/usr/lib/python3.9/site-packages/gyp/__init__.py
/usr/lib/python3.9/site-packages/gyp/__pycache__
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSNew.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSNew.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSProject.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSProject.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSSettings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSSettings.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSSettings_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSSettings_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSToolFile.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSToolFile.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSUserFile.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSUserFile.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSUtil.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSUtil.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSVersion.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/MSVSVersion.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/common.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/common.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/common_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/common_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/easy_xml.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/easy_xml.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/easy_xml_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/easy_xml_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/flock_tool.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/flock_tool.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/input.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/input.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/input_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/input_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/mac_tool.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/mac_tool.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/msvs_emulation.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/msvs_emulation.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/ninja_syntax.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/ninja_syntax.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/simple_copy.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/simple_copy.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/win_tool.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/win_tool.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xcode_emulation.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xcode_emulation.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xcode_ninja.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xcode_ninja.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xcodeproj_file.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xcodeproj_file.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xml_fix.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/__pycache__/xml_fix.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/common.py
/usr/lib/python3.9/site-packages/gyp/common_test.py
/usr/lib/python3.9/site-packages/gyp/easy_xml.py
/usr/lib/python3.9/site-packages/gyp/easy_xml_test.py
/usr/lib/python3.9/site-packages/gyp/flock_tool.py
/usr/lib/python3.9/site-packages/gyp/generator
/usr/lib/python3.9/site-packages/gyp/generator/__init__.py
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/analyzer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/analyzer.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/cmake.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/cmake.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/dump_dependency_json.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/dump_dependency_json.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/eclipse.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/eclipse.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/gypd.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/gypd.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/gypsh.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/gypsh.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/make.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/make.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/msvs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/msvs.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/msvs_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/msvs_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/ninja.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/ninja.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/ninja_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/ninja_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/xcode.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/xcode.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/xcode_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/gyp/generator/__pycache__/xcode_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/gyp/generator/analyzer.py
/usr/lib/python3.9/site-packages/gyp/generator/cmake.py
/usr/lib/python3.9/site-packages/gyp/generator/dump_dependency_json.py
/usr/lib/python3.9/site-packages/gyp/generator/eclipse.py
/usr/lib/python3.9/site-packages/gyp/generator/gypd.py
/usr/lib/python3.9/site-packages/gyp/generator/gypsh.py
/usr/lib/python3.9/site-packages/gyp/generator/make.py
/usr/lib/python3.9/site-packages/gyp/generator/msvs.py
/usr/lib/python3.9/site-packages/gyp/generator/msvs_test.py
/usr/lib/python3.9/site-packages/gyp/generator/ninja.py
/usr/lib/python3.9/site-packages/gyp/generator/ninja_test.py
/usr/lib/python3.9/site-packages/gyp/generator/xcode.py
/usr/lib/python3.9/site-packages/gyp/generator/xcode_test.py
/usr/lib/python3.9/site-packages/gyp/input.py
/usr/lib/python3.9/site-packages/gyp/input_test.py
/usr/lib/python3.9/site-packages/gyp/mac_tool.py
/usr/lib/python3.9/site-packages/gyp/msvs_emulation.py
/usr/lib/python3.9/site-packages/gyp/ninja_syntax.py
/usr/lib/python3.9/site-packages/gyp/simple_copy.py
/usr/lib/python3.9/site-packages/gyp/win_tool.py
/usr/lib/python3.9/site-packages/gyp/xcode_emulation.py
/usr/lib/python3.9/site-packages/gyp/xcode_ninja.py
/usr/lib/python3.9/site-packages/gyp/xcodeproj_file.py
/usr/lib/python3.9/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 Fedora 34 using yum and dnf.