LoginSignup
4
2

More than 5 years have passed since last update.

Wlinuxでbuild-essentialをインストールしたい

Last updated at Posted at 2018-09-27

追伸(2018-09-28)

2018-09-28の アプデ (Version 1.1.17) で、WLinux インストール時に build-essential がプリインストールされるようになりました。
なのでこの記事は読む必要ありません。

動機

最初からgccとか入っていないので環境を入れるべくbuild-essentialを入れようと思いました。
しかし普通にやっても入らなくて困ってたら公式回答を頂いたので載せておきます。

試した環境

  • Windows10 Home (Build 1803)
  • WLinux 1.1.16

失敗するパターン

普通にコマンドを打つ

$ sudo apt update
$ sudo apt install build-essential

するとエラーが出る

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or libc-dev
Depends: g++ (>= 4:6.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages. 

とりあえず入れる方法

$ sudo apt update
$ sudo apt -t testing install build-essential -y

補足

偉大なる公式アカウントより教えていただきました。

9/28 予定のアプデで WLinux 1.1.17 でこのapt関連の修正を行うようです。
(ROADMAPには書かれていませんが…)
https://github.com/WhitewaterFoundry/WLinux/blob/master/ROADMAP.md#release-1117---master-branch

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2