COPR 仓库中 4 个很酷的新项目（2020.05）
COPR
![](/data/attachment/album/202005/18/174929vv14oo60jtqjh93n.jpg)


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


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


### Ytop


[ytop](https://github.com/cjbassi/ytop) 是类似于 `htop` 的命令行系统监视器。它们之间的主要区别是，`ytop` 在显示进程及其 CPU 和内存使用率的顶部显示了系统的 CPU、内存和网络使用率随时间变化的图表。此外，`ytop` 还显示磁盘使用情况和计算机温度。最后，`ytop` 支持多种配色方案以及创建新配色的选项。


![](/data/attachment/album/202005/18/174930v2d72oszdvs8kt7w.png)


#### 安装说明


[该仓库](https://copr.fedorainfracloud.org/coprs/atim/ytop/)当前为 Fedora 30、31、32 和 Rawhide 以及 EPEL 7 提供了 `ytop`。要安装 `ytop`，请[带上 sudo](https://fedoramagazine.org/howto-use-sudo/) 使用以下命令：



```
sudo dnf copr enable atim/ytop
sudo dnf install ytop
```

### Ctop


[ctop](https://github.com/bcicen/ctop) 是另一个命令行系统监视器。但是，与 `htop` 和 `ytop` 不同，`ctop` 专注于显示容器的资源使用情况。`ctop` 同时显示计算机上运行的所有容器的 CPU、内存、网络和磁盘使用情况的概要，以及单个容器的更全面的信息，包括一段时间内资源使用情况的图表。当前，`ctop` 支持 Docker 和 runc 容器。


![](/data/attachment/album/202005/18/174931pnbiet5f50b5met1.png)


#### 安装说明


[该仓库](https://copr.fedorainfracloud.org/coprs/fuhrmann/ctop/)当前为 Fedora 31、32 和 Rawhide 以及 EPEL 7 还有其他发行版提供了安装包。要安装 `ctop`，请使用以下命令：



```
sudo dnf copr enable fuhrmann/ctop
sudo dnf install ctop
```

### Shortwave


[shortwave](https://github.com/ranfdev/shortwave) 是用于收听广播电台的程序。`shortwave` 使用广播电台的社区数据库 [www.radio-browser.info](http://www.radio-browser.info/gui/#!/)。在此数据库中，你可以发现或搜索广播电台，将它们添加到库中，然后收听。此外，`shortwave` 还提供有关当前播放歌曲的信息，并且还可以记录这些歌曲。


![](/data/attachment/album/202005/18/174931gqk8ezk9dki8f1yi.png)


#### 安装说明


[该仓库](https://copr.fedorainfracloud.org/coprs/atim/shortwave/) 当前为 Fedora 31、32 和 Rawhide 提供了 shortwave。要安装 `shortwave`，请使用以下命令：



```
sudo dnf copr enable atim/shortwave
sudo dnf install shortwave
```

### Setzer


[setzer](https://www.cvfosammmm.org/setzer/) 是 LaTeX 编辑器，它可以构建 pdf 文档并查看它们。它提供了各种类型文档（例如文章或幻灯片）的模板。此外，`setzer` 还有许多特殊符号、数学符号和希腊字母的按钮。


![](/data/attachment/album/202005/18/174932x5aekfuicaqphn5z.png)


#### 安装说明


[该仓库](https://copr.fedorainfracloud.org/coprs/lyessaadi/setzer/) 当前为 Fedora 30、31、32 和 Rawhide 提供了 `setzer`。要安装 `setzer`，请使用以下命令：



```
sudo dnf copr enable lyessaadi/setzer
sudo dnf install setzer
```



---


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


作者：[Dominik Turecek](https://fedoramagazine.org/author/dturecek/) 选题：[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. 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.

### Ytop

[Ytop](https://github.com/cjbassi/ytop) is a command-line system monitor similar to *htop*. The main difference between them is that *ytop*, on top of showing processes and their CPU and memory usage, shows graphs of system CPU, memory, and network usage over time. Additionally, *ytop* shows disk usage and temperatures of the machine. Finally, *ytop* supports multiple color schemes as well as an option to create new ones.

![](https://fedoramagazine.org/wp-content/uploads/2020/04/ytop.png)

#### Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/atim/ytop/) currently provides *ytop* for Fedora 30, 31, 32, and Rawhide, as well as EPEL 7. To install *ytop*, use these commands [with sudo](https://fedoramagazine.org/howto-use-sudo/):

sudo dnf copr enable atim/ytop sudo dnf install ytop

### Ctop

[Ctop](https://github.com/bcicen/ctop) is yet another command-line system monitor. However, unlike *htop* and *ytop*, *ctop* focuses on showing resource usage of containers. *Ctop* shows both an overview of CPU, memory, network and disk usage of all containers running on your machine, and more comprehensive information about a single container, including graphs of resource usage over time. Currently, *ctop* has support for Docker and runc containers.

![](https://fedoramagazine.org/wp-content/uploads/2020/04/ctop.png)

#### Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/fuhrmann/ctop/) currently provides *ctop* for Fedora 31, 32 and Rawhide, EPEL 7, as well as for other distributions. To install *ctop*, use these commands:

sudo dnf copr enable fuhrmann/ctop sudo dnf install ctop

### Shortwave

[Shortwave](https://github.com/ranfdev/shortwave) is a program for listening to radio stations. Shortwave uses a community database of radio stations [www.radio-browser.info](http://www.radio-browser.info/gui/#!/). In this database, you can discover or search for radio stations, add them to your library, and listen to them. Additionally, Shortwave provides information about currently playing song and can record the songs as well.

![](https://fedoramagazine.org/wp-content/uploads/2020/04/shortwave.png)

#### Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/atim/shortwave/) currently provides Shortwave for Fedora 31, 32, and Rawhide. To install Shortwave, use these commands:

sudo dnf copr enable atim/shortwave sudo dnf install shortwave

### Setzer

[Setzer](https://www.cvfosammmm.org/setzer/) is a LaTeX editor that can build pdf documents and view them as well. It provides templates for various types of documents, such as articles or presentation slides. Additionally, Setzer has buttons for a lot of special symbols, math symbols and greek letters.

![](https://fedoramagazine.org/wp-content/uploads/2020/04/setzer.png)

#### Installation instructions

The [repo](https://copr.fedorainfracloud.org/coprs/lyessaadi/setzer/) currently provides Setzer for Fedora 30, 31, 32, and Rawhide. To install Setzer, use these commands:

sudo dnf copr enable lyessaadi/setzer sudo dnf install setzer

## red

what’s the difference of ytop and htop?

## shy

ytop is written in Rust which is a more secure language than C

## jfnklstrm

The main difference between them is that ytop, on top of showing processes and their CPU and memory usage, shows graphs of system CPU, memory, and network usage over time. Additionally, ytop shows disk usage and temperatures of the machine. Finally, ytop supports multiple color schemes as well as an option to create new ones.

## Splebd

Great Job!!!!!… Thank you

## Hylke

if you like ytop you’re gonna love bashtop.

## juxtapoz

bashtop is really slow compared to ytop

## Jasper Vinkenvleugel

I’m not entirely sure if the repos for Shortwave and Setzer are official ones, but I would guess not. I would advise to install the Flatpak-versions for either, they are on Flathub and officially supported so there’s no risk of a maintainer that neglects the Copr.

## Lyes Saadi

Hi!

I’m the maintainer of the Setzer COPR. I can confirm it is not official! But the spec file is available here: https://gitlab.com/LyesSaadi/spec/-/blob/master/setzer/setzer.spec ! If you find an issue or that I forgot to update the repo, don’t hesitate to remind me by opening an issue or mailing me directly: fedora [at] lyes [dot] eu ! I tend to watch the repositories of the packages I maintain, but it might happen that some updates’ notification is lost, so I’ll be grateful for any reminder :D!

I do also trust Atim for any package he maintains! I cannot speak for him, but I’m 100% confident that Shortwave’s COPR repository is in good hands :)!

## Mark

Liked the look of ytop for the temperatures, so tried it.

But in the temperatures window I only get

acpitiz 28C

acpitiz 30C

On the same machine “sensors” (from lmsensors package) gives me

acpitz-acpi-0

Adapter: ACPI interface

temp1: +27.8C (crit = +105.0C)

temp2: +29.8C (crit = +105.0C)

coretemp-isa-0000

Adapter: ISA adapter

Package id 0: +35.0C (high = +80.0C, crit = +100.0C)

Core 0: +33.0C (high = +80.0C, crit = +100.0C)

Core 1: +35.0C (high = +80.0C, crit = +100.0C)

Core 2: +33.0C (high = +80.0C, crit = +100.0C)

Core 3: +30.0C (high = +80.0C, crit = +100.0C)

So ytop does not monitor the temps I am interested in, as it is the core temps that go over 80C when ffmpeg is running.

Interestingly typing ? (question mark) in ytop to see if there is any help results in the below, so I’m not sure about the earlier comment that rust is more secure than C,

Backtrace omitted. Run with RUST_BACKTRACE=1 to display it.

Run with RUST_BACKTRACE=full to include source snippets.

The application panicked (crashed).

index out of bounds: the len is 3657 but the index is 32346

in /builddir/build/BUILD/rustc-1.42.0-src/src/libcore/slice/mod.rs, line 2797

thread: main

But certainly an interesting project to keep an eye on as it evolves.

## Constantine

No offense, but Ytop looks like nmon

## Marco Gómez

I tried Setzer to compile some of my work (which is separated in various .tex files and including in a master one) and it didn’t work. There is no error log or messages related to this problem. However, for single .tex file and for beamer it works pretty well.

Great job! and Thank you !

## Yazan Al Monshed

Reboot your OS and it’s will work Good.

## Alberto Patino

Thanks for article!!! I’ve tried ytop, I even downloaded source code and a little Rust learnt. I also tried shirtwave and radio listening right now.

## Mattia

I don’t think COPR is necessary for ‘ytop’.

I could install it with just

.

## SZ Quadri

COPR is NOT necessary for ‘ytop’ as it’s now part of “updates” repo.

Simply install using dnf