How To Install rust-python-launcher-devel on Fedora 36

In this tutorial we learn how to install rust-python-launcher-devel in Fedora 36. rust-python-launcher-devel is Python launcher for Unix

Introduction

In this tutorial we learn how to install rust-python-launcher-devel on Fedora 36.

What is rust-python-launcher-devel

The Python Launcher for Unix. Launch your Python interpreter the lazy/smart way! This launcher is an implementation of the py command for Unix-based platforms. The goal is to have py become the cross-platform command that Python users typically use to launch an interpreter while doing development. By having a command that is version-agnostic when it comes to Python, it side-steps the “what should the python command point to?” debate by clearly specifying that upfront (i.e. the newest version of Python that can be found). This also unifies the suggested command to document for launching Python on both Windows as Unix as py has existed as the preferred command on Windows since 2012 with the release of Python 3.3. Typical usage would be py -m venv .venv py … # Whatever you would normally use python for during development. This creates a virtual environment in a .venv directory using the latest version of Python installed. Subsequent uses of py will then use that virtual environment as long as it is in the current (or higher) directory; no environment activation required (although the Python Launcher supports activated environments as well)! A non-goal of this launcher is to become the way to launch the Python interpreter all the time. If you know the exact interpreter you want to launch then you should launch it directly; same goes for when you have requirements on the type of interpreter you want. The Python Launcher should be viewed as a tool of convenience, not necessity. This package contains library source intended for building other packages which use the “python-launcher” crate.

We can use yum or dnf to install rust-python-launcher-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-python-launcher-devel.

Install rust-python-launcher-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rust-python-launcher-devel using dnf by running the following command:

sudo dnf -y install rust-python-launcher-devel

Install rust-python-launcher-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rust-python-launcher-devel using yum by running the following command:

sudo yum -y install rust-python-launcher-devel

How To Uninstall rust-python-launcher-devel on Fedora 36

To uninstall only the rust-python-launcher-devel package we can use the following command:

sudo dnf remove rust-python-launcher-devel

rust-python-launcher-devel Package Contents on Fedora 36

/usr/share/cargo/registry/python-launcher-1.0.0
/usr/share/cargo/registry/python-launcher-1.0.0/.cargo-checksum.json
/usr/share/cargo/registry/python-launcher-1.0.0/CHANGELOG.md
/usr/share/cargo/registry/python-launcher-1.0.0/CODE_OF_CONDUCT.md
/usr/share/cargo/registry/python-launcher-1.0.0/CONTRIBUTING.md
/usr/share/cargo/registry/python-launcher-1.0.0/Cargo.toml
/usr/share/cargo/registry/python-launcher-1.0.0/LICENSE
/usr/share/cargo/registry/python-launcher-1.0.0/README.md
/usr/share/cargo/registry/python-launcher-1.0.0/benches
/usr/share/cargo/registry/python-launcher-1.0.0/benches/list.rs
/usr/share/cargo/registry/python-launcher-1.0.0/src
/usr/share/cargo/registry/python-launcher-1.0.0/src/HELP.txt
/usr/share/cargo/registry/python-launcher-1.0.0/src/cli.rs
/usr/share/cargo/registry/python-launcher-1.0.0/src/lib.rs
/usr/share/cargo/registry/python-launcher-1.0.0/src/main.rs
/usr/share/cargo/registry/python-launcher-1.0.0/tests
/usr/share/cargo/registry/python-launcher-1.0.0/tests/cli_system_tests.rs
/usr/share/cargo/registry/python-launcher-1.0.0/tests/common
/usr/share/cargo/registry/python-launcher-1.0.0/tests/common/mod.rs
/usr/share/cargo/registry/python-launcher-1.0.0/tests/lib_system_tests.rs
/usr/share/cargo/registry/python-launcher-1.0.0/tests/main_tests.rs
/usr/share/doc/rust-python-launcher-devel
/usr/share/doc/rust-python-launcher-devel/CHANGELOG.md
/usr/share/doc/rust-python-launcher-devel/README.md
/usr/share/licenses/rust-python-launcher-devel
/usr/share/licenses/rust-python-launcher-devel/LICENSE

References

Summary

In this tutorial we learn how to install rust-python-launcher-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).