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?

aborted
  • 269
  • 1
  • 4
  • 17

2 Answers2

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'.

Charles Green
  • 21,339
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
Avinash Raj
  • 78,556
  • 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 – Charles Green Jun 14 '14 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. – Avinash Raj Jun 14 '14 at 14:15