Results 1 to 6 of 6

Thread: How to add 1-click install feature in openSUSE using ypm

  1. #1
    amit2special NNTP User

    Default How to add 1-click install feature in openSUSE using ypm

    I m currently using opensuse 11.0 and I have to install one software for which I have the required rpms...I am new to ypm so can any one help me in giving details of how to write a simple ypm file for installing a software and all the related files which may be required by ypm file like repodata.
    If anybody has any document for this then it will be a great help.
    Looking for reply...

  2. #2
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: How to add 1-click install feature in openSUSE using ypm

    Check out this wiki on one-click installs:

    One Click Install/ISV - openSUSE

    Take Care,

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  3. #3
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: How to add 1-click install feature in openSUSE using ypm

    The standards for one-clicks and a sample instance can also be found here:

    Standards/One Click Install - openSUSE

    Take Care,

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: How to add 1-click install feature in openSUSE using ypm

    You saved the rpm-files in a folder. Open a terminal window and 'cd' to that folder
    Then issue the command below:
    su -c 'rpm -iUvh *.rpm'
    Enter rootpassword when prompted for.
    If all deps are met, you should see the files being installed.

    So, no need to make a ymp file for it. Since you apparently did not know the command above, I think making a ymp file would be a bit too far for you at this moment.

    Good luck
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Jun 2008
    Location
    Mallow, Ireland
    Posts
    1,031
    Blog Entries
    1

    Default Re: How to add 1-click install feature in openSUSE using ypm

    Quote Originally Posted by Knurpht View Post
    You saved the rpm-files in a folder.
    I tend to make a repo folder somewhere and add it to the repo list:

    - Open Yast
    - (Enter Root Password)
    - Software
    - Software Repositories
    - Add
    - Local Directory
    - Next
    - (Enter a name)
    - Browse for the folder
    - Tick the 'Plain RPM Directory' box
    - Next

    This way when I find OpenSUSE rpm's somewhere like Skype or AVG I put them in the folder and install them via Yast. This way I get all the dependencies sorted as well. And I can remove them the same way.

    Just my way of doing it
    "To err is human... to really foul up requires the root password."

  6. #6
    amit2special NNTP User

    Default Re: How to add 1-click install feature in openSUSE using ypm

    I read the links on one click install on open suse site...but I couldnot get much out of it.
    Can anyone help me to create step by step ypm file for a sample software installation and its dependencies file.
    It will be a great help for me...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •