Re[4]: [opensuse] How do I do this with zypper?
Hello, On 2009-01-02 at 07:43 Teruel de Campo MD wrote:
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=- Many thanks for that info. Two questoins here: Why $make and not just make? Isn't it possible to download the dependencies from the command line if I want to? I can use yast no problems but was just curious. Many thanks, Christian
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 02 January 2009 09:22:07 am Christian wrote:
Why $make and not just make?
$ is user prompt in this case. # is root In other words: ./configure and make run as user chkinstall as root Check again what osc can do for you. I'm not using it, so you have to check details. The chkinstall will create rpm package too, but it is tied to very similar configured machine. The osc created will work on any openSUSE machine. If you use osc you can use that package for other installations. BTW, with osc you can create deb packages too. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Christian schrieb:
Hello,
On 2009-01-02 at 07:43 Teruel de Campo MD wrote:
On Fri, 2009-01-02 at 15:26 +0100, Christian wrote:
3. $./configure
4. $make -=terry=- Many thanks for that info. Two questoins here: Why $make and not just make?
It seems like Teruel has quoted also the shell prompt. You might have ">" in of "$" or something else. The commands are ./configure make
Isn't it possible to download the dependencies from the command line if I want to? I can use yast no problems but was just curious.
It is, see my other email in this thread (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
On Fri, Jan 2, 2009 at 10:22 AM, Christian <christian08@runbox.com> wrote:
Hello,
On 2009-01-02 at 07:43 Teruel de Campo MD wrote:
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=- Many thanks for that info. Two questoins here: Why $make and not just make? Isn't it possible to download the dependencies from the command line if I want to? I can use yast no problems but was just curious. Many thanks, Christian
Don't give up too quickly on the build service. You can create personal projects as well as public projects. See the tutorial: http://en.opensuse.org/Build_Service/Tutorial If you get proficient with it, you should be able to use the one set of tools for various distros you happen to be working with. ie. You tell the service to make you a OS 11.1 64-bit version, or a OS 10.3 32-bit version, etc. Or a you can build for Fedora, Debian, Ubuntu, etc. I believe the build service was used to build the whole OS 11.1 release so it has become extremely functional. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian wrote:
Isn't it possible to download the dependencies from the command line if I want to? I can use yast no problems but was just curious.
use 'zypper source-install --build-deps-only foo'. Check also 'zypper search -t srcpackage' Two things you need for that: 1) a repository containing also the srcpackages 2) zypper 1.0.4 and above :O) - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz - ---------------------------------------------------------(EOF)--- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl11/oACgkQgEhGpmN+6QH5OwCcCFNvizrsV7DPkjJ74K+WhNM/ g04AoIsWXIb+9E07ET4YxILzs47Wj2Ec =iQ7K -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
>>> On 1/20/2009 at 2:56 PM, Jan Kupec <jkupec@suse.cz> wrote: > Two things you need for that: > 1) a repository containing also the srcpackages > 2) zypper 1.0.4 and above :O) :) which is very nice, as even factory at this point contains 1.0.3... spotted you: you just added the feature as a good idea, huh? Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dominique Leuenberger wrote: >>>> On 1/20/2009 at 2:56 PM, Jan Kupec <jkupec@suse.cz> wrote: >> Two things you need for that: >> 1) a repository containing also the srcpackages >> 2) zypper 1.0.4 and above :O) > > :) which is very nice, as even factory at this point contains 1.0.3... spotted you: you just added the feature as a good idea, huh? > > Dominique I'm not sure if it is working, but it is at least documented in 11.1 zypper's manpage. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dominique Leuenberger wrote: >>>> On 1/20/2009 at 2:56 PM, Jan Kupec <jkupec@suse.cz> wrote: >> Two things you need for that: >> 1) a repository containing also the srcpackages >> 2) zypper 1.0.4 and above :O) > > :) which is very nice, as even factory at this point contains 1.0.3... spotted you: you just added the feature as a good idea, huh? :O) no, the feature is there since a long time ago, but the - --build-deps-only option was broken. Fixed in 1.0.4 - the package will be released via online update, and currenly it is available from zypp-svn OBS repo i hope. - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz - ---------------------------------------------------------(EOF)--- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl5nPcACgkQgEhGpmN+6QETlgCdEQGl7PO0Suk018ArUXzvf34u b10AnA3FSVcXCIwxaMvk1MlALd8ZOmX8 =MVWu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Christian
-
Dominique Leuenberger
-
Greg Freemyer
-
Harald Müller-Ney
-
Jan Kupec
-
Pavol Rusnak
-
Rajko M.