How to backup all the applications installed on ubuntu

As we all know, most of the applications in Ubuntu comes from the file *. deb package manager is installed with either a terminal-based apt or the like based GUI like Synaptic, USC, GDebi, and others. We can easily install applications on Ubuntu if you have an Internet connection, well, what if we want to install the same application on another computer or a friend's computer such as our brother, while the *. deb is removed and our friend's computer does not have an Internet connection? ?? Please read this article for the easy solution

open a terminal and type the following command
sudo apt-get install dpkg-repack fakeroot

Then create a file storage folder *.deb that will be generated by "dpkg-repack".
cd ~
mkdir ~/dpkg-repack
cd ~/dpkg-repack

after the completed folder, go into the folder, then type the following command
fakeroot -u dpkg-repack `dpkg --get-selections | grep install | cut -f1`

This last command will take a long time.

If all processes have been completed and running smoothly, you will get a file *.deb of the applications installed in the folder "/ home / username / dpkg-repack". Well, now you can move the files *.deb to a flash or other storage media to be installed in your friend's computer with the following command:
sudo dpkg -i *.deb

may be useful :)



Other Articles You May Find:




No comments:

Post a Comment