Aptik is a utility to simplify re-installation of packages after performing a clean installation of Ubuntu/Linux Mint and derivatives. This can particularly be useful when installing a new system or, when you reinstall an existing one.
Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.
To some extent, Aptik, something like the long-established and quite popular Y-PPA Manager, who also knows how to create and restore backups of used repositories, there is still a lot of things different. Aptik, can be classified as a pure backup utility, unlike Y-PPA Manager, which backs up and then restore, choose the repository, installed and downloaded the software packages, themes and icons.
With this simple tool, you can backup and restore:
- Software sources (repositories)
- Selected application (the list of installed packages)
- app settings
- Previously downloaded packages (APT cache)
- Themes and icons.
In the first field Backup Directory (drop down menu) - select the folder where will be saved some backup, each subsequent backup, you need to choose every time again. And the following four fields in Backup & Restore is four types of backups, depending on that and what you want.
Connect the flash drive and create a new folder named, for example, backups. Start Aptik and select the new folder as a catalog for backup.
Note: instead of the flash drive you can use another hard disk partition, which is not affected when you reinstall the system, if it exists on your hard drive).
1. Maintaining the previously connected repositories (Software Sources).
Click on the Backup button and you will see a list of third-party repositories and installed packages.
The repository with the green icon is active, there are installed application of them. The repository with a yellow icon is active, but not used (no applications installed). Select the Repository to backup and click Backup. In the backup directory will be created a file with the name "ppa.list".
2. The backup app list (Software Selections) Click on the Backup button, which displays a list of installed packages. Displays only packets the "top level", the list will not be reflected dependence.
Packages that are part of the distribution, default is not selected. For example, Firefox is a package that is installed in Linux Mint (and most Linux distributions by default). So it will not be selected. But it can be selected manually if required. After clicking the Backup button in the backup directory will be created the file "packages.list".
3. Pressing the Backup in Downloaded Packages, will copy the backup directory packages from the system cache (/var/cache/apt/archives).
Note: This step is only useful when you reinstall the system. If you upgrade you can skip it, since the packages for the new release of Linux Mint will be newer than the packages in the system cache.
4. Similarly, can be archived and copied all the installed themes and icons from usr/share/themes and /usr/share/icons (Themes and Icons).
Note: Again, if you update to apply with caution because of possible incompatibility of old themes with new versions of GTK, etc.
Plug the flash drive into the newly installed system. Install and run Aptik, select the backup folder on the flash drive. The Restore button will restore your consistently repositories, packages and themes.
Regarding the item "Fix Ownership of Home folder":
Sometimes the home folder manually copied to another location, and then "restore" into the new system. However, this can cause problems if the user name or UID is different from the previous one. Click Take Ownership, to change the owner of files in your home directory for the current user (in other words, become the owner of the home folder). This action is equivalent to running the following command in the terminal:
sudo chown username -R /home/username
Installation latest version into Linux Mint:
sudo apt-add-repository ppa:teejee2008/ppa sudo apt-get update sudo apt-get install aptik
In addition you can on the same flash drive to store the deb program package Aptik to quickly install in the new system (for example if the new computer has no Internet). Download deb package you can with the official web site of the program.
Remove from Linux Mint:
sudo apt-get remove aptik
May the Force be with you,