Skip to content

Instantly share code, notes, and snippets.

View reloxx13's full-sized avatar
🚀
Deploy first, debug later

reloxx13

🚀
Deploy first, debug later
View GitHub Profile
@reloxx13
reloxx13 / linux-packages
Created November 14, 2018 21:51 — forked from kozmonaut/linux-packages
Backup and restore installed packages inside Linux Debian
# Backup your packages list
# Get a packages list
dpkg --get-selections > ~/Package.list
# Copy list of repositories
sudo cp /etc/apt/sources.list ~/sources.list
# Export repo keys
sudo apt-key exportall > ~/Repo.keys