0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Kubuntu24.04でUnityが空き容量不足でインストールできなかった話

Posted at

経緯

Kubuntu 24.04のUnityHubでUnityEditorをインストールしようとすると

Download failed: There is not enough storage to download and install the selected items

というエラーが出て失敗しました。

対処法

本来これはディスクに十分な空き容量が無いというエラーです。しかしディスクの空き容量が十分にあっても表示されることがあります。
通常、Unityのデータは一時的に/tmpフォルダ配下にダウンロードされますが、/tmpフォルダはRAMの半分に限定されるそうです。
例としてRAM8GBのPCなら4GBしかありません。
/tmpのサイズを変更することでも解決できますが、今回はUnityをダウンロードするだけだったので割愛します。
UnityHubの設定からDownloads Locaionをホームディレクトリ配下の新規ディレクトリに変更するとダウンロードできました。

まとめ

Linuxでは/tmpのサイズがRAMによって変わります。それを超えるサイズのUnityEditorをダウンロードしたい場合は別のフォルダーを指定するか、/tmpフォルダのサイズを変更する必要があります。

参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?