Install package in suse linux

Install package in suse linux

Software installation is generally incredibly easy on openSUSE. There’s a package manager, which lets you install and remove packages very easily — it’s comparable to the app stores found on many modern smart phones.

Simply open YaST Software Management.

sw-single

Your web browser does not support the HTML5 video element and/or Ogg Theora format.
Try Firefox, Konqueror or Opera.

Now search for the package you want, select it for installation and click Accept. The package manager will then fetch the RPM package from your configured software repositories — and install it including any dependencies. After installation is complete the application should appear in the launch menu (unless it’s a command line program).

tip The availability of software packages in the package manager depends on the configured software repositories. Read about software repositories in the next chapter.

When browsing openSUSE related websites, you’re likely to come across buttons such as this one:

oneclick

1-click installation (also referred to as «Direct Install») simply automates the process of adding one or more software repositories to the package manager and installing one or more RPM packages. Therefore 1-click installation should be used with the same care as manually adding unofficial repositories (see the next chapter for more on software repositories).

Most users will find everything they need and more in the package manager — especially if a few additional software repositories are added (see next chapter). But not all software is packaged and provided via repositories, and non-free software usually can’t be legally redistributed via the package manager because of license restrictions.

Читайте также:  Ручная настройка сети linux

In these cases you’ll need to go to the developer/vendor website and download and install the software manually — but always look for an openSUSE package in repositories first — and make sure you only download and install software from trusted sources.

With a bit of luck the developer/vendor website will have an RPM file for openSUSE. To install a single, downloaded RPM file:

Open the Dolphin file manager => Navigate to the RPM file => Right Click it => Open With. => Install/Remove Software

obs Only install RPM files that are built specifically for (your version of) openSUSE.

If the website doesn’t have an RPM for openSUSE, it will most likely have a so-called tarball. Tarballs (*.tar.gz, *.tar.bz2) are simply compressed archives similar to ZIP and RAR files. To uncompress a tarball:

The tarball might contain binaries that just need to be run, or it might contain source code which needs to be compiled to run on your system — this can be very complicated, and requires you to first install various developer tools. There’s no one standard way to install tarball content, but instructions should always be included in the tarball in files called INSTALL, README or similar — or you should be able to find installation instructions on the website where you downloaded the tarball.

If you wish, you can install and remove packages via a terminal too.

To search for a package run zypper search [search term]. Example:

You can get a lot of useful information about installed packages from the RPM database very easily.

Читайте также:  What is masquerade in linux

Check which version is installed. Example:

Источник

Оцените статью
Adblock
detector