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进行安装。
相关推荐
阿里云大数据AI技术12 小时前
阿里云 EMR AI 助手正式发布:从问答工具到全栈智能运维助手
运维·人工智能
orion571 天前
Missing Semester Class1:course overview and introduction of shell
linux
SkyWalking中文站1 天前
认识 Horizon UI · 6/17:Trace 探索器
运维·监控·自动化运维
用户120487221611 天前
Linux驱动编译与加载
linux·嵌入式
火车叼位2 天前
写给初级开发者:SSL、SSH、HTTPS 与证书体系全解析
运维
用户805533698032 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698032 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
小猿姐2 天前
唯品会大规模数据库云原生实践:基于 KubeBlocks 管理数千实例的统一运维之路
运维·elasticsearch·云原生
七歌杜金房2 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac
SkyWalking中文站3 天前
认识 Horizon UI · 5/17:3D 基础设施地图
运维·监控·自动化运维