Created
October 25, 2023 12:22
-
-
Save nagiyevelchin/5d30be3f71cfe0058b44dafa6586cd69 to your computer and use it in GitHub Desktop.
Learn how to uninstall LibreOffice, remove residual files, add a PPA for LibreOffice, update your package list, and install LibreOffice on your Ubuntu system using these Bash commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove LibreOffice and its components | |
sudo apt remove --purge libreoffice* -y | |
# Perform an autoremove to clean up unnecessary packages | |
sudo apt autoremove -y | |
# Run autoclean to remove old package files | |
sudo apt autoclean -y | |
# Add the LibreOffice PPA to get the latest version | |
sudo add-apt-repository ppa:libreoffice | |
# Update the package list to include the PPA | |
sudo apt update | |
# Install LibreOffice | |
sudo apt install libreoffice -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment