Arch Linuxユーザー向けのちょっとしたコツがあります! Arch Linuxと、EndeavourOSやManjaroLinuxなどのその亜種にインストールされているプロプライエタリパッケージを簡単に見つけることができるようになりました。
インストールされているパッケージのライセンスの詳細をWebサイトで参照したり、外部ツールを使用してパッケージが無料か独自仕様かを確認したりする必要はありません。
完全に独占的 は、Archベースのディストリビューション用の独自のパッケージ検出器です。 ArchベースのシステムにインストールされているすべてのパッケージをParabolaのパッケージブラックリストおよびaur-ブラックリストと比較してから、ストールマン自由度指数を出力します。 (無料/合計)。
さらに、リストをファイルに保存して、他のシステム/ユーザーと共有または比較することができます。
ArchLinuxにインストールされているプロプライエタリパッケージを探す
「絶対に所有権のある」をインストールする前に ツール、 pythonがインストールされていることを確認してください およびgit 。
次に、リポジトリのgitクローンを作成します:
$ git clone https://github.com/vmavromatis/absolutely-proprietary.git
このコマンドは、現在の作業ディレクトリの「absolutely-proprietary」というディレクトリにあるすべてのコンテンツをダウンロードします。
そのディレクトリに移動します:
$ cd absolutely-proprietary
そして、コマンドを使用してインストールされた独自のパッケージを見つけます:
$ python main.py
このコマンドは、blacklist.txt、aur-blacklist.txtをダウンロードし、ローカルにインストールされたパッケージをリモートパッケージと比較し、ArchLinuxシステムにインストールされた独自のパッケージを表示します。
ArchLinuxデスクトップからの出力例は次のとおりです。
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
お気づきかもしれませんが、私には無料ではないしかありません パッケージ。セミフリー、ユース-ノンフリーなど、さらに2種類のパッケージが表示されます。
- 無料ではない :このパッケージは明らかに非フリーのソフトウェアです。
- セミフリー :このパッケージはほとんど無料ですが、無料ではないソフトウェアがいくつか含まれています。
- 使用-無料ではない :このパッケージは、他の非フリーのソフトウェアまたはサービスに依存するか、推奨するか、または不適切に統合します。
このユーティリティのもう1つの注目すべき機能は、適切なパッケージを表示するだけでなく、そのようなパッケージの代替も表示することです。