Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

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?

share|improve this question

marked as duplicate by karel, Eric Carvalho, bodhi.zazen, waltinator, Sylvain Pineau Jun 17 at 9:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer

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
share|improve this answer
    
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 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 at 14:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.