how to remove unused packages in ubuntu code example Example: ubuntu remove all unnecessary packages du -sh /var/cache/apt/archives