The New Linux User
  • Home
  • Distro Reviews
    • Section One>
      • Debian Linux
        • Knoppix Linux
          • Feather Linux
            • Puppy Linux
              • Vector Linux
                • PUD Linux
                  • PCLinuxOS
                    • Ubuntu 8.04 (Hardy Heron)
                      • Xubuntu 8.04
                        • PCLinuxOS Gnome
                          • Linux Mint 4 (Daryna)
                          • Section Two>
                            • TinyMe Linux
                              • Linux Mint 5 (Elyssa)
                                • Ubuntu 8.10 (Intrepid Ibex)
                                  • Fedora 10
                                    • SimplyMEPIS
                                      • Linux Mint 6 Felicia
                                        • Sabayon Linux
                                          • Dreamlinux
                                            • Jibbed BSD
                                              • Mandriva One 2009 Spring
                                                • Sidux
                                                  • Mandriva 2010
                                                  • Section Three>
                                                    • Easy Peasy 1.5
                                                      • Linux Mint 8 Helena
                                                        • PCLinuxOS 2010
                                                          • Ubuntu 10.04 Lucid Lynx
                                                            • Peppermint OS One
                                                          • About Me
                                                          • First Steps
                                                          • Step 2-Test Drive Linux
                                                          • Newbie Helpful Links
                                                          • Tutorials
                                                            • The AWN Dock
                                                              • Convert .tgz to .deb Using Alien
                                                                • Flock Browser and Java Applications
                                                                  • Flock Browser and Flash Player
                                                                    • Peeling Windows Effect (Compiz-Fusion)
                                                                      • Changing Gnome Display Manager (GDM) v.2.28
                                                                        • Changing Gnome Display Manager-Option 2
                                                                          • Volume in the Gnome Panel
                                                                            • Mint Google Search--Opera
                                                                            • Downloads
                                                                            • But Wait! There's More!

                                                                            Getting around the dreaded tarball!  (Also known as Converting .tgz files to .deb files)


                                                                            One of my biggest challenges as a Linux newb has been dealing with .tgz files, the dreaded tarballs. Somehow or another, any time I go to unpackage and install a tarball file, I manage to screw it up royally. Apparently, the creator of the Alien package either is or knows someone who is also "terminally challenged". Alien is about the best Linux package in the world for Debian based distro users. It converts a tarball (and also other formats) into a .deb file (which is the package format for Debian based distros, such as Ubuntu), which then can be opened with gdebi package installer and it does the installing! So, here is how it works!

                                                                            1. Download the file that you want (for example a package called: mintygoodness.tgz). When the popup asks you what to do, tell it to save the file to the Desktop. This way you can see what's going on with your file.
                                                                            2. Open a terminal. Don't worry, pretty soon this will be your favourite command in the whole world!
                                                                            3. Type in the following but do NOT cut/copy and paste. Type it the way you see it
                                                                            4. (there is a space after sudo, after alien and one after deb too)

                                                                              sudo alien --to-deb ~/Desktop/mintygoodness.tgz



                                                                            5. Then hit enter and enter your password if prompted and enter again.
                                                                            Then you will have a nifty little .deb file. All you have to do is find it. Mine sometimes end up on the desktop and sometimes in my Home Folder (at the end). Once you find it, click on it to open and it will automatically run with gdebi package installer, which will install the package for you. All done!


                                                                            Go to Top
                                                                            Create a free website with Weebly