How To Install gn-doc on Rocky Linux 8

In this tutorial we learn how to install gn-doc on Rocky Linux 8. gn-doc is Documentation for GN

Introduction

In this tutorial we learn how to install gn-doc on Rocky Linux 8.

What is gn-doc

The gn-doc package contains detailed documentation for GN.

We can use yum or dnf to install gn-doc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gn-doc.

Install gn-doc 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 gn-doc using dnf by running the following command:

sudo dnf -y install gn-doc

Install gn-doc 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 gn-doc using yum by running the following command:

sudo yum -y install gn-doc

How To Uninstall gn-doc on Rocky Linux 8

To uninstall only the gn-doc package we can use the following command:

sudo dnf remove gn-doc

gn-doc Package Contents on Rocky Linux 8

/usr/share/doc/gn-doc
/usr/share/doc/gn-doc/AUTHORS
/usr/share/doc/gn-doc/OWNERS
/usr/share/doc/gn-doc/README-vim.html
/usr/share/doc/gn-doc/README-vim.md
/usr/share/doc/gn-doc/README.html
/usr/share/doc/gn-doc/README.md
/usr/share/doc/gn-doc/docs
/usr/share/doc/gn-doc/docs/cross_compiles.html
/usr/share/doc/gn-doc/docs/cross_compiles.md
/usr/share/doc/gn-doc/docs/faq.html
/usr/share/doc/gn-doc/docs/faq.md
/usr/share/doc/gn-doc/docs/language.html
/usr/share/doc/gn-doc/docs/language.md
/usr/share/doc/gn-doc/docs/quick_start.html
/usr/share/doc/gn-doc/docs/quick_start.md
/usr/share/doc/gn-doc/docs/reference.html
/usr/share/doc/gn-doc/docs/reference.md
/usr/share/doc/gn-doc/docs/standalone.html
/usr/share/doc/gn-doc/docs/standalone.md
/usr/share/doc/gn-doc/docs/style_guide.html
/usr/share/doc/gn-doc/docs/style_guide.md
/usr/share/doc/gn-doc/examples
/usr/share/doc/gn-doc/examples/ios
/usr/share/doc/gn-doc/examples/ios/.gitignore
/usr/share/doc/gn-doc/examples/ios/.gn
/usr/share/doc/gn-doc/examples/ios/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/app
/usr/share/doc/gn-doc/examples/ios/app/AppDelegate.h
/usr/share/doc/gn-doc/examples/ios/app/AppDelegate.m
/usr/share/doc/gn-doc/examples/ios/app/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/app/Bar.swift
/usr/share/doc/gn-doc/examples/ios/app/Baz.swift
/usr/share/doc/gn-doc/examples/ios/app/Foo-Bridging-Header.h
/usr/share/doc/gn-doc/examples/ios/app/Foo.swift
/usr/share/doc/gn-doc/examples/ios/app/FooWrapper.swift
/usr/share/doc/gn-doc/examples/ios/app/SceneDelegate.h
/usr/share/doc/gn-doc/examples/ios/app/SceneDelegate.m
/usr/share/doc/gn-doc/examples/ios/app/ViewController.h
/usr/share/doc/gn-doc/examples/ios/app/ViewController.m
/usr/share/doc/gn-doc/examples/ios/app/main.m
/usr/share/doc/gn-doc/examples/ios/app/resources
/usr/share/doc/gn-doc/examples/ios/app/resources/Info.plist
/usr/share/doc/gn-doc/examples/ios/app/resources/LaunchScreen.storyboard
/usr/share/doc/gn-doc/examples/ios/app/resources/Main.storyboard
/usr/share/doc/gn-doc/examples/ios/build
/usr/share/doc/gn-doc/examples/ios/build/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/build/BUILDCONFIG.gn
/usr/share/doc/gn-doc/examples/ios/build/config
/usr/share/doc/gn-doc/examples/ios/build/config/ios
/usr/share/doc/gn-doc/examples/ios/build/config/ios/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/build/config/ios/bundle_identifier_prefix.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/deployment_target.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/resources
/usr/share/doc/gn-doc/examples/ios/build/config/ios/resources/Entitlements-Simulated.plist
/usr/share/doc/gn-doc/examples/ios/build/config/ios/resources/Info.plist
/usr/share/doc/gn-doc/examples/ios/build/config/ios/resources/compiler-Info.plist
/usr/share/doc/gn-doc/examples/ios/build/config/ios/scripts
/usr/share/doc/gn-doc/examples/ios/build/config/ios/scripts/compile_storyboard.py
/usr/share/doc/gn-doc/examples/ios/build/config/ios/scripts/find_app_identifier_prefix.py
/usr/share/doc/gn-doc/examples/ios/build/config/ios/scripts/generate_umbrella_header.py
/usr/share/doc/gn-doc/examples/ios/build/config/ios/scripts/merge_plist.py
/usr/share/doc/gn-doc/examples/ios/build/config/ios/scripts/sdk_info.py
/usr/share/doc/gn-doc/examples/ios/build/config/ios/sdk_info.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/templates
/usr/share/doc/gn-doc/examples/ios/build/config/ios/templates/ios_app_bundle.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/templates/ios_binary_bundle.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/templates/ios_framework_bundle.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/templates/merge_plist.gni
/usr/share/doc/gn-doc/examples/ios/build/config/ios/templates/storyboards.gni
/usr/share/doc/gn-doc/examples/ios/build/toolchain
/usr/share/doc/gn-doc/examples/ios/build/toolchain/apple
/usr/share/doc/gn-doc/examples/ios/build/toolchain/apple/swiftc.py
/usr/share/doc/gn-doc/examples/ios/build/toolchain/ios
/usr/share/doc/gn-doc/examples/ios/build/toolchain/ios/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/build/toolchain/mac
/usr/share/doc/gn-doc/examples/ios/build/toolchain/mac/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/host
/usr/share/doc/gn-doc/examples/ios/host/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/host/main.cc
/usr/share/doc/gn-doc/examples/ios/shared
/usr/share/doc/gn-doc/examples/ios/shared/BUILD.gn
/usr/share/doc/gn-doc/examples/ios/shared/hello_shared.h
/usr/share/doc/gn-doc/examples/ios/shared/hello_shared.m
/usr/share/doc/gn-doc/examples/rust_example
/usr/share/doc/gn-doc/examples/rust_example/.gn
/usr/share/doc/gn-doc/examples/rust_example/BUILD.gn
/usr/share/doc/gn-doc/examples/rust_example/BUILDCONFIG.gn
/usr/share/doc/gn-doc/examples/rust_example/README.txt
/usr/share/doc/gn-doc/examples/rust_example/build
/usr/share/doc/gn-doc/examples/rust_example/build/BUILD.gn
/usr/share/doc/gn-doc/examples/rust_example/hello_world
/usr/share/doc/gn-doc/examples/rust_example/hello_world/bar
/usr/share/doc/gn-doc/examples/rust_example/hello_world/bar/src
/usr/share/doc/gn-doc/examples/rust_example/hello_world/bar/src/BUILD.gn
/usr/share/doc/gn-doc/examples/rust_example/hello_world/bar/src/lib.rs
/usr/share/doc/gn-doc/examples/rust_example/hello_world/foo
/usr/share/doc/gn-doc/examples/rust_example/hello_world/foo/src
/usr/share/doc/gn-doc/examples/rust_example/hello_world/foo/src/BUILD.gn
/usr/share/doc/gn-doc/examples/rust_example/hello_world/foo/src/lib.rs
/usr/share/doc/gn-doc/examples/rust_example/hello_world/src
/usr/share/doc/gn-doc/examples/rust_example/hello_world/src/BUILD.gn
/usr/share/doc/gn-doc/examples/rust_example/hello_world/src/main.rs
/usr/share/doc/gn-doc/examples/simple_build
/usr/share/doc/gn-doc/examples/simple_build/.gn
/usr/share/doc/gn-doc/examples/simple_build/BUILD.gn
/usr/share/doc/gn-doc/examples/simple_build/README.html
/usr/share/doc/gn-doc/examples/simple_build/README.md
/usr/share/doc/gn-doc/examples/simple_build/build
/usr/share/doc/gn-doc/examples/simple_build/build/BUILD.gn
/usr/share/doc/gn-doc/examples/simple_build/build/BUILDCONFIG.gn
/usr/share/doc/gn-doc/examples/simple_build/build/toolchain
/usr/share/doc/gn-doc/examples/simple_build/build/toolchain/BUILD.gn
/usr/share/doc/gn-doc/examples/simple_build/hello.cc
/usr/share/doc/gn-doc/examples/simple_build/hello_shared.cc
/usr/share/doc/gn-doc/examples/simple_build/hello_shared.h
/usr/share/doc/gn-doc/examples/simple_build/hello_static.cc
/usr/share/doc/gn-doc/examples/simple_build/hello_static.h
/usr/share/doc/gn-doc/examples/simple_build/tutorial
/usr/share/doc/gn-doc/examples/simple_build/tutorial/README.html
/usr/share/doc/gn-doc/examples/simple_build/tutorial/README.md
/usr/share/doc/gn-doc/examples/simple_build/tutorial/tutorial.cc
/usr/share/doc/gn-doc/infra
/usr/share/doc/gn-doc/infra/README.recipes.html
/usr/share/doc/gn-doc/infra/README.recipes.md
/usr/share/doc/gn-doc/infra/config
/usr/share/doc/gn-doc/infra/config/recipes.cfg
/usr/share/doc/gn-doc/infra/config/refs.cfg
/usr/share/doc/gn-doc/infra/recipe_modules
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/__init__.py
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/api.py
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/examples
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/examples/full.expected
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/examples/full.expected/linux.json
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/examples/full.expected/mac.json
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/examples/full.expected/win.json
/usr/share/doc/gn-doc/infra/recipe_modules/macos_sdk/examples/full.py
/usr/share/doc/gn-doc/infra/recipe_modules/target
/usr/share/doc/gn-doc/infra/recipe_modules/target/__init__.py
/usr/share/doc/gn-doc/infra/recipe_modules/target/api.py
/usr/share/doc/gn-doc/infra/recipe_modules/target/examples
/usr/share/doc/gn-doc/infra/recipe_modules/target/examples/full.expected
/usr/share/doc/gn-doc/infra/recipe_modules/target/examples/full.expected/linux.json
/usr/share/doc/gn-doc/infra/recipe_modules/target/examples/full.expected/mac.json
/usr/share/doc/gn-doc/infra/recipe_modules/target/examples/full.expected/win.json
/usr/share/doc/gn-doc/infra/recipe_modules/target/examples/full.py
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/__init__.py
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/api.py
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/examples
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/examples/full.expected
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/examples/full.expected/linux.json
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/examples/full.expected/mac.json
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/examples/full.expected/win.json
/usr/share/doc/gn-doc/infra/recipe_modules/windows_sdk/examples/full.py
/usr/share/doc/gn-doc/infra/recipes
/usr/share/doc/gn-doc/infra/recipes.py
/usr/share/doc/gn-doc/infra/recipes/gn.expected
/usr/share/doc/gn-doc/infra/recipes/gn.expected/ci_linux.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/ci_mac.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/ci_win.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/cipd_exists.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/cipd_register.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/cq_linux.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/cq_mac.json
/usr/share/doc/gn-doc/infra/recipes/gn.expected/cq_win.json
/usr/share/doc/gn-doc/infra/recipes/gn.py
/usr/share/doc/gn-doc/tools
/usr/share/doc/gn-doc/tools/find_unreachable.py
/usr/share/licenses/gn-doc
/usr/share/licenses/gn-doc/LICENSE

References

Summary

In this tutorial we learn how to install gn-doc on Rocky Linux 8 using yum and dnf.