Devel Basis on OpenSUSE/SLE

If you are an Ubuntu or Debian user, you are looking for build-essential for OpenSUSE or SUSE Linux Enterprise.

Build essential is a package that references all packages required to compile a Debian package.

It is a common practice for developers to install this package to get the first stage of their development environment setup.

In the SUSE world, there is no such thing as a build-essential. Instead, it uses patterns. Patterns are a group of software packages that can be easily installed. If you have used Fedora or Red Hat Enterprise Linux, it is similar to groupinstall.

To check what software packages devel_basics ships with you can run zypper info.

zypper info -t pattern devel_basis

The output should be like the example below.

Loading repository data...
Reading installed packages...


Information for pattern devel_basis:
------------------------------------
Repository      : openSUSE-Leap-15.2-1
Name            : devel_basis
Version         : 20170319-lp152.6.3
Arch            : x86_64
Vendor          : openSUSE
Installed       : Yes
Visible to User : Yes
Summary         : Base Development
Description     : 
    Minimal set of tools for compiling and linking applications.
Contents        : 
    S  | Name                            | Type    | Dependency
    ---+---------------------------------+---------+------------
    i  | autoconf                        | package | Required
    i  | automake                        | package | Required
    i  | binutils                        | package | Required
    i  | bison                           | package | Required
    i  | cpp                             | package | Required
    i  | flex                            | package | Required
    i  | gcc                             | package | Required
    i  | gdbm-devel                      | package | Required
    i  | gettext-tools                   | package | Required
       | gettext-tools-mini              | package | Required
    i  | glibc-devel                     | package | Required
    i  | libtool                         | package | Required
    i  | m4                              | package | Required
    i  | make                            | package | Required
    i  | makeinfo                        | package | Required
    i  | ncurses-devel                   | package | Required
    i  | patch                           | package | Required
    i  | patterns-base-basesystem        | package | Required
    i+ | patterns-devel-base-devel_basis | package | Required
    i  | zlib-devel                      | package | Required
    i  | bin86                           | package | Recommended
    i  | binutils-devel                  | package | Recommended
    i  | e2fsprogs-devel                 | package | Recommended
    i  | fdupes                          | package | Recommended
    i  | gcc-c++                         | package | Recommended
    i  | gcc-info                        | package | Recommended
    i  | git                             | package | Recommended
    i  | glibc-info                      | package | Recommended
    i  | gmp-devel                       | package | Recommended
    i  | gperf                           | package | Recommended
    i  | libaio-devel                    | package | Recommended
    i  | libapparmor-devel               | package | Recommended
    i  | libdb-4_8-devel                 | package | Recommended
    i  | libosip2-devel                  | package | Recommended
    i  | libstdc++-devel                 | package | Recommended
    i  | openldap2-devel                 | package | Recommended
    i  | pam-devel                       | package | Recommended
    i  | patch                           | package | Recommended
    i  | pkg-config                      | package | Recommended
    i  | subversion                      | package | Recommended
Code language: JavaScript (javascript)

To get the devel_basis installed on SUSE, simply run this command.

sudo zypper install -t pattern devel_basis

Now you have devel_basis installed it on your SUSE machine.

If you have any questions feel free to leave a comment below.