投稿

3月, 2018の投稿を表示しています

VC++ Runtimeと.NET Frameworkのバージョン関係

Visual C++ Visual C++固有のライブラリを使用したプログラムを実行する場合、対応したバージョンのRuntimeが必要。 各バージョンの関係性は以下の通り。 2005 2008 2010 2012 2013 2017 ∋ 2015 基本的には、作成されたVC++と同じバージョンのRuntimeが必要。2017には2015が含まれているため、2017をインストールする場合は、2015のインストールは必要ない。 Visual C# Visual C#で作成されたプログラムの実行には、対応したバージョンの.NET Frameworkが必要。 1.0 1.1 3.5 ∋ 3.0 ∋ 2.0 4.7 ∋ 4.6 ∋ 4.5 ∋ 4.0 3.5で2.0~3.5が動作する 4.7で4.0~4.7が動作する

apt-add-repositoryが使えないときは

apt-add-repositoryが存在しない場合、software-properties-commonをインストールすることで使えるようになる。 # apt install  software-properties-common

aptからhttpsのURLにアクセスするときは

aptからhttpsのURLにアクセスする際、以下のようなエラーが出る場合がある。 # apt update Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease       Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease         Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease Reading package lists... Done E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? E: Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/dists/xenial/InRelease  E: Some index files failed to download. They have been ignored, or old ones used instead. apt-transport-httpsをインストールすることで解決する # apt install apt-transport-https

Docker上のUbuntuにWineHQをインストール

必要なものをインストール # apt install curl software-properties-common apt-transport-https 32bitサポートを追加 # dpkg --add-architecture i386 GPG鍵を追加 # curl -fsSL https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add - レポジトリを追加 # apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ アップデートと不足している32bitサポート関連のインストール # apt update --fix-missing # apt upgrade WineHQをインストール # apt install winehq-stable # wine --version wine-3.0