If I have two Ubuntu versions installed in my PC, let's say: Ubuntu Studio 15.10 and Lubuntu 15.10, Can I remove one of them (whichever) without to having to format any partition?
Is there some bash command to perform this?
How?
If I have two Ubuntu versions installed in my PC, let's say: Ubuntu Studio 15.10 and Lubuntu 15.10, Can I remove one of them (whichever) without to having to format any partition?
Is there some bash command to perform this?
How?
As I know there is not a Bash command for this.
Do you know the tool gparted? It's a graphical tool to manage your disk space. Install it in this system, that you want to keep. It's available in Ubuntu-software-center.
With this tool you should be able to delete partition of the other system. Don't forget to start it as root.
The only way to actually remove an operating system is by modifying partitions. As @bodhi.zazen said, Ubuntu is not a program that can be uninstalled. That being said, deleting that Ubuntu partition will let you reclaim the space and give it to another partition.
Although, if you aren't running out of space on your hard drive, there's no particular reason to delete the partition. If you do still want to delete it, you can do so via the GUI application GParted as described here or here.
There are people way smarter than me here, but is it a dual boot situation? Like, they both are separated by a partition? If so then yes just format the partition of the OS you no longer want. Just save all your stuff first.