差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン | |||
linux:fedora:copr [2024/02/04 13:34] – 削除 - 外部編集 (Unknown date) 非ログインユーザー | linux:fedora:copr [2024/02/04 13:34] (現在) – ↷ linux:fedora_copr から linux:fedora:copr へページの移動と名称変更しました。 ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== Fedora Copr (Cool Other Package Repo) リポジトリを利用する ====== | ||
+ | 本家: [[https:// | ||
+ | Wiki: [[https:// | ||
+ | |||
+ | **Copr** (Cool Other Package Repo) は、サードパーティのパッケージリポジトリの構築と管理を容易にするための Fedora プロジェクトである。Fedora インフラストラクチャ内にインストールされるインスタンスは、Fedora メンテナーに、ビルドして他のユーザーと共有するパッケージのリポジトリを作成する機能を提供する。\\ | ||
+ | |||
+ | Fedora プロジェクトの公式リポジトリに公開される前の、比較的新しいパッケージが登録されている場合もあるので、自分でビルド・インストールする前に探してみると良い。\\ | ||
+ | |||
+ | ===== Fedora Copr アカウント ===== | ||
+ | [[https:// | ||
+ | |||
+ | ===== .NET Core ===== | ||
+ | <wrap em>.NET5 は既に Fedora 公式リポジトリに存在するので Copr から入れる必要はなくなりました。</ | ||
+ | .NET Core のパッケージは 2019/09/20 現在 Copr で [[https:// | ||
+ | Fedora 31 で .NET Core をインストールするには以下のコマンドを使って Copr の DotNet SIG が管理するリポジトリを有効化してインストールを行う。\\ | ||
+ | 将来的には .NET Core パッケージは Fedora 公式リポジトリで公開されるようになるだろう。\\ | ||
+ | < | ||
+ | $ sudo dnf copr enable @dotnet-sig/ | ||
+ | $ sudo dnf install dotnet-runtime-3.0 dotnet-host-fxr-3.0 dotnet-sdk-3.0 | ||
+ | </ | ||
+ | |||
+ | **リポジトリ URL**\\ | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | ==== 2020/05/03 現在 - .NET Core 3.0 が Fedora 32 リポジトリに存在しない場合の対処 ==== | ||
+ | Fedora 31 の Copr には .NET Core 3.0 が存在するが、 Fedora 32 にはまだ存在していないためインストールできない。\\ | ||
+ | {{: | ||
+ | {{: | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | $ sudo dnf install dotnet-runtime-3.0 dotnet-hostfxr-3.0 dotnet-sdk-3.0 | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | < | ||
+ | Last metadata expiration check: 0:07:06 ago on Sun May 3 08:46:17 2020. | ||
+ | No match for argument: dotnet-runtime-3.0 | ||
+ | No match for argument: dotnet-hostfxr-3.0 | ||
+ | No match for argument: dotnet-sdk-3.0 | ||
+ | Error: Unable to find a match: dotnet-runtime-3.0 dotnet-hostfxr-3.0 dotnet-sdk-3.0 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | DNF の **dotnet-sig** リポジトリを一時的に Fedora 31 からインストールするように指定する。\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | $ sudo dnf install dotnet-runtime-3.0 dotnet-hostfxr-3.0 dotnet-sdk-3.0 --repofrompath dotnet-sig_fc31, | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% # | ||
+ | < | ||
+ | Added dotnet-sig_fc31 repo from https:// | ||
+ | dotnet-sig_fc31 | ||
+ | Dependencies resolved. | ||
+ | ================================================================================ | ||
+ | | ||
+ | ================================================================================ | ||
+ | Installing: | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installing dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================ | ||
+ | Install | ||
+ | |||
+ | Total download size: 87 M | ||
+ | Installed size: 295 M | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading Packages: | ||
+ | (1/15): dotnet-host-3.1.3-1.fc32.x86_64.rpm | ||
+ | (2/15): libunwind-1.3.1-5.fc32.x86_64.rpm | ||
+ | (3/15): lttng-ust-2.11.0-4.fc32.x86_64.rpm | ||
+ | (4/15): numactl-libs-2.0.12-4.fc32.x86_64.rpm | ||
+ | (5/15): netstandard-targeting-pack-2.1-3.1.103- 222 kB/s | 510 kB 00:02 | ||
+ | (6/15): userspace-rcu-0.11.1-3.fc32.x86_64.rpm | ||
+ | (7/15): aspnetcore-targeting-pack-3.0-3.0.0-5.f 445 kB/s | 883 kB 00:01 | ||
+ | (8/15): dotnet-apphost-pack-3.0-3.0.0-5.fc31.x8 243 kB/s | 65 kB 00:00 | ||
+ | (9/15): dotnet-hostfxr-3.0-3.0.0-5.fc31.x86_64. 598 kB/s | 158 kB 00:00 | ||
+ | (10/15): libicu-65.1-2.fc32.x86_64.rpm | ||
+ | (11/15): dotnet-runtime-3.0-3.0.0-5.fc31.x86_64 2.2 MB/s | 26 MB 00:12 | ||
+ | (12/15): dotnet-targeting-pack-3.0-3.0.0-5.fc31 1.2 MB/s | 728 kB 00:00 | ||
+ | (13/15): aspnetcore-runtime-3.0-3.0.0-5.fc31.x8 366 kB/s | 5.8 MB 00:16 | ||
+ | (14/15): dotnet-templates-3.0-3.0.100-5.fc31.x8 1.6 MB/s | 1.7 MB 00:01 | ||
+ | (15/15): dotnet-sdk-3.0-3.0.100-5.fc31.x86_64.r 1.6 MB/s | 40 MB 00:25 | ||
+ | -------------------------------------------------------------------------------- | ||
+ | Total 2.4 MB/s | 87 MB 00:36 | ||
+ | Running transaction check | ||
+ | Transaction check succeeded. | ||
+ | Running transaction test | ||
+ | Transaction test succeeded. | ||
+ | Running transaction | ||
+ | Preparing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Installing | ||
+ | Running scriptlet: dotnet-sdk-3.0-3.0.100-5.fc31.x86_64 | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | aspnetcore-runtime-3.0-3.0.0-5.fc31.x86_64 | ||
+ | aspnetcore-targeting-pack-3.0-3.0.0-5.fc31.x86_64 | ||
+ | dotnet-apphost-pack-3.0-3.0.0-5.fc31.x86_64 | ||
+ | dotnet-host-3.1.3-1.fc32.x86_64 | ||
+ | dotnet-hostfxr-3.0-3.0.0-5.fc31.x86_64 | ||
+ | dotnet-runtime-3.0-3.0.0-5.fc31.x86_64 | ||
+ | dotnet-sdk-3.0-3.0.100-5.fc31.x86_64 | ||
+ | dotnet-targeting-pack-3.0-3.0.0-5.fc31.x86_64 | ||
+ | dotnet-templates-3.0-3.0.100-5.fc31.x86_64 | ||
+ | libicu-65.1-2.fc32.x86_64 | ||
+ | libunwind-1.3.1-5.fc32.x86_64 | ||
+ | lttng-ust-2.11.0-4.fc32.x86_64 | ||
+ | netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64 | ||
+ | numactl-libs-2.0.12-4.fc32.x86_64 | ||
+ | userspace-rcu-0.11.1-3.fc32.x86_64 | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== 参考文献 ===== | ||
+ | [[https:// | ||
+ | [[https:// | ||