ラベル dust の投稿を表示しています。 すべての投稿を表示
ラベル dust の投稿を表示しています。 すべての投稿を表示

2022年6月3日金曜日

Ubuntu 22.04にフォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールする

フォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールするには、以下のコマンドを実行します。

インストール手順

1. Rust言語のインストール
※curlをインストールしていない場合は、あらかじめ「sudo apt-get -y install curl」でインストールしておきます。
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env

2. dustコマンドのインストール
cargo install du-dust

3. dustコマンドの実行
以下のコマンドを実行して、フォルダ毎の容量を表示する事ができます。
dust (容量を調べたいパス)

〇dustコマンドの実行例

トラブルシューティング

以下のエラーが発生した場合は、
error: linker `cc` not found
以下のコマンドを実行してgccをインストールします。
sudo apt-get -y install gcc

関連情報

・dustコマンドのgithubリポジトリ
https://github.com/bootandy/dust

2021年12月8日水曜日

Debian 11(Bullseye)/Raspberry Pi OS(Rasbian Bullseye)にフォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールする

フォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールするには、以下のコマンドを実行します。

インストール手順

1. Rust言語のインストール
※curlをインストールしていない場合は、あらかじめ「sudo apt-get -y install curl」でインストールしておきます。
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env

2. dustコマンドのインストール
cargo install du-dust
3. dustコマンドの実行
以下のコマンドを実行して、フォルダ毎の容量を表示する事ができます。
dust

〇dustコマンドの実行例(Debian 11)

〇dustコマンドの実行例(Raspberry Pi OS - Raspbian Bullseye)

〇トラブルシューティング
以下のエラーが発生した場合は、
error: linker `cc` not found
以下のコマンドを実行してgccをインストールします。
sudo apt-get -y install gcc

関連情報

・dustコマンドのgithubリポジトリ
https://github.com/bootandy/dust

2021年7月18日日曜日

Debian 10(Buster)/Ubuntu 20.04/Raspberry Piにフォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールする

フォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールするには、以下のコマンドを実行します。

インストール手順

1. Rust言語のインストール
※curlをインストールしていない場合は、あらかじめ「sudo apt-get -y install curl」でインストールしておきます。
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env

2. dustコマンドのインストール
cargo install du-dust

3. dustコマンドの実行
以下のコマンドを実行して、フォルダ毎の容量を表示する事ができます。
dust

〇dustコマンドの実行例(Debian 10)

〇dustコマンドの実行例(Ubuntu 20.04)

〇dustコマンドの実行例(Raspberry Pi - Raspbian Buster)

トラブルシューティング

以下のエラーが発生した場合は、
error: linker `cc` not found
以下のコマンドを実行してgccをインストールします。
sudo apt-get -y install gcc

関連情報

・dustコマンドのgithubリポジトリ
https://github.com/bootandy/dust

2021年7月12日月曜日

CentOS 8/CentOS 8-Streamにフォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールする

フォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールするには、以下のコマンドを実行します。

インストール手順

1. Rust言語のインストール
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env

2. dustコマンドのインストール
cargo install du-dust

3. dustコマンドの実行
以下のコマンドを実行して、フォルダ毎の容量を表示する事ができます。
dust

〇dustコマンドの実行例(CentOS 8)

〇dustコマンドの実行例(CentOS 8-Stream)

トラブルシューティング

以下の様なエラーがでたら、
error: linker `cc` not found
以下のコマンドを実行してgccをインストールします
sudo dnf -y install gcc

関連情報

・dustコマンドのgithubリポジトリ
https://github.com/bootandy/dust

2021年7月5日月曜日

AlmaLinux 8にフォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールする

フォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールするには、以下のコマンドを実行します。

インストール手順

1. Rust言語のインストール
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env

2. dustコマンドのインストール
cargo install du-dust

3. dustコマンドの実行
以下のコマンドを実行して、フォルダ毎の容量を表示する事ができます。
dust

〇dustコマンドの実行例

関連情報

・dustコマンドのgithubリポジトリ
https://github.com/bootandy/dust

2021年6月28日月曜日

Rocky Linux 8.4にフォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールする

フォルダ毎のディスク使用量を分かりやすく表示できるdustコマンドをインストールするには、以下のコマンドを実行します。

インストール手順

1. Rust言語のインストール
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env

2. dustコマンドのインストール
cargo install du-dust

3. dustコマンドの実行
以下のコマンドを実行して、フォルダ毎の容量を表示する事ができます。
dust

〇dustコマンドの実行例

関連情報

・dustコマンドのgithubリポジトリ https://github.com/bootandy/dust