Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How uninstall softwares included in LUbuntu ?

  1. #1
    Join Date
    Jul 2020
    Beans
    118

    How uninstall softwares included in LUbuntu ?

    Lubuntu install softwares that I not need. How to unnistall Firefox, Libreoffice, bluedevil and some others softwares ? Thanks for reply.
    Last edited by aug7744; July 30th, 2020 at 11:20 AM.

  2. #2
    Join Date
    May 2010
    Beans
    552

    Re: How uninstall softwares inclued in LUbuntu ?

    Code:
    sudo apt-get --purge remove firefox libreoffice bluedevil
    sudo apt-get --purge autoremove
    And so on.

  3. #3
    Join Date
    Oct 2009
    Beans
    539

    Re: How uninstall softwares inclued in LUbuntu ?

    These should be safe to remove. Depending on others you want to remove, be careful since some software is tied into the OS and might cause damage(think evolution calendar). Usually for people you do not want a lot of included software, the min ISO is good so you can add what you want.

  4. #4
    Join Date
    Jul 2020
    Beans
    118

    Re: How uninstall softwares inclued in LUbuntu ?

    Thanks for all replies. "sudo apt-get --purge remove firefox libreoffice bluedevil sudo apt-get --purge autoremove" Means that Linux not need to use unninstaller how are used in windows ? exactly all files installed will be deleted even configurations ?

  5. #5
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,388
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: How uninstall softwares included in LUbuntu ?

    I don't know about Windows. On Ubuntu, apt (or apt-get, or one of the other interfaces to the same) is the package manager and with the remove action it acts as an uninstaller for all properly packaged software. And you normally avoid software that's not properly packaged. The --purge option means it will also remove configuration. It won't remove user settings though; you have to remove those manually. They should be somewhere in your home directory.

  6. #6
    Join Date
    Jul 2020
    Beans
    118

    Re: How uninstall softwares included in LUbuntu ?

    -purge
    also remove configuration of others softwares ? How that command work ?
    How to see the exact name of an software to use in sudo apt-get --purge remove ?

  7. #7
    Join Date
    Aug 2017
    Location
    melbourne, au
    Beans
    648
    Distro
    Lubuntu Development Release

    Re: How uninstall softwares included in LUbuntu ?

    To see the [reference] manual page for the command `apt-get`, you can use the command

    Code:
    man apt-get
    It will show the following information http://manpages.ubuntu.com/manpages/...apt-get.8.html

    For finding packages, the following maybe helpful, or you could peruse installed packages (`dpkg -l`), search for packages (`apt-cache search`) or a number of ways. I'll instead provide the following..

    The packages included on a Lubuntu desktop ISO, you can view via (for 20.04)

    https://packages.ubuntu.com/focal/lubuntu-desktop

    You'll note it lists packages in a couple of ways
    - depends (these are required)
    - recommends

    To have a Minimal Lubuntu system, you could install `lubuntu-desktop` with the `--no-install-recommends` option

    By default Ubuntu will install recommended packages; the `--no-install-recommends` will cause these to be skipped, creating a minimal Lubuntu install (for modern Lubuntu 20.04 LTS or an LXQt release, older LXDE releases had alternate ways of achieving this).

    Given your system is already installed, the "recommends" packages are also ones you can remove (for a clean system anyway)

    Source : https://discourse.lubuntu.me/t/what-...45/2?u=guiverc

  8. #8
    Join Date
    May 2010
    Beans
    552

    Re: How uninstall softwares inclued in LUbuntu ?

    Quote Originally Posted by aug7744 View Post
    Thanks for all replies. "sudo apt-get --purge remove firefox libreoffice bluedevil sudo apt-get --purge autoremove" Means that Linux not need to use unninstaller how are used in windows ? exactly all files installed will be deleted even configurations ?
    Each package is installed with dpkg. This is abstracted with ap(-get) which manages deps for you. Each package can be uninstalled using the dpkg command or apt(-get) command. Each package doesn't need its own uninstaller like in Windows. Each package knows it's contents so when you tell the system to uinstall a package it removes those files and runs any post uninstall sripts.

    Please note that uninstalling an application does NOT remove the per-user configuration in each user's $HOME folder. So removing Firefox will not delete the ~/.mozilla/firefox folder. If you uninstall Firefox then reinstall it (as so very many people do) you will still have the old configuration and all you will have done is removed the files that make up Firefox then put the same files back in the same place. Fixes nothing.

    If you remove the config files for an application then run them, it will make a vanilla set for you.

  9. #9
    Join Date
    Dec 2014
    Beans
    1,585

    Re: How uninstall softwares included in LUbuntu ?

    As Impavidus said: 'apt remove --purge packagename' removes a package and system-wide settings for that package. It won't touch settings you made which are stored in files in your home directory.

    There are many ways to find out the package name for a program.

    If you know the command to start a program - for example from looking at the EXEC-line in it's .desktop file - you can use the lower, local part of package management what package the program file is part of. You do so with 'dpkg-query -S $(which command)' (example: 'dpkg-query -S $(which firefox)' will print 'firefox: /usr/bin/firefox'; the part before the colon is the package name, the rest of the line is the path and name of the program).

    Another way is to use 'apt search' or 'apt-cache search' followed by some word you expect to be in the description of the package. This will often produce lots of output, so sending that output through a pipe into less (a program for viewing and searching text) by adding '| less' to the end of the command is a good idea. 'apt show' followed by a package name will give you all the details about a package.

    Like most command line tools apt, apt-get, apt-cache, dpkg, dpkg-query and less are well documented through manual pages which should be available on your computer. To read the manual page use the 'man' command, for example 'man apt'. There is a tool to search for manual pages by keywords named 'apropos', so 'apropos package' will give you a list of manual pages which mention the word 'package' in their first paragraph of text. That too can produce lots of output, so again piping to less might be very helpful.

    There are also graphical frontends to package management. There's 'Software' (or gnome-software or "Software Store" or "Snap Store" or whatever Canonical are calling it today) which is aimed at beginners and tries to hide as much of the technical details as humanly possible from the user (which is the reason I neither like nor use it). There's also 'synaptic', which is a lot more technical than "Software" and shows a lot of packages which "Software" doesn't show and offers many options beyond just installing or uninstalling.

    Holger

  10. #10
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    485
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: How uninstall softwares included in LUbuntu ?

    For Lubuntu, I strongly recommend that you use the Muon Package Manager (already installed by default).
    sudo apt-get purge etc. also works, but you run the risk of losing synchronization between actual installations and the installation database.

    I run Lubuntu 20.04 myself, and have found that removal using Muon followed by an apt-get purge command (to get rid of leftover configuration files) works well.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •