I am new to Ubuntu and Linux in general, So forgive me of being ignorant about basic operations...
So let's say I tried to install a package, it takes too so, I want to abort it,
Is there a safe way of doing it, (preferably one that automatically deletes the files that get left, corrupted or unused packages etc.)