sudo apt update sudo apt install zip unzip To create a ZIP archive, navigate to the directory containing the files you want to archive, and use the zip command: