
私はApricity OS(Arch Linuxベース)を使用しています。 Dot Net Coreをインストールしたいです。パックマンでインストールする命令は何ですか?
答え1
編集:参照黒点回答今リポジトリにあるままDot Netを使用したい場合。この回答はまだ書かれていないときに書かれています。
Archlinux User Repository(AUR)には複数のDotNetCore関連パッケージがあります。 mpromonetの答えで述べたように、それらの1つはdotnet-cliです。ただし、AURからパッケージをインストールするためにyaourt(または他のAURヘルパープログラム)をインストールする必要はありません。
OPに比べて遅すぎる可能性があることを知っていますが、完全性のために、以下はArchlinux(またはその派生製品)用のAURにのみあるパッケージをインストールするステップであり、追加のツールは必要ありません。
1) Make sure you have the base-devel group installed
2) Go to the website https://aur.archlinux.org/packages/ and search the package
3) On the page for that package, klick "Download snapshot" and save the package to your computer
4) Extract the package on your computer: tar xvf <package_name>.tar.gz
5) cd <package_name>
6) makepkg
7) If the build fails, saying that a dependency is not satisfied, download and install that dependency first: try pacman -S <dependency> or else follow these steps
8) When the build succeeded, install the package:
sudo pacman -U <pkgname>-<version_number>.tar.xz
AURも参照してください入り口Archlinux wikiでAURの詳細な説明をご覧ください。
答え2
これで、.NET Core用のパッケージが公式コミュニティストアで利用できるようになりました。
.NET Core アプリのみを実行するには、次のものが必要です。dotnet-runtime
パック。
pacman -S dotnet-runtime
.NET Core アプリを直接ビルドする場合も、次のものが必要です。dotnet-sdk
パック。
pacman -S dotnet-sdk
答え3
インストールするためにdotnet-cli、yaourt
AUR パッケージのビルドとインストールに使用できます。
次のように進むことができます。
/etc/pacman.confに追加
[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
アップデート
pacman
とインストールyaourt
:sudo pacman -Sy yaourt
次に、次のコマンドを使用してdotnet-cliをインストールします。
yaourt dotnet-cli
そしてyaourtの指示に従ってください。