Ask Your Question
0

Uninstall Sublime Text from Fedora 23

asked 2016-06-21 10:34:19 -0600

coykoi gravatar image

I want to remove Sublime Text, which was installed by a my mistake... But I can't find a way to do it. It's impossible from Software Center, because the button Remove just not doing anything. Also I can't do it from terminal, because I don't know the exact name of the package (can't find sublime with rpm -qa --last ). I was trying many options of yum remove with sublime, sublime_text etc... Please help

edit retag flag offensive close merge delete

Comments

How did you install it?

florian gravatar imageflorian ( 2016-06-21 13:36:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-17 03:29:47 -0600

jjelen gravatar image

1) Find the binary, which is your sublime editor, for example by running your editor and then searching using ps af. Result will be something like /usr/bin/sublime 2) Find to which package does the file belong: rpm -qf /usr/bin/sublime 3) Remove the package: dnf remove package-name

If the second step tells you that file is not owned by any package, you installed it using something different the RPM and there is no way how to reliably remove it. The best you can do is probably to remove it by hand, such as rm -f /usr/bin/sublime (or the file you find in the first step). But it will most probably leave a lot of other files behind ...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-06-21 10:34:19 -0600

Seen: 1,563 times

Last updated: Jun 21 '16