I am a newbie on openSUSE. I needed to get build-essential for the system but could not get it using sudo apt-get install build-essential
or even by using sudo apt-get update
and then following it with the previous code. I found a way to install most packages of build essential through sudo zypper install -t pattern devel_basis
. But however, I am not able to obtain libframe package !! I can't directly download it because mine is an account on the office computer and I don't have the root access.
I am also attaching the screenshot of my terminal.. The error is towards the end.

- 7,089
- 6
- 65
- 142

- 99
- 1
- 1
- 7
-
1Have you searched enough ? [See this](http://superuser.com/questions/352000/whats-a-good-way-to-install-build-essentials-all-common-useful-commands-on) – Appu Sidhardh May 27 '16 at 08:49
2 Answers
zypper info -t pattern devel_basis
to see what packages have the pattern
zypper install -t pattern devel_basis
to install these packages
thanks to what-is-build-essentials-for-opensuse

- 181
- 1
- 3
-
Is that supposed to install C++ also? I need to run `zypper install gcc-c++` after that. – Jari Turkia Jan 14 '22 at 14:00
-
1I keep seeing `pattern 'devel_basis' not found.` on SUSE 15 SP1. Maybe because I am using an unregistered system? – user4252523 Mar 08 '22 at 17:11
-
maybe this one? `zypper install patterns-devel-base-devel_basis`? – Herpes Free Engineer Jun 24 '22 at 14:26
I'm not sure if this requires root login or just maybe sudo privileges. These can be granted by ur system administrator. You may just need to ask for them. You need to add the repository first before trying the zypper install The command is
zypper ar -f URL alias
where
ar is short form of addrepo command
-f instruction to zypper to add autorefresh flag to newly added repo
URL is URL of the repo which you type in a browser to visit repo in this case (itc): http://download.opensuse.org/distribution/leap/42.2/repo/oss/
alias is name that is easy to remember. itc: openSUSE:Leap:42.2
so...
zypper ar -f http://download.opensuse.org/distribution/leap/42.2/repo/oss/ openSUSE:Leap:42.2
I had a similar problem with ubuntu/debian command.
sudo apt-get build-essential libssl-devel
it turns out in Suse build-essential and libssl-devel would be devel_basis and openssl-devel respectively. to install I then searched on google for just openssl-devel (as it was all that I needed at that time), and followed the link from https://software.opensuse.org. Hope this helps

- 379
- 3
- 10