Installing software works differently on Linux. Instead of visiting a website, you’ll usually need to grab the software from your Linux distribution’s software repositories with its package manager. This sounds complicated, but is actually simpler than installing software on Windows.
A typical Linux distribution’s software installation system has a lot in common with an app store. There’s one place you go to to install most of your software and software updates arrive in one consistent way.
Install Software From Your Distribution’s Repositories
Most of the software you’ll want to install on your Linux distribution is available in its software repositories. Your Linux distribution likely provides a nice graphical frontend for this system. Select your desired package and your package manager will automatically download the package, grab any other software packages it requires, and install them all.
On Ubuntu, the included package manager is the Ubuntu Software Center — look for the orange shopping bag icon on your dock. Use this interface to search for packages and install them. You can search for a type of application like “video player” or a specific application name like “VLC.” Click the download button, enter your password, and the package manager will do the rest.
Each Linux distribution has its own software repositories and package manager, but practically all Linux distributions use a software repository system that works this way. For example, on
Linux Mint, you’d use the Software Manager application instead.
Install Proprietary Software
To download software like this ,visit the project’s official website and click the Download button. You’ll generally see a page pointing you to various Linux download links. For example, here’s the
Skype for Linux download page.
You’ll be prompted to choose the appropriate package for your Linux distribution. You should choose the package that matches your Linux distribution as closely as possible. For example, Skype offers an “Ubuntu 12.04 (multiarch)” package. It’s the most recent version number in the list, so it’s the ideal package to use on Ubuntu 14.04.
Different distributions use different types of packages with different file extensions. Ubuntu, Linux Mint, Debian, and similar distributions use Deb packages with the .deb file extension. Fedora, Red Hat, openSUSE, and some other distributions use .rpm packages.
Just double-click the downloaded package and it should open in a package installer that will handle all the dirty work for you. For example, you’d double-click a downloaded .deb file, click Install, and enter your password to install a downloaded package on Ubuntu.
Downloaded packages can also be installed in other ways. For example, you could use the dpkg -I command to install packages from the terminal in Ubuntu. The graphical tool is the easiest.
More Ways to Install Software
The two methods above are the basics every Linux user needs to know. With these tips, you can install most — if not all — the software you’ll need. But here are some other ways to install software on Linux:
Use Third-Party Repositories: Anyone can create their own software repositories, package software, and distribute it from there. You may sometimes want to use a third-party repository to install software you just can’t get in your Linux distribution’s repositories. For example, Ubuntu makes it fairly easy to set up “personal package archives” (PPAs). You can add these PPAs to your package manager and the packages in the PPA will appear in the Ubuntu Software Center and other package management interfaces. It’s a common way to get packages that aren’t yet in your Linux distribution’s official repositories.
Unpack a Binary Archive: Some Linux software is distributed in precompiled form designed to run on any Linux distribution without installation. For example, the “Dynamic” download Skype offers is a .tar.bz2 file. This is just an archive, like a ZIP file — you’d extract it to a folder on your computer and double-click the executable inside it to run it. Mozilla also offers
downloads of the latest version of Firefox in .tar.bz2 form, so you can download and run it without any installation — just unpack the archive to a folder anywhere you like and double-click the firefox file inside it. You should prefer software in packaged form for better compatibility with your system and easier updating.
Compile From Source: Typical Linux users shouldn’t need to
compile and install software from source anymore. All the software you want should be available in packaged form. That said, most Linux software projects distribute their software in source-code form and leave Linux distributions in charge of packaging and distributing it to you. If your Linux distribution doesn’t have a package you want or doesn’t have the latest version of a package you need, you can compile it from source. Compiling from source isn’t something average Linux desktop users should do, but it’s also not as hard as it may sound.
No comments:
Post a Comment