This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tips:debian:deb [2015/04/03 20:45] – created scipio | tips:debian:deb [2015/04/12 08:15] (current) – [Clone packages PC to another] scipio | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| sed -ri ' | sed -ri ' | ||
| sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb | sudo dpkg-deb -b fglrx-core/ fglrx-core_14.501-0ubuntu1_amd64.deb | ||
| + | </ | ||
| + | |||
| + | ===== Clone packages from machine to another ===== | ||
| + | |||
| + | on PC 1 | ||
| + | <code bash> | ||
| + | dpkg --get-selections > / | ||
| + | </ | ||
| + | |||
| + | on PC 2 | ||
| + | <code bash> | ||
| + | dpkg --set-selections < / | ||
| + | apt-get -u dselect-upgrade | ||
| </ | </ | ||