如何在Arch Linux中找到已安装的专有软件包
时间:2020-03-21 11:43:38 来源:igfitidea点击:
查找Arch Linux中已安装的专有软件包
在安装“Absolutely Proprietary”工具之前,请确保已安装python和git。
然后,git克隆存储库:
$git clone https://github.com/vmavromatis/absolutely-proprietary.git
此命令会将所有内容下载到当前工作目录中名为“绝对专有”的目录中。
转到该目录:
$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)
如我们所见,我的系统中有47个专有软件包。
就像我已经说过的,我们可以将其保存到文件中,然后再进行检查。
为此,请在提示我们将列表保存到文件中时,按“ y”。
然后按“ y”接受默认值,或者按“ 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。
- nonfree:该软件包是明显的非自由软件。
- semifree:此软件包大部分是免费的,但包含一些非自由软件。
- 使用非自由:此软件包依赖于,推荐或者以其他方式与其他非自由软件或者服务不适当地集成。
该实用程序的另一个显着功能是它不仅显示适当的软件包,而且还显示了此类软件包的替代品。