Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to clone my linux so all the installed packages

sudo apt-get install apt-clone
apt-clone clone foo

Copy foo.apt-clone.tar.gz to the new machine and run

sudo apt-get install apt-clone
sudo apt-clone restore foo.apt-clone.tar.gz


apt-clone may work between related distributions, 
e.g. Debian and Ubuntu. Use restore-new-distro instead of restore in that case. 
If that fails, use the manual method with dpkg --get-selections and apt-mark, 
and fiddle with the package list until apt is satisfied.
Comment

PREVIOUS NEXT
Code Example
Shell :: show fortigate uptime 
Shell :: pip install geopandas 
Shell :: listen tcp 127.0.0.1:8001: bind: address already in use 
Shell :: how to install pyqt5 
Shell :: Install the latest stable version of Mesa driver in Ubuntu 
Shell :: aws cli download multiple files s3 
Shell :: curl ssl verify false 
Shell :: how to extract tar.gz file in colab 
Shell :: check disk space ubuntu 
Shell :: how to install openssl on windows 10 
Shell :: reverse shell bash 
Shell :: sveltekit normalize css 
Shell :: ubuntu git credentials cache 
Shell :: list all the emulator 
Shell :: batch copy silent 
Shell :: brew install eb cli 
Shell :: spec false not working 
Shell :: apache config location 
Shell :: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 
Shell :: uninstall gns3 ubuntu 
Shell :: for loop in shell script 
Shell :: how to stop build in heroku 
Shell :: readline/readline.h: No such file or directory 
Shell :: wsl cannot read realtime clock 
Shell :: upgrade notebook 
Shell :: bluetooth headphone not working linux mint 
Shell :: git copy branch to another branch 
Shell :: ubuntu apache2 command 
Shell :: add docker to group 
Shell :: react-devtools agent got no connection 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =