Remove the last installed packages

Posted on Sa 23 Februar 2013 in Linux

While I planed to install Skype on my 64bit Fedora machine I had to install a lot of i686 packages which I want to delete after I came to the conclusion Skype is not worth to be installed if they are not able to build a 64bit package.

To remove the last 49 packages I used this command:

yum remove `tail -n 49 /var/log/yum.log | cut -d \  -f 5`

Thanks to: