How to uninstall app ubuntu
How to uninstall app ubuntu
Удалите приложения в Ubuntu разными способами
В следующей статье мы рассмотрим, как можно удалить приложения Ubuntu разными методами. Это то, что многие люди, пытающиеся установить программное обеспечение, не считают важным, пока не наступит день, когда они обнаружат, что в своей операционной системе полно программ, которые они использовали только один или два раза.
В Ubuntu нет ни единой возможности удалить такие приложения, как Windows. Вот почему в следующих строках мы увидим различные методы удаления приложений, которые мы можем установить в Ubuntu, используя snap, flatpak, apt, опцию программного обеспечения Ubuntu или диспетчер пакетов Synaptic.
Удалите приложения из нашей системы Ubuntu
Использование программного обеспечения Ubuntu
Это самый простой способ удалить установленные приложения в Ubuntu. С помощью этого программного обеспечения мы сможем удалить установленные вручную приложения, приложения Flatpak или пакеты Snap.
Если мы нажмем на Показать приложения в Gnome Dock или нажмем клавишу Windows на клавиатуре и наберем «Программное обеспечение Ubuntu» этот инструмент откроется.
После этого вам просто нужно нажать на опцию «Instalado«Что мы найдем наверху. Этот он покажет нам все установленные приложения Ubuntu. Рядом с каждым из них появится кнопка. Если мы нажмем на эту кнопку под названием «удалять», Начнется удаление приложения.
Перед продолжением удаления откроется окно Требуется аутентификация. Введите свой пароль пользователя Ubuntu, чтобы начать удаление.
Этот метод он очень эффективен для удаления пакетов, но не для всех.. Если вы не можете найти программу, которую хотите удалить, в списке, вы должны перейти к одной из других возможностей для удаления программного обеспечения.
Удалите собственные приложения Ubuntu с помощью терминала
С помощью этой другой команды вы также получите список установленных приложений:
Раз обнаружил пакет, который мы хотим удалить, используя терминал (Ctrl + Alt + T), нам просто нужно выполнить соответствующую команду, используя следующий формат. Вы должны заменить ‘имя пакета‘в примере фактическим именем удаляемого пакета:
Это удалит приложение из нашей системы, но сохранит файлы конфигурации, плагины и настройки для использования в будущем. Если мы хотим полностью удалите приложение из нашей системы, мы также будем использовать следующую команду:
Удалите пакеты Snap с помощью терминала
Мы также сможем удалить установленные пакеты оснастки с помощью терминала (Ctrl + Alt + T). Для начала мы можем перечислите их все выполнив следующую команду:
После того, как удаляемый пакет будет найден, в том же терминале у нас будет только используйте следующий синтаксис:
Нам просто нужно будет заменить ‘имя пакета‘по фактическому имени пакета приложения snap.
Удалите приложения Flatpak с помощью терминала
Если вы установили приложения через flatpak, вы также сможете удалить их с помощью терминала. Сначала получите списокпакеты Flatpak установлены выполнив следующую команду в терминале (Ctrl + Alt + T):
Как только приложение Flatpak, которое вы хотите удалить, будет найдено, вам просто нужно следуйте синтаксису ниже, чтобы удалить приложение:
Как и в предыдущих вариантах, вы должны заменить ‘имя пакета‘по названию приложения Flatpak.
Удаление пакетов с помощью диспетчера пакетов Synaptic
Как только станет доступен, вам просто нужно выберите пакет, который мы хотим удалить. Затем щелкните по нему правой кнопкой мыши и выбирать «Установите флажок, чтобы полностью удалить . Мы закончим нажатием на «Применять»Удалить установленное приложение.
С помощью этих небольших базовых примеров любой сможет узнать, какие пакеты он установил в своей Ubuntu, и приступить к их удалению.
Содержание статьи соответствует нашим принципам редакционная этика. Чтобы сообщить об ошибке, нажмите здесь.
Полный путь к статье: Убунлог » Ubuntu » Удалите приложения в Ubuntu разными способами
If I build a package from source how can I uninstall or remove completely?
I used source code to build one package such as below:
But unfortunately, i discovered that its the latest version, and has lot of bugs, so i need to remove it/uninstall it. But how can i do so? I tried make clean; make uninstall but still i see it exist:
How do you remove this now?
10 Answers 10
Usually you can just use:
if the app was installed as root.
But this will work only if the developer of the package has taken care of making a good uninstall rule.
You can also try to get a look at the steps used to install the software by running:
And then try to reverse those steps manually.
In the future to avoid that kind of problems try to use checkinstall instead of make install whenever possible (AFAIK always unless you want to keep both the compiled and a packaged version at the same time). It will create and install a deb file that you can then uninstall using your favorite package manager.
make clean usually cleans the building directories, it doesn’t uninstall the package. It’s used when you want to be sure that the whole thing is compiled, not just the changed files.
, and everything should be removed.
I do not think this is a bug, it would be a good idea to read about and learn to use checkinstall when installing from source.
you can install checkinstall from the repositories, a short description of the package;
CheckInstall keeps track of all the files created or modified by your installation script («make install» «make install_modules», «setup», etc), builds a standard binary package and installs it in your system giving you the ability to uninstall it with your distribution’s standard package management utilities.
These links below may be helpful to get a better understanding. http://en.wikipedia.org/wiki/CheckInstall
There is no standard way that software compiled from source is installed or uninstalled so no way Ubuntu can know what to do. The software is not even listed as an installed program.
You should follow the distributor’s instructions for installation and removal of such custom software. You could also contact the developer to ask for them to create a Debian package so that the package management system can be used.
Make
Make is a program that’s used to compile and install programs from source code. It’s not a package manager so it doesn’t keep track of the files it installs. This makes it difficult to uninstall the files afterwards.
The make install command copies the built program and packages into the library directory and specified locations from the makefile. These locations can vary based on the examination that’s performed by the configure script.
CheckInstall
CheckInstall is a program that’s used to install or uninstall programs that are compiled from the source code. It monitors and copies the files that are installed using the make program. It also installs the files using the package manager which allows it to be uninstalled like any regular package.
The checkinstall command is calls the make install command. It monitors the files that are installed and creates a binary package from them. It also installs the binary package with the Linux package manager.
Replace source_location.deb and name in the screenshot with your own information:
Execute the following commands in the source package directory:
Run the Configure script
Run the Make command
Reinstall the package
Remove the package
Here’s an article I wrote that goes through the entire process with explanations.
It is not a bug, it is what happens when developers resort to distribution via source and not via the native packaging methods.
We need to negotiate the fact that make uninstall would not always work, so below is more of a proactive solution.
This involves the use of the paco program which is available in the Ubuntu Software Center. Once we have installed paco, we can use it the log mode when we «make install» a program. Paco acts like a wrapper for your «make install» and creates a log in the /var/log/paco directory with the list of files copied to various directories. Moreover, you could see the the files in the Paco Front end.
For example when I compiled php from source I did the following :
The parameter l makes the paco run in the log mode.This created a log file in /var/log/paco named php5 (the name I have given in the command). It contained all the files which are copied to various standard locations during the install. You could use a command line editor or paco gui to view the files.
Below is the example of getting the file list using sed command line editor
(Replace php5 with your filename).
Once you got the list of the files, you know how to delete them don’t you? Indeed, you could pass the results of the above command to rm using backticks like shown below:
Note : Due to LD_PRELOAD limitations, paco can’t follow the trace of suid programs. See man page.
How can I uninstall it?
12 Answers 12
Manually installed packages appear in the Software Centre, along with all the others. Just search the software centre for your package and remove it there.
You may have to click on «Show N technical items»
Along with this, there are a few other methods:
Click the Apply button.
This will have the benefit of listing all of your manually installed packages:
You can either use sudo apt-get remove packagename if you know the name of the package, or if you don’t, search for it using apt-cache search crazy-app and then remove it using apt get
The command to facilitate that is:
Also if you need to remove them forcefully
Every solution here assumes you know or can find the name of the package, but none provide how to remove a package if all you have is the deb. To that end, the below command will extract the package name from the deb and remove that package name.
Or from the command line:
See this blogpost for more information.
If your want to remove the package and all configuration files related to it:
Although it’s true that- sans GUI— our choices are:
Where dpkg can be executed from a script without the equivalent of a » -y » switch, apt requires this to avoid user input. The consequences are that apt could automatically resolve package dependencies and remove packages other than the target supplied to the command.
Note when I remove iptables that lxd and ufw also removed. But what if I didn’t want lxd removed? Well, it’s gone now:
Note dpkg stops me from potentially altering the system in an unintended way if I were to use it in a scripted execution and refusing to remove both ufw and lxd:
Conclusion:
The installed package will be visible in both Synaptics and software center. In the former one, it will appear under local packages and in the latter one under other.
You can use the remove and force flags:
Alternatively, if you installed it through Ubuntu Package Manager, you can remove it with apt:
obviously, You can use the remove and force flags:
dpkg: error processing package brmfc7440nlpr:i386 (—purge): package is in a very bad inconsistent state; you should reinstall it before attempting a removal Errors were encountered while processing: brmfc7440nlpr:i386
And yes, the lead to «reinstall it before attempting. » is of course utterly futile and redundant, since it just runs into the same error with another flavour.
This already will lead many users to reinstall Ubuntu in hopes of betterment, taking many, many hours of extra work. The package from the real-world example above is a laserprinter (lpr) driver for a brother MFC model 7440N.
Как удалить программные пакеты в Ubuntu
Иногда вы можете установить приложение на свой Ubuntu и, попробовав его, решите, что это приложение не для вас. В этом случае вы, вероятно, захотите удалить пакет.
Только root или пользователь с привилегиями sudo могут удалять пакеты из Ubuntu.
Удаление пакетов с помощью программного обеспечения Ubuntu Software Center
Если вам не нравится командная строка, вы можете удалить приложения через Центр программного обеспечения Ubuntu (USC). Эта утилита предоставляет графический интерфейс для поиска, установки и удаления приложений.
На экране «Действия» найдите «Программное обеспечение Ubuntu» и щелкните оранжевый значок USC. Это откроет инструмент USC.
Чтобы получить список всех установленных приложений, щелкните вкладку «Установленные» на верхней панели навигации.
Прокрутите вниз, пока не найдете приложение, которое хотите удалить, и нажмите кнопку «Удалить» рядом с ним.
Инструмент Ubuntu Software показывает только установленные приложения с графическим пользовательским интерфейсом (GUI). Если вы не можете найти пакет, который хотите удалить, вам следует удалить его из командной строки.
Удаление пакетов с помощью командной строки
Все, что вы можете делать с помощью инструментов графического интерфейса, вы можете делать из командной строки. Фактически, командная строка дает вам больше возможностей и контроля для удаления пакетов программного обеспечения.
Вы можете открыть свой терминал с помощью Ctrl+Alt+T или щелкнув значок терминала.
Перед удалением программного пакета вы должны сначала найти точное имя пакета. Чтобы получить список всех установленных пакетов в вашей системе, введите:
Команда напечатает длинный список установленных пакетов. Было бы неплохо направить вывод в less чтобы его было легче читать. Или вы можете использовать grep для фильтрации результатов.
Чтобы удалить установленный пакет, выполните следующую команду:
Замените package_name именем пакета, который вы хотите удалить.
Вы также можете удалить несколько пакетов. Имена пакетов должны быть разделены пробелом:
Команда remove удаляет указанные пакеты, но может оставить некоторые файлы пакетов. Если вы хотите удалить пакет, включая все его файлы, используйте purge вместо remove :
Удалить пакеты Snap
Чтобы вывести список всех установленных пакетов snap, выполните следующую команду:
Как только вы узнаете точное имя пакета, вы можете удалить его, набрав:
Удалить неиспользуемые пакеты
Каждый раз, когда вы устанавливаете новый пакет, который зависит от других пакетов, зависимости пакета также будут установлены. Когда пакет будет удален, пакеты зависимостей останутся в системе. Эти оставшиеся пакеты больше не используются ничем и могут быть удалены.
Вы можете удалить ненужные пакеты с помощью:
Выводы
Мы показали вам, как удалять приложения из вашей Ubuntu через командную строку и используя Центр программного обеспечения Ubuntu. Знание того, как удалять пакеты, является важной частью системного администрирования Linux.
Существует ряд причин, по которым вы захотите удалить ранее установленный пакет из вашего Ubuntu. Например, вам может потребоваться удалить приложение, которое вам больше не нужно, или освободить место на диске.
Не стесняйтесь оставлять комментарии, если у вас есть вопросы.
Uninstall a program installed with Wine
I am using Ubuntu 11.10. By using wine software i installed some software like nimbuzz and ibibo messenger. Both the programs are not working and showing the bug as We’re sorry, but an unknown error has caused ibibo Messenger to close.
So I wanna uninstall those.
How to uninstall those type of programs which I installed through Wine?
4 Answers 4
Search for wine in Dash. Select Uninstall Wine software there. There you can find all the softwares and will have option to uninstall.
Uninstall Wine software option»>
If you are using Gnome Fallback just go to Applications => Wine => Uninstall Wine software
/.wine/drive_c/windows/ wine syswow64/uninstaller.exe
Type «unistall wine software» in your dash and open the application.
You will see the list of applications installed, click on the one you want to unistall and click on «Remove».
I have found the answer! On the Wine menu, I clicked on «Uninstall Wine Software».
This opens an add/remove window. I just select the app and then click the «Modify/Remove» button.
However, for some reasons that I can’t understand, I have to do the same operation twice. After clicking OK three times, I still see the program on the list! When I select it and then click again on the «Modify/Remove» button I get this:
I click the «Yes» button and, finally, the app disappears from the list. But after that, I have to clean the shortcuts and folder manually. I wish I could find an easier and cleaner solution, but this one works fine anyway.
Источники информации:
- http://askubuntu.com/questions/87111/if-i-build-a-package-from-source-how-can-i-uninstall-or-remove-completely
- http://askubuntu.com/questions/22200/how-to-uninstall-a-deb-package
- http://routerus.com/how-to-uninstall-software-packages-on-ubuntu/
- http://askubuntu.com/questions/101064/uninstall-a-program-installed-with-wine