COPR 仓库中 4 个很酷的新项目（2021.03）
COPR Fedora 软件
![](/data/attachment/album/202103/28/111351q9p0zfp4s8p8h5sf.jpg)



> 
> COPR 是个人软件仓库 [集合](https://copr.fedorainfracloud.org/)，它不在 Fedora 中。这是因为某些软件不符合轻松打包的标准；或者它可能不符合其他 Fedora 标准，尽管它是自由而开源的。COPR 可以在 Fedora 套件之外提供这些项目。COPR 中的软件不受 Fedora 基础设施的支持，或者是由项目自己背书的。但是，这是一种尝试新的或实验性的软件的一种巧妙的方式。
> 
> 
> 


本文介绍了 COPR 中一些有趣的新项目。如果你第一次使用 COPR，请参阅 [COPR 用户文档](https://docs.pagure.org/copr.copr/user_documentation.html)。


### Ytfzf


[Ytfzf](https://github.com/pystardust/ytfzf) 是一个简单的命令行工具，用于搜索和观看 YouTube 视频。它提供了围绕模糊查找程序 [fzf](https://github.com/junegunn/fzf) 构建的快速直观的界面。它使用 [youtube-dl](http://ytdl-org.github.io/youtube-dl/) 来下载选定的视频，并打开外部视频播放器来观看。由于这种方式，`ytfzf` 比使用浏览器观看 YouTube 资源占用要少得多。它支持缩略图（通过 [ueberzug](https://github.com/seebye/ueberzug)）、历史记录保存、多个视频排队或下载它们以供以后使用、频道订阅以及其他方便的功能。多亏了像 [dmenu](https://tools.suckless.org/dmenu/) 或 [rofi](https://github.com/davatorium/rofi) 这样的工具，它甚至可以在终端之外使用。


![](/data/attachment/album/202103/28/111351nwzvo9sy393w30ys.png)


#### 安装说明


目前[仓库](https://copr.fedorainfracloud.org/coprs/bhoman/ytfzf/)为 Fedora 33 和 34 提供 Ytfzf。要安装它，请使用以下命令：



```
sudo dnf copr enable bhoman/ytfzf
sudo dnf install ytfzf

```

### Gemini 客户端


你有没有想过，如果万维网走的是一条完全不同的路线，不采用 CSS 和客户端脚本，你的互联网浏览体验会如何？[Gemini](https://gemini.circumlunar.space/) 是 HTTPS 协议的现代替代品，尽管它并不打算取代 HTTPS 协议。[stenstorp/gemini](https://copr.fedorainfracloud.org/coprs/stenstorp/gemini/) COPR 项目提供了各种客户端来浏览 Gemini *网站*，有 [Castor](https://git.sr.ht/~julienxx/castor)、[Dragonstone](https://gitlab.com/baschdel/dragonstone)、[Kristall](https://kristall.random-projects.net/) 和 [Lagrange](https://github.com/skyjake/lagrange)。


[Gemini](https://gemini.circumlunar.space/servers/) 站点提供了一些使用该协议的主机列表。以下显示了使用 Castor 访问这个站点的情况：


![](/data/attachment/album/202103/28/111352b3o797gqu97fb7n9.png)


#### 安装说明


该 [仓库](https://copr.fedorainfracloud.org/coprs/stenstorp/gemini/) 目前为 Fedora 32、33、34 和 Fedora Rawhide 提供 Gemini 客户端。EPEL 7 和 8，以及 CentOS Stream 也可使用。要安装浏览器，请从这里显示的安装命令中选择：



```
sudo dnf copr enable stenstorp/gemini

sudo dnf install castor
sudo dnf install dragonstone
sudo dnf install kristall
sudo dnf install lagrange

```

### Ly


[Ly](https://github.com/nullgemm/ly) 是一个 Linux 和 BSD 的轻量级登录管理器。它有一个类似于 ncurses 的基于文本的用户界面。理论上，它应该支持所有的 X 桌面环境和窗口管理器（其中很多都 [经过测试](https://github.com/nullgemm/ly#support)）。Ly 还提供了基本的 Wayland 支持（Sway 也工作良好）。在配置的某个地方，有一个复活节彩蛋选项，可以在背景中启用著名的 [PSX DOOM fire](https://fabiensanglard.net/doom_fire_psx/index.html) 动画，就其本身而言，值得一试。


![](/data/attachment/album/202103/28/111352wgcqgawyng7ngmap.png)


#### 安装说明


该 [仓库](https://copr.fedorainfracloud.org/coprs/dhalucario/ly/) 目前为 Fedora 32、33 和 Fedora Rawhide 提供 Ly。要安装它，请使用以下命令：



```
sudo dnf copr enable dhalucario/ly
sudo dnf install ly

```

在将 Ly 设置为系统登录界面之前，请在终端中运行 `ly` 命令以确保其正常工作。然后关闭当前的登录管理器，启用 Ly。



```
sudo systemctl disable gdm
sudo systemctl enable ly

```

最后，重启计算机，使其更改生效。


### AWS CLI v2


[AWS CLI v2](https://aws.amazon.com/blogs/developer/aws-cli-v2-is-now-generally-available/) 带来基于社区反馈进行的稳健而有条理的演变，而不是对原有客户端的大规模重新设计。它引入了配置凭证的新机制，现在允许用户从 AWS 控制台中生成的 `.csv` 文件导入凭证。它还提供了对 AWS SSO 的支持。其他主要改进是服务端自动补全，以及交互式参数生成。一个新功能是交互式向导，它提供了更高层次的抽象，并结合多个 AWS API 调用来创建、更新或删除 AWS 资源。


![](/data/attachment/album/202103/28/111352fg3ighdt4gooj0py.png)


#### 安装说明


该 [仓库](https://copr.fedorainfracloud.org/coprs/spot/aws-cli-2/) 目前为 Fedora Linux 32、33、34 和 Fedora Rawhide 提供 AWS CLI v2。要安装它，请使用以下命令：



```
sudo dnf copr enable spot/aws-cli-2
sudo dnf install aws-cli-2

```

自然地，访问 AWS 账户凭证是必要的。




---


via: <https://fedoramagazine.org/4-cool-new-projects-to-try-in-copr-for-march-2021/>


作者：[Jakub Kadlčík](https://fedoramagazine.org/author/frostyx/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Copr is a [collection](https://copr.fedorainfracloud.org/) of personal repositories for software that isn’t carried in Fedora Linux. Some software doesn’t conform to standards that allow easy packaging. Or it may not meet other Fedora standards, despite being free and open-source. Copr can offer these projects outside the Fedora set of packages. Software in Copr isn’t supported by Fedora infrastructure or signed by the project. However, it can be a neat way to try new or experimental software.

This article presents a few new and interesting projects in Copr. If you’re new to using Copr, see the [Copr User Documentation](https://docs.pagure.org/copr.copr/user_documentation.html) for how to get started.

## Ytfzf

[Ytfzf](https://github.com/pystardust/ytfzf) is a simple command-line tool for searching and watching YouTube videos. It provides a fast and intuitive interface built around fuzzy find utility [fzf](https://github.com/junegunn/fzf). It uses [youtube-dl](http://ytdl-org.github.io/youtube-dl/) to download selected videos and opens an external video player to watch them. Because of this approach, *ytfzf* is significantly less resource-heavy than a web browser with YouTube. It supports thumbnails (via [ueberzug](https://github.com/seebye/ueberzug)), history saving, queueing multiple videos or downloading them for later, channel subscriptions, and other handy features. Thanks to tools like [dmenu](https://tools.suckless.org/dmenu/) or [rofi](https://github.com/davatorium/rofi), it can even be used outside the terminal.

![](https://fedoramagazine.org/wp-content/uploads/2021/03/ytfzf.png)

Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/bhoman/ytfzf/) currently provides Ytfzf for Fedora 33 and 34. To install it, use these commands:

sudo dnf copr enable bhoman/ytfzf sudo dnf install ytfzf

Gemini clients

Have you ever wondered what your internet browsing experience would be if the World Wide Web went an entirely different route and didn’t adopt CSS and client-side scripting? [Gemini](https://gemini.circumlunar.space/) is a modern alternative to the HTTPS protocol, although it doesn’t intend to replace it. The [stenstorp/gemini](https://copr.fedorainfracloud.org/coprs/stenstorp/gemini/) Copr project provides various clients for browsing Gemini *websites*, namely [Castor](https://git.sr.ht/~julienxx/castor), [Dragonstone](https://gitlab.com/baschdel/dragonstone), [Kristall](https://kristall.random-projects.net/), and [Lagrange](https://github.com/skyjake/lagrange).

The [Gemini](//gemini.circumlunar.space/servers/) site provides a list of some hosts that use this protocol. Using Castor to visit this site is shown here:

![](https://fedoramagazine.org/wp-content/uploads/2021/03/gemini.png)

Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/stenstorp/gemini/) currently provides Gemini clients for Fedora 32, 33, 34, and Fedora Rawhide. Also available for EPEL 7 and 8, and CentOS Stream. To install a browser, choose from the install commands shown here:

sudo dnf copr enable stenstorp/gemini sudo dnf install castor sudo dnf install dragonstone sudo dnf install kristall sudo dnf install lagrange

Ly

[Ly](https://github.com/nullgemm/ly) is a lightweight login manager for Linux and BSD. It features a ncurses-like text-based user interface. Theoretically, it should support all X desktop environments and window managers (many of them [were tested](https://github.com/nullgemm/ly#support)). Ly also provides basic Wayland support (Sway works very well). Somewhere in the configuration, there is an easter egg option to enable the famous [PSX DOOM fire](https://fabiensanglard.net/doom_fire_psx/index.html) animation in the background, which on its own, is worth checking out.

![](https://fedoramagazine.org/wp-content/uploads/2021/03/ly.png)

Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/dhalucario/ly/) currently provides Ly for Fedora 32, 33, and Fedora Rawhide. To install it, use these commands:

sudo dnf copr enable dhalucario/ly sudo dnf install ly

Before setting up Ly to be your system login screen, run *ly* command in the terminal to make sure it works properly. Then proceed with disabling your current login manager and enabling Ly instead.

sudo systemctl disable gdm sudo systemctl enable ly

Finally, restart your computer for the changes to take an effect.

AWS CLI v2

[AWS CLI v2](https://aws.amazon.com/blogs/developer/aws-cli-v2-is-now-generally-available/) brings a steady and methodical evolution based on the community feedback, rather than a massive redesign of the original client. It introduces new mechanisms for configuring credentials and now allows the user to import credentials from the *.csv* files generated in the AWS Console. It also provides support for AWS SSO. Other big improvements are server-side auto-completion, and interactive parameters generation. A fresh new feature is interactive wizards, which provide a higher level of abstraction and combines multiple AWS API calls to create, update, or delete AWS resources.

![](https://fedoramagazine.org/wp-content/uploads/2021/03/aws-cli-2.png)

Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/spot/aws-cli-2/) currently provides AWS CLI v2 for Fedora Linux 32, 33, 34, and Fedora Rawhide. To install it, use these commands:

sudo dnf copr enable spot/aws-cli-2 sudo dnf install aws-cli-2

Naturally, access to an AWS account is necessary.

## Vernay Bruno

Gemini is fun, there is also a Flatpack browser https://flathub.org/apps/details/fi.skyjake.Lagrange

## Moritz Barsnick

ytfzf uses ueberzug for thumbnails, as mentioned in the article, but ueberzug doesn’t work on Wayland, which Fedora defaults to. So too bad about that killer feature. (But nice tool anyway!)

smtube (formerly from smplayer) is a graphical YouTube browser, in case anyone is looking for such an alternative.

## Rômulo

Here on my Fedora 33, i just have to click on the gears right bottom of the login screen just before enter my credentials and choose the option GNOME over Xorg. And Voila!

I can use the ytfzf with tumbnails and everything.

## Miki

man i love them copro repos

## Pace

I really like ytfzf, but even on X11 I just couldn’t get ueberzug to install :-S

Would be a really nice project if the installation would be easier, and available on both X11 and Wayland.

## Jakub Kadlčík

Hello Pace,

I recently packaged ueberzug and it is available in this repo

https://copr.fedorainfracloud.org/coprs/frostyx/ueberzug/

You can give it a try.

## Pace

Hey thanks for the response, I can now enjoy the thumbnails via ueberzug, thanks for packaging this.

## Nick

Nothing to do with the repositories above, and maybe it will not help, but in my opinion a noteworthy project is this:

https://copr.fedorainfracloud.org/coprs/matteoguadrini/dinosay/

A simple cowsay alternative … but with dinosaurs!

## Jakub Kadlčík

Thank you for the suggestion. I will check it out and eventually mention it in the next article 🙂

## Anil

Hello,

I am getting the following error when trying to install ytfzf as detailed here;

Error:

Problem: conflicting requests

– nothing provides mpv needed by ytfzf-20210316-1.fc33.x86_64

Any help is appreciated.

thank you,

## Jakub Kadlčík

Hello Anil,

it’s unfortunate that ytfzf depends on mpv. Theoretically, it should work with any video player, it should be a matter of configuration. For example, if I want to force ytfzf to use vlc instead of mpv, I can do

YTFZF_PLAYER=vlc ytfzf

You can try to contact the repo author to drop the dependency or at least change it from Requires to Suggests or Recommends.

Or you can install the mpv package from RPM Fusion free repository.