如何安装 gpm-static Fedora 36

在本教程中,我们学习如何安装 gpm-static Fedora 36. gpm-static 是gpm库的静态开发文件

介绍

在本教程中我们学习如何安装 gpm-static 在 Fedora 36.

什么是 gpm-static

gpm-static 软件包包含 gpm 的静态库。 gpm 为基于文本的鼠标提供支持 Linux 应用程序。

我们可以用 yum 或者 dnf 安装 gpm-static 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 gpm-static。

安装 gpm-static Fedora 36 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 gpm-static 使用 dnf 通过运行以下命令:

sudo dnf -y install gpm-static

安装 gpm-static Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 gpm-static 使用 yum 通过运行以下命令:

sudo yum -y install gpm-static

如何卸载 gpm-static Fedora 36

仅卸载 gpm-static 打包我们可以使用以下命令:

sudo dnf remove gpm-static

gpm-static 软件包内容 Fedora 36

---
title: "How To Install gpm-static on Fedora 36"
linkTitle: "gpm-static"
type: "docs"
description: "In this tutorial we learn how to install gpm-static in Fedora 36. gpm-static is Static development files for the gpm library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gpm-static-featured.png
---

## Introduction

In this tutorial we learn how to install `gpm-static` on Fedora 36.

### What is `gpm-static`

> The gpm-static package includes static libraries of gpm. The gpm provides mouse support to text-based Linux applications.  

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

## Install gpm-static on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 gpm-static 使用 dnf 通过运行以下命令:

sudo dnf -y install gpm-static

安装 gpm-static Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 gpm-static 使用 yum 通过运行以下命令:

sudo yum -y install gpm-static

如何卸载 gpm-static Fedora 36

仅卸载 gpm-static 打包我们可以使用以下命令:

sudo dnf remove gpm-static

gpm-static 软件包内容 Fedora 36

参考

概括

在本教程中我们学习如何安装 gpm-static 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。

/usr/lib/libgpm.a


## References

* [gpm-static website](https://www.nico.schottelius.org/software/gpm/)

## Summary

In this tutorial we learn how to install `gpm-static` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).