[opensuse] How do I do this with zypper?
Hi all, I am used to other linux distributions, but i need to ask about doing this with zypper. If I want to install an application from source and need to build the dependency tree for that, how do I do that? Best regards and thanks, Christian -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 02 January 2009 06:39:17 am Christian wrote:
Hi all, I am used to other linux distributions, but i need to ask about doing this with zypper. If I want to install an application from source and need to build the dependency tree for that, how do I do that? Best regards and thanks, Christian
People use osc which is client for opensuse Build Service. Excerpt from 'osc --help' ******************************************************** For additional information, see * http://www.opensuse.org/Build_Service_Tutorial * http://www.opensuse.org/Build_Service/CLI You can modify osc commands, or roll you own, via the plugin API: * http://www.opensuse.org/Build_Service/osc_plugins ******************************************************** On mail list opensuse-packaging@opensuse.org you can find people using it. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, On 2009-01-02 at 07:50 Rajko M. wrote:
Hi all, I am used to other linux distributions, but i need to ask about doing
On Friday 02 January 2009 06:39:17 am Christian wrote: this
with zypper. If I want to install an application from source and need to build the dependency tree for that, how do I do that? Best regards and thanks, Christian
People use osc which is client for opensuse Build Service.
Excerpt from 'osc --help' ******************************************************** For additional information, see * http://www.opensuse.org/Build_Service_Tutorial * http://www.opensuse.org/Build_Service/CLI
You can modify osc commands, or roll you own, via the plugin API: * http://www.opensuse.org/Build_Service/osc_plugins ********************************************************
On mail list opensuse-packaging@opensuse.org you can find people using it.
OK, but i dont want to create my own packages. When i download an application and want to compile it some dependencies are needed. For example, in Debian I type: apt-get build-dep application Many thanks, Christian
-- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2009-01-02 at 15:26 +0100, Christian wrote:
OK, but i dont want to create my own packages. When i download an application and want to compile it some dependencies are needed. For example, in Debian I type: apt-get build-dep application Many thanks, Christian
Christian. What I do is the following 1. Open the readme file :) 2. Open yast/software manager and download the dependencies. If they are not there (rare) then I build them from source 3. $./configure 4. $make 5. #checkinstall. That creates an rpm to be use only in you system or in a very similar system. 6. install the rpm Note: the rpm vs make install imho has the advantage that is easier to remove. -=terry=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Christian wrote:
OK, but i dont want to create my own packages. When i download an application and want to compile it some dependencies are needed. For example, in Debian I type: apt-get build-dep application
You just want to compile the software on your system - it is up to you. While the step from compiling it to creating a package (using local build or build service) is not too big. At least if you have gone through it two or three times ;-) What you are looking for is how to install "patterns". pattern - represents a group of packages. For example an Http Server pattern would have the dependencies defined so that all packages needed to run and manage an http server would have been triggered for installation when upon installing the pattern. How to actually install a pattern: zypper in -t pattern lamp_server to install lamp_server pattern (packages needed for a LAMP server) Now you need to find out about what patterns exist. This can be done by listing all pattern: zypper search -t pattern -r <name of repo you like to look into> You will find looking into installation media or OSS repo doem "devel" patterns. Like following output from my home system (German output, pattern is called Schema): i | devel_C_C++ | C/C++-Entwicklung | Schema i | devel_basis | Grundlegende Entwicklungsumgebung | Schema | devel_cell | Cell-Entwicklung | Schema | devel_gnome | GNOME-Entwicklung | Schema | devel_ide | Integrierte Entwicklungsumgebungen | Schema | devel_java | Java-Entwicklung | Schema i | devel_kde | KDE-Entwicklung | Schema i | devel_kernel | Linux-Kernel-Entwicklung | Schema | devel_mono | .NET-Entwicklung | Schema i | devel_perl | Perl-Entwicklung | Schema | devel_python | Python-Entwicklung | Schema i | devel_qt4 | Qt 4-Entwicklung | Schema | devel_rails | Ruby on Rails-Entwicklung | Schema i | devel_rpm_build | RPM Build-Umgebung | Schema | devel_ruby | Ruby-Entwicklung | Schema | devel_tcl | Tcl-/Tk-Entwicklung | Schema | devel_web | Web-Entwicklung | Schema | devel_yast | YaST-Entwicklung | Schema You will need at least devel_basis. With a high chance also devel_C_C++. I hope this helps. The zypper usage page provides details: http://en.opensuse.org/Zypper/Usage -- Harald Müller-Ney, Project Manager Maintenance Coordination SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nürnberg Phone: +49 (0) 911 74053130 Mobile: +49 (0) 179 2287009 Fax: +49 (0) 911 74053575 eMail: hmuelle@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Christian escribió:
Hi all, I am used to other linux distributions, but i need to ask about doing this with zypper. If I want to install an application from source and need to build the dependency tree for that, how do I do that? Best regards and thanks, Christian
zypper help source-install however, you dont really want that, use osc, build and the OBS. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (5)
-
Christian
-
Cristian Rodríguez
-
Harald Müller-Ney
-
Rajko M.
-
Teruel de Campo MD