1

I just installed 'Sublime Text 3' and for some reason I can't install the 'package manager'. Anyway, I want to try uninstall it but I can't find it in my 'ubuntu software center'.

On this page it says to type this into the command line:

sudo rm -r /opt/Sublime\ Text\ 2
sudo rm /usr/bin/sublime
sudo rm /usr/share/applications/sublime.desktop
sudo sed -i 's/sublime\.desktop/gedit.desktop/g' /usr/share/applications/defaults.list

On this page it says to install synaptic and from there install and remove packages. Or to to delete it with:

sudo apt-get remove --purge <package-name>

On this page it says to use:

sudo apt-get remove sublime-text-installer

if I installed it with (which I didn't but I want to understand this in general):

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

It also says that if I installed it through 'ubuntu software center' or through running:

sudo dpkg -i sublime-text_build-3047_amd64.deb

Then I should remove it by running:

sudo dpkg -r sublime-text 

Can I always run 'sudo dpkg -r programX' from anywhere in my terminal to remove a program I installed with 'ubuntu sofware center' or with 'sudo dpkg programX.deb'?

Which method should I use to make sure a program is completely deleted? The first instructions make me a bit scared that it is installed all over the place. Why doesn't all installed software come up in 'ubuntu software center'? Is there not one place where I can delete a program like in windows' add/remove programs?

What do I need to know about installing and uninstalling programs in ubuntu (14.04)?

6
  • You can go to software centre> History section and remove the packages individually via Terminal.
    – Abhimanyu
    Aug 12, 2014 at 2:01
  • Where in 'ubuntu software center' do I delete 'Sublime text 3'?
    – Kriss
    Aug 12, 2014 at 2:01
  • How exactly did you install it? Aug 12, 2014 at 2:15
  • Clicking on the 64bit for linux on sublimetext.com/3 then it poped up in 'ubuntu software center' and I clicked install.
    – Kriss
    Aug 12, 2014 at 2:25
  • It does't come up in my history. When I redownload the program and click on the downloaded file 'ubuntu software center' pops up again and asks me if I want to reinstall it. But then it is gone again i.e. no where to be found unless I rerun the downloaded link.
    – Kriss
    Aug 12, 2014 at 2:29

3 Answers 3

1

Assuming you followed the instructions on the github, I would suggest that you use ppa-purge to remove the 'deadsnakes' ppa

sudo apt-get install ppa-purge

sudo ppa-purge ppa:fkrull/deadsnakes

Update your path to remove the path extensions added as instructed at the github, and most of lime should be inactive.

As for removing it entirely, the manner in which it was installed may require looking into the makefiles to determine what directories need to be deleted.

0

I would not recommend using those instructions, as they are incorrect (the sed -i command doesn't even exists).

Both apt-get remove --purge and synaptic do what you need (in fact, synaptic is based on apt-get), the main difference is that synaptic uses a graphical interface, including a search tool both for installed and uninstalled packages.

If you are not sure about the package name for the application, you should use synaptic, and type its name in the search box. It will provide a list of related packages, marking the installed ones with a blue square. Right click on them and select "completely remove". Once you got all the packages selected, click apply.

For more information about apt-get, type man apt-get For more information about synaptic, read the wiki.

0

Everything Is Possible With Software Centre

Just hold with me.

See, not everybody has Sublime Text 3, but given that it's still a programme, the process shall be like this:

  1. Open Software Centre
  2. Go to History
  3. Check the package you think is related to Sublime Text 3.

I'm attaching a picture here of the screen one can expect via these steps. history section of software centre

Sometimes, the software might have a different name and package name, like the package of Color Chooser is gtkcolorpick.

If you search with "Color Chooser," you won't get any result. You shall go to the History section and look for any packages that you think or which look like related to your app.

Then, remove them.

So How Do You Remove A Package Via History?

Well, you note down the name. Suppose I want to remove dh-apparmor (which I don't). Now, I would search exactly that in "Installed" section: "dh-apparmor". If it doesn't show your app's name yet, click on "Show Technical Terms." It'll surely show up now.

Just click on that package and uninstall it!

6
  • Not all package names resemble the name of the actual application, so that's why you're having all these problems.
    – Abhimanyu
    Aug 12, 2014 at 2:37
  • I cannot find sublime in the list. Do you have any idea what name to look for? for some reason all programs are installed 04.32pm yesterday or on the 22 of july (I reinstalled ubuntu yesterday so 22 of july seems really weird).
    – Kriss
    Aug 12, 2014 at 2:44
  • If you're also having problems with dates, I consider doing a separate investigation on that. For your problem: No I cannot think of anything. Can you send me a screenshot of the package names from the time around which you installed Sublime Text 3? You might use imgur.com.
    – Abhimanyu
    Aug 12, 2014 at 2:48
  • I was actually wrong about the dates. They do have different times. Here is a screenshot of the last updates changes. I definitely installed it after Java and the icetea plugin. But actually quite a while after; maybe hours. imgur.com/IkR1uSW
    – Kriss
    Aug 12, 2014 at 3:08
  • What do you think about these instructions? sudo dpkg -r sublime-text found here: stackoverflow.com/questions/17610913/…. Can I always run 'sudo dpkg -r program' from anywhere in my terminal to remove a program I installed with 'ubuntu sofware center' or with 'sudo dpkg program.deb'?
    – Kriss
    Aug 12, 2014 at 3:23

You must log in to answer this question.

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