Close Menu
    Facebook X (Twitter) Instagram
    • About
    • Privacy Policy
    • Write For Us
    • Newsletter
    • Contact
    Instagram
    About ChromebooksAbout Chromebooks
    • News
      • Stats
    • AI
    • How to
      • DevOps
      • IP Address
    • Apps
    • Business
    • Q&A
      • Opinion
    • Gaming
      • Google Games
    • Blog
    • Podcast
    • Contact
    About ChromebooksAbout Chromebooks
    Home - How to - How to install LibreOffice for Linux on a Chromebook after downloading it as a tar.gz file
    How to

    How to install LibreOffice for Linux on a Chromebook after downloading it as a tar.gz file

    Kevin TofelBy Kevin TofelFebruary 24, 2020Updated:October 24, 2024No Comments4 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest

    Last week, I showed how easy it is to install a Linux .deb file to a Chromebook, but as I noted, the process won’t work if the Linux app is downloaded as another type of file. Today, I’ll explain how to install a downloaded Linux app with a .tar.gz file extension; LibreOffice in this case.

    I actually received an email about this specific file type over the weekend from reader, Eric:

    Saw your link on how to install Linux apps on Chromebook, and it worked when I downloaded Steam’s .deb installer, but when I found LibreOffice .deb file (LibreOffice_6.3.5_Linux_x86-64_deb.tar.gz), it’s tagged with tar.gz which I guess I need to unpack before I can install it….

    …do you know the command line command that I would need to use to install this? 

    Technically, the LibreOffice download isn’t a .deb file. Yes, it does have “deb” in the file name but that’s simply an identifier to specify which Linux distro the build is for; Debian in this case.

    Before the solution steps to install LibreOffice in this case (the same process generally applies to any .tar.gz file), a little background.

    .tar indicates this is an archive of files and — this goes way back in computer history — was used for magnetic tape archives. Hence the “t” for tape and “ar” for archive. But that’s not all since there’s also a .gz extension. This means that the .tar file is compressed using GZip, which is a way to zip or compress files and folders.

    History lesson aside, there’s a one line command in the Linux terminal on a Chromebook to uncompress and unpack a .tar.gz file.

    You’ll first need to have the Linux file copied over to the Linux container on your Chromebook. So if you downloaded it in the Chrome OS browser, you need to drop and drag it from your Downloads to the Linux files location, using the Files app:

    Once the file is copied, open up the Terminal app and type the “ls” command as shown below; this lists any folders or files in the current directory:

    You can now see the LibreOffice installation file

    Now that we have the file in the right place, it’s just one more command to unpack it.

    Type “sudo tar -xf nameofthefile.tar.gz” to extract it; the -x is the extract option. Note that proper case matters here; the easiest way to avoid any typing errors for the filename is to type the first two or three, and then press the Tab key on your Chromebook keyboard. That will auto populate the rest of the file name.

    Here’s what it looks like for LibreOffice:

    Note that running this command above will unpack the LibreOffice folders and files in the current directory. If you want to unpack it to another folder, you have to add that folder path to the command. In my case, I’ll unpack it to /usr/local by using the “-C” option along with the location I want the files to be in, although you don’t have to do this.

    Now that the LibreOffice files are unpacked, the package has to be installed.

    There’s one more command needed in order to do this but you first have to go to the location of the folders and files that were unpacked. If you didn’t specify a location when unpacking, you skip this step; in my case, I need to navigate to the /usr/local directory as shown:

    To view the contents of the LibreOffice folder, type “cd /LibreOffice_6.3.5.2_Linux_x86-64_deb/” as I did, followed by the “ls” command.

    You should see two folders here; one called DEBS and one called readmes. Move into the DEBS folder by typing “cd /DEBS“. Finally, type the following command to install the LibreOffice package: “sudo dpkg -i *.deb“:

    At this point, you’ll see a large number of file information as LibreOffice is installed. Be patient and once the installation is complete, you’re all set.

    You should see the LibreOffice suite in your Chrome OS Launcher by searching as well:

    Additionally, the desktop shortcuts will be in the Linux apps folder of the Chrome OS Launcher too.

    While this may sound like a lengthy, complicated process, it really only takes a few minutes. I explained the process with a bit of verbosity, so don’t let the length of this post scare you away.

    Also, there are other, easier methods to install LibreOffice and/or other Linux apps that use the Terminal command line much less, if at all. I’ll outline some of those methods in a future post.

    Chrome OS Crostini How to LibreOffice Linux Linux 101 Linux Apps Productivity Project Crostini Terminal
    Share. Facebook Twitter Pinterest LinkedIn Tumblr
    Kevin Tofel
    • Website

    After spending 15 years in IT at Fortune 100 companies, Kevin turned a hobby into a career and began covering mobile technology in 2003. He writes daily on the industry and has co-hosted the weekly MobileTechRoundup podcast since 2006. His writing has appeared in print (The New York Times, PC Magazine and PC World) and he has been featured on NBC News in Philadelphia.

    Related Posts

    4 Ways to Recover Deleted Photos on iPhone [2025 New Tech]

    August 29, 2025

    AI Tools With Shortest User Loyalty In 2025

    August 25, 2025

    Is Janitor AI Down?

    August 21, 2025

    Comments are closed.

    Best of AI

    Most Repetitive AI Prompts Ever Entered Into Chatbots (2025)

    August 20, 2025

    Which AI Chatbots Are Most Trusted to Handle Sensitive Data? (2025)

    August 15, 2025

    Most Common AI Tools Used at Work (And What They’re Replacing) 2025

    August 11, 2025

    Which AI Chatbot is Used Most by Students?

    August 7, 2025

    Perplexity Statistics And User Trends [2025 Updated]

    July 29, 2025
    Trending Stats

    Which Chrome Permissions Are Most Frequently Revoked After Being Allowed? (2025)

    September 2, 2025

    Chrome Usage vs. Focus Apps Statistics [2025 Updated]

    August 29, 2025

    How Many Chrome Extensions Does the Average User Have – But Never Use? (2025)

    August 27, 2025

    Chrome Mobile Market Share Statistics (2025 Updated)

    August 23, 2025

    Most-Cleared Browser Data Statistics [2025]

    August 22, 2025
    • About
    • Privacy Policy
    • Write For Us
    • Newsletter
    • Contact
    © 2025 About Chrome Books. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.