
是否有一個連結可以為我提供可用於 Red hat Linux 的 RPM 軟體包清單?以及如何選擇哪個 RPM 軟體包用於什麼目的?
我需要在 Linux 伺服器上安裝一些 BARCODE 字體(Code 128、Code 39 字體)。我需要應用程式報告選擇這些字體,這將在報告上為我列印條碼。
答案1
是否有一個連結可以為我提供可用於 Red hat Linux 的 RPM 軟體包清單?
該yum list
命令將為您提供所有可用軟體包的列表,並yum search
允許您搜尋軟體包。 yum list installed
將顯示目前系統上安裝的所有軟體包。
例如:
yum search font
以及如何選擇哪個 RPM 軟體包用於什麼目的?
該yum info
命令可以為您提供有關包的信息。例如:
$ yum info openssh
Name : openssh
Arch : x86_64
Version : 6.6.1p1
Release : 33.el7_3
Size : 438 k
Repo : rhelosp-rhel-7.3-server
Summary : An open source implementation of SSH protocol versions 1 and 2
URL : http://www.openssh.com/portable.html
License : BSD
Description : SSH (Secure SHell) is a program for logging into and executing
: commands on a remote machine. SSH is intended to replace rlogin
: and rsh, and to provide secure encrypted communications between
: two untrusted hosts over an insecure network. X11 connections and
: arbitrary TCP/IP ports can also be forwarded over the secure
: channel.
:
: OpenSSH is OpenBSD's version of the last free version of SSH,
: bringing it up to date in terms of security and features.
:
: This package includes the core files necessary for both the
: OpenSSH client and server. To make this package useful, you should
: also install openssh-clients, openssh-server, or both.
我需要在 Linux 伺服器上安裝一些 BARCODE 字體(Code 128、Code 39 字體)。我需要應用程式報告選擇這些字體,這將在報告上為我列印條碼。
我不相信 Red Hat Linux 中封裝有任何條碼字型。但是,您可以簡單地從其他地方下載合適的字體並自行安裝。有安裝字型的說明這裡。