Rocky Linux下安装meld

背景介绍:

meld是一款Linux系统下的用于 文件夹和文件的比对软件,非常常用;

故障现象:

输入安装命令后,sudo yum install meld,报错。

复制代码

12-31 22:12:17 ~]$ sudo yum install meld

Last metadata expiration check: 0:03:29 ago on Tue 31 Dec 2024 10:08:49 PM.

No match for argument: meld
Error: Unable to find a match: meld

故障原因:

系统缺少安装 EPEL 仓库.

解决办法:

安装 EPEL 仓库: sudo dnf install epel-release

再次输入安装命令后,一路选择yes,sudo yum install meld,

可以安装成功。

Have fun with Meld.

其他---我未验证:

除了 EPEL,以下是一些可以添加到 Rocky Linux 中的常用软件源:

RPM Fusion

  • 简介:是一个面向 Fedora 和 Red Hat Enterprise Linux 及其衍生版(如 CentOS、Rocky Linux)的社区维护软件仓库,由多个第三方仓库合并而成1。
  • 优势:分为免费(Free)仓库和非免费(Nonfree)仓库。免费仓库包含开源软件以及一些受法律限制的免费软件包;非免费仓库包含闭源或专有软件,如 NVIDIA 和 AMD 显卡驱动、多媒体编解码器等,能极大地丰富操作系统的功能性和兼容性1。
  • 安装方法
    • 安装 RPM Fusion 的 Free 仓库:sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
    • 安装 RPM Fusion 的 Nonfree 仓库:sudo dnf install https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm1。

Remi

  • 简介:包含了很多有用的 PHP 相关软件包以及其他常用软件。
  • 优势:对于需要特定版本 PHP 或其他相关软件,且在官方软件源中无法满足需求的用户来说非常实用。
  • 安装方法
    • 首先确保标准的 "extras" 仓库已启用:sudo dnf config-manager --set-enabled extras
    • 安装 EPEL 仓库:sudo dnf install epel-release
    • 安装 Remi 仓库:sudo dnf install https://rpms.remi.repo.net/enterprise/remi-release-8.rpm

Rocky Linux Extras

  • 简介:是 Rocky Linux 官方提供的额外软件仓库,包含了一些提供额外功能的软件包,但这些软件包未经过上游测试。
  • 优势:提供了一些在 BaseOS 和 AppStream 中没有的特殊功能软件,可进一步扩展系统功能。
  • 安装方法 :使用命令sudo dnf config-manager --set-enabled extras启用该仓库。

Google Cloud SDK

  • 简介:如果需要在 Rocky Linux 上使用 Google Cloud 相关服务和工具,就需要添加 Google Cloud SDK 软件源。
  • 优势:方便用户在 Rocky Linux 系统中直接安装和使用 Google Cloud 的各种命令行工具和开发库等。
  • 安装方法
    • 首先添加 Google Cloud 的软件源配置文件,例如将以下内容保存为google-cloud-sdk.repo文件并放入/etc/yum.repos.d/目录中:

收起

plaintext

复制代码
[google-cloud-sdk]
name=Google Cloud SDK
baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el$(rpm -E %rhel)
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
       https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
  • 然后运行sudo dnf install google-cloud-sdk进行安装。

Elasticsearch

  • 简介:如果你需要在 Rocky Linux 上安装和使用 Elasticsearch 及其相关工具,如 Kibana、Logstash 等,就需要添加 Elasticsearch 软件源。
  • 优势:提供了最新版本的 Elasticsearch 及其生态系统软件,方便用户进行数据搜索、分析和可视化等操作。
  • 安装方法
    • 添加 Elasticsearch 的软件源配置文件,例如将以下内容保存为elasticsearch.repo文件并放入/etc/yum.repos.d/目录中:

收起

plaintext

复制代码
[elasticsearch]
name=Elasticsearch repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
  • 然后运行sudo dnf install elasticsearch进行安装。
相关推荐
十日十行16 小时前
Linux和window共享文件夹
linux
木心月转码ing1 天前
WSL+Cpp开发环境配置
linux
蝎子莱莱爱打怪2 天前
Centos7中一键安装K8s集群以及Rancher安装记录
运维·后端·kubernetes
崔小汤呀2 天前
最全的docker安装笔记,包含CentOS和Ubuntu
linux·后端
何中应2 天前
vi编辑器使用
linux·后端·操作系统
何中应2 天前
Linux进程无法被kill
linux·后端·操作系统
何中应2 天前
rm-rf /命令操作介绍
linux·后端·操作系统
何中应2 天前
Linux常用命令
linux·操作系统
葛立国2 天前
从 / 和 /dev 说起:Linux 文件系统与挂载点一文理清
linux
DianSan_ERP3 天前
电商API接口全链路监控:构建坚不可摧的线上运维防线
大数据·运维·网络·人工智能·git·servlet