10

I ran this command:

sudo apt-get install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 sni-qt:i386

But now I want to remove what I've just installed.

What's the command?

2
  • simple sudo apt-get remove or sudo apt-get purge
    – Pandya
    Jun 14, 2014 at 13:47
  • Visit this
    – Pandya
    Jun 14, 2014 at 14:01

2 Answers 2

10

The easiest way would be to edit your command to enter

sudo apt-get remove gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 sni-qt:i386

Open your terminal window, press up-arrow repeatedly until you see your install command, press left-arrow until the cursor gets to 'install', backspace it out and type 'remove'.

1

If this is your previous command ,

sudo apt-get install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 sni-qt:i386

Then run only,

^install^remove

It replaces install with remove from the previous command and reruns the corrected command.

Syntax:

^bad^good
2
  • But this only works if that was the immediate previous command - if there were other commands entered between then and now, such as "what did I just do" the bash replacement will fail Jun 14, 2014 at 14:13
  • that's what i said in my answer. OP only mentioned "i ran this command to install these packages now i want to remove those packages". That's all. Jun 14, 2014 at 14:15

Not the answer you're looking for? Browse other questions tagged .