如何在 Arch Linux 中找到已安装的专有软件包

[ad_1]

我有一个给 Arch Linux 用户的小窍门! 您现在可以在 Arch Linux 及其变体(例如 EndeavourOS 和 Manjaro Linux)中轻松找到已安装的专有软件包。

您无需在其网站上参考已安装软件包的许可证详细信息或使用任何外部工具来确定该软件包是免费的还是专有的。

绝对专有 是 ap专有包装检测器 基于arch的发行版。 它会将您基于 Arch 的系统中所有已安装的软件包与 Parabola 的软件包黑名单和 aur-blacklist 进行比较,然后打印您的 斯托曼自由指数 (免费/总)。

此外,您可以将列表保存到文件并与其他系统/用户共享或比较。

在 Arch Linux 中查找已安装的专有软件包

安装前 “绝对专有” 工具,请确保您已安装 Python混帐.

然后, git clone 存储库:

$ git clone https://github.com/vmavromatis/absolutely-proprietary.git

此命令将下载当前工作目录中名为“absolutely-proprietary”的目录中的所有内容。

切换到该目录:

$ cd absolutely-proprietary

并且,使用命令找到已安装的专有包:

$ python main.py

此命令将下载 blacklist.txt、aur-blacklist.txt 并将本地安装的包与远程包进行比较,并在 Arch Linux 系统中显示已安装的专有包。

这是我的 Arch Linux 桌面的示例输出:

Retrieving local packages (including AUR)...
Downloading https://git.parabola.nu/blacklist.git/plain/blacklist.txt
Downloading https://git.parabola.nu/blacklist.git/plain/aur-blacklist.txt
Comparing local packages to remote...
=============================================
47 ABSOLUTELY PROPRIETARY PACKAGES INSTALLED
=============================================

Your GNU/Linux is infected with 47 proprietary packages out of 1370 total installed.
Your Stallman Freedom Index is 96.57

+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| Name | Status | Libre Alternatives | Description |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| chromium-pepper-flash | nonfree | | proprietary Google Chrome EULA, missing sources |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| faac | nonfree | | [FIXME:description] is a GPL'ed package, but has non free code that can't be distributed und|
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| libunrar | nonfree | | part of nonfree unrar, Issue442 |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| opera | nonfree | | nonfree, nondistributable, built from binary installers, etc |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| shutter | nonfree | | need registered user to download (and access website) the source code and depends perl-net-d|
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| ttf-ms-fonts | nonfree | | |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| ttf-ubuntu-font-family | nonfree | | Ubuntu font license considered non-free by DFSG and Fedora |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| unace | nonfree | | license forbids making competing ACE archivers from unace |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| unrar | nonfree | unar | |
| | | fsf | |
| | | unrar | |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| virtualbox | nonfree | | contains BIOS which needs a nonfree compiler to build from source (OpenWatcom compiler), doe|
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+
| wordnet | nonfree | | |
+------------------------+---------+--------------------+---------------------------------------------------------------------------------------------+


Save list to file? (Y/n)
在 Arch Linux 中查找已安装的专有软件包

如您所见,我的系统中有 47 个专有软件包。 就像我已经说过的,我们可以将其保存到文件中并稍后查看。 为此,只需按下 ‘是’ 当系统提示您将列表保存在文件中时。 然后按 ‘是’ 接受默认值或点击 ‘n’ 以您喜欢的格式和位置保存它。

Save list to file? (Y/n) y
Save as markdown table? (Y/n) y
Save it to (/tmp/tmpkuky_082.md): y
The list is saved at /home/sk/absolutely-proprietary/y.md

You can review it from the command line
using the "less -S /home/sk/absolutely-proprietary/y.md"
or, if installed, the "most /home/sk/absolutely-proprietary/y.md" commands

正如你可能注意到的,我只有 非自由 包。 它将显示另外两种类型的包,例如 semifree、uses-nonfree。

  • 非自由: 这个包是公然的非自由软件。
  • 半自由: 这个包大部分是免费的,但包含一些非自由软件。
  • 使用非自由:此软件包依赖、推荐或以其他方式不适当地与其他非自由软件或服务集成。

该实用程序的另一个显着特点是它不仅显示专有包,而且还显示此类包的替代品。

资源:

  • 绝对专有

绝对专有Arch LinuxEndeavourOSLinuxManjaro Linux

[ad_2]

Related Posts