Hi folks!
I posted this question previously but the thred was deleted due to technical problems on the site I believe. I recovered from the cache a helpful reply from Greygeek, I think it was (Thanks Greygeek!) which I post below.
From memory, my original questions was along the lines of:
I have version 17.04 (not 19.04 as per Greygeeks reply, so I proably made a mistake on my orig post there, maybe that difference is important?) and want to upgrade. Is there a best practice, or easy way to do this while preserving the programs installed?
Greygeeks reply:
So, I have progressed a little further! I have backed up /Home, but couldn't find any other folders that looked like they might be part of any of those programs. Should I also back up any of these folders?:
By "Do I need to delete the kubuntu directory>" I meant, do I need to delete everything? before I install? perhaps 'root' is the correct term? Should I delete the root folder? or /?
Or should the new version overwrite the old files and folders?
I have a dual boot system. I think it might be Grub but not sure - that allows selection of OS on boot. WIll this be updated or affected on install of 20.04?
Im not very confident about this as you can see. Some of those apps and prgrams are important. So for now at least it would be best to keep teh orignal file system and not upgrade that as well.
The ISO is downloaded, verified, burned to a bootable USB
Any advice appreciated before I take the plunge!
Thanks in advance for any tips or advice
sb
Edited to add: The various apps and programs were from various sources, repository and .deb files, etc. Some were compiled as well.
I posted this question previously but the thred was deleted due to technical problems on the site I believe. I recovered from the cache a helpful reply from Greygeek, I think it was (Thanks Greygeek!) which I post below.
From memory, my original questions was along the lines of:
I have version 17.04 (not 19.04 as per Greygeeks reply, so I proably made a mistake on my orig post there, maybe that difference is important?) and want to upgrade. Is there a best practice, or easy way to do this while preserving the programs installed?
Greygeeks reply:
" ... just a dozen or so important apps..."
Did you get the apps from the repository or are they imported from PPA's or as *.deb packages from various sites?
Generally, those apps have config and data files in ~/home/youraccountname/.local/share or ~/.config or ~/.someappname or some similar hidden location.
Some apps will install part of their program in your home directory and other parts in root directories, like /opt. Google and Minecraft apps do that, and there are others.
IF the apps you are using have an option to EXPORT their data to some location then use it to export the data to a USB stick or another HD. After you install 20.04 you can install those apps and then use their IMPORT feature, if they have it, to restore your data. KMail and Thunderbird are apps that can do that.
You do NOT need to delete the "kubuntu directory", which isn't a thing. If you mean your account directory, /home/youracctname, then that is unnecessary.
After you download the ISO and verify its checksum using sha256sum you can then burn it to a 4GB or bigger USB stick. You can use the dd command, or the "Startup Disk Creator" option under the System menu. Note that the Startup Disk Creator no longer creates persistent LiveUSB sticks. You can choose to run the ISO from the USB stick or you can choose to install the ISO from the USB stick.
During the install you will be asked which partition you want to install on. Select the partition that 19.04 was installed on.
At that point you can either let the system default to using EXT4 and "/" as the mount point,, OR, you can select the manual partition, and on that screen choose the same partition but this time select BTRFS with "/" being the mount point. Why BTRFS? Check out the posts on the BTRFS subforum. Otherwise, after you've installed 20..04 make TimeShift one of your first installs and make a backup of the system before you begin making any additions or changes. Then, install those "20 or so apps" and after that copy of their config and data files from the backup you made of them before you installed 20.04.
Did you get the apps from the repository or are they imported from PPA's or as *.deb packages from various sites?
Generally, those apps have config and data files in ~/home/youraccountname/.local/share or ~/.config or ~/.someappname or some similar hidden location.
Some apps will install part of their program in your home directory and other parts in root directories, like /opt. Google and Minecraft apps do that, and there are others.
IF the apps you are using have an option to EXPORT their data to some location then use it to export the data to a USB stick or another HD. After you install 20.04 you can install those apps and then use their IMPORT feature, if they have it, to restore your data. KMail and Thunderbird are apps that can do that.
You do NOT need to delete the "kubuntu directory", which isn't a thing. If you mean your account directory, /home/youracctname, then that is unnecessary.
After you download the ISO and verify its checksum using sha256sum you can then burn it to a 4GB or bigger USB stick. You can use the dd command, or the "Startup Disk Creator" option under the System menu. Note that the Startup Disk Creator no longer creates persistent LiveUSB sticks. You can choose to run the ISO from the USB stick or you can choose to install the ISO from the USB stick.
During the install you will be asked which partition you want to install on. Select the partition that 19.04 was installed on.
At that point you can either let the system default to using EXT4 and "/" as the mount point,, OR, you can select the manual partition, and on that screen choose the same partition but this time select BTRFS with "/" being the mount point. Why BTRFS? Check out the posts on the BTRFS subforum. Otherwise, after you've installed 20..04 make TimeShift one of your first installs and make a backup of the system before you begin making any additions or changes. Then, install those "20 or so apps" and after that copy of their config and data files from the backup you made of them before you installed 20.04.
bin, boot, dev, etc, lib, lib64, proc, run, sbin, sys, tmp, usr, var
By "Do I need to delete the kubuntu directory>" I meant, do I need to delete everything? before I install? perhaps 'root' is the correct term? Should I delete the root folder? or /?
Or should the new version overwrite the old files and folders?
I have a dual boot system. I think it might be Grub but not sure - that allows selection of OS on boot. WIll this be updated or affected on install of 20.04?
Im not very confident about this as you can see. Some of those apps and prgrams are important. So for now at least it would be best to keep teh orignal file system and not upgrade that as well.
The ISO is downloaded, verified, burned to a bootable USB
Any advice appreciated before I take the plunge!
Thanks in advance for any tips or advice
sb
Edited to add: The various apps and programs were from various sources, repository and .deb files, etc. Some were compiled as well.
Comment