Freya How to remove old versions of LibreOffice

Discussion in 'Software & Applications' started by williepabon, Mar 21, 2018.

  1. williepabon

    williepabon Thread Starter
    Expand Collapse
    Member

    Joined:
    Nov 30, 2015
    Messages:
    19
    Likes Received:
    0
    Hi:
    I recently installed the latest stable version of LibreOffice (5.4.5.1). Using the installation instructions from LibreOffice does not remove the previous version you have installed. Is there a way to do this without affecting your latest install? Thanks.
     
  2. aid

    aid
    Expand Collapse
    Elementary Member
    Staff Member

    Joined:
    Mar 18, 2018
    Messages:
    43
    Likes Received:
    9
    Not sure if you installed via the official repo?

    But you can try the below in terminal which will clean up your packages and remove all unused dependencies;

    Cleaning up of partial package:

    Code (Text):
    sudo apt autoclean
    Cleaning up of the apt cache:

    Code (Text):
    sudo apt-get clean
    Cleaning up of any unused dependencies:

    Code (Text):
    sudo apt autoremove
    A good practice to avoid any left behind is to use the autoremove command whenever you want to uninstall an application.

    Code (Text):
    sudo apt autoremove application-name
     

Share This Page

Loading...