What Are The Steps To Compile Source In Leap?

What are the steps to compile source in Leap? In Ubuntu the process goes like this:

./configure
make
sudo make install

If you get something wrong and want to start over the command is:

make clean

Thanks

Hi
There are many packages if you search…
https://software.opensuse.org/search?

Just be cautious with home repos, stick with development repos and just download the rpm…

Normally the commands you run should be fine, you may need to add a --prefix= option but same commands…

That procedure is not distribution related it’s the same no matter what distro you are using, actually it’s even the same for Windows if using cygwin or MSYS+minGW.
the problem with that process is that you can’t easily remove the installed application.
as malcolmlewis said first search for that app as there is a high probability that it’s already compiled
A few web sites that you should have bookmarked for openSUSE apps searches
https://software.opensuse.org/search
http://packman.links2linux.org/search

On Thu, 24 Mar 2016 00:06:02 +0000, Grace123 wrote:

> What are the steps to compile source in Leap? In Ubuntu the process goes
> like this:
>
>
> Code:
> --------------------
> ./configure
> make sudo make install
> --------------------
>
>
> If you get something wrong and want to start over the command is:
>
>
> Code:
> --------------------
> make clean
> --------------------
>
>
> Thanks

It depends on what you’re trying to compile.

Usually, with sources, you get a README.txt or something similar that
tells you how to build the source.

And that’s true regardless of distribution - some programs won’t compile
on Ubuntu with those steps - for example, if they use cmake instead of
make.

The answer to “how do you compile on x” is “read the instructions that
come with the source, or ask the developer of the software you want to
build”. Doesn’t matter which distribution you’re using.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Dear Mr. Henderson,

Thanks for the reply. I have noticed the Muppets theme used in the forums; so you are the person in charge of all the Muppets?:wink:

On Thu, 24 Mar 2016 13:26:01 +0000, Grace123 wrote:

> Thanks for the reply. I have noticed the Muppets theme used in the
> forums; so you are the person in charge of all the Muppets?:wink:

No, that was Jim Henson. He passed away many years ago - I’m still
breathing. :slight_smile:

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

If you fail to find the package you want via the methods previously mentioned, you could always create your own Open Build Service (OBS) project and build the packages you want, in it. It might sound daunting but at least that way you can use zypper to remove these packages you’ve installed, should you want to, while with manually-compiled and installed software (i.e., software installed via the method you first mentioned), usually you can’t, or at least not easily. You can also share the packages you build in your OBS Project with others. This is the whole reason why I started using the OBS the day after I started using openSUSE, it is such a powerful tool. Sure, there’s a learning curve, but it’s a curve worth climbing for the rewards at the finish line. I since jumped ship to Arch Linux (where package development is substantially easier, in my opinion) and still I use the OBS as it can be used to build packages for distributions other than openSUSE. If you need help with the OBS I suggest using the OBS forum, after consulting the openSUSE Wiki OFC. To get you started using the OBS I would read The Build Service Tutorial at The openSUSE Wiki.

Thanks for understanding. I need to clean my reading glasses more often.:slight_smile:

Nah, don’t. You provdided at least one reader with a good relaxing bit of laughter :D.

On Thu, 24 Mar 2016 22:26:02 +0000, Grace123 wrote:

> hendersj;2771725 Wrote:
>> On Thu, 24 Mar 2016 13:26:01 +0000, Grace123 wrote:
>>
>> > Thanks for the reply. I have noticed the Muppets theme used in the
>> > forums; so you are the person in charge of all the Muppets?:wink:
>>
>> No, that was Jim Henson. He passed away many years ago - I’m still
>> breathing. :slight_smile:
>>
>> Jim –
>> Jim Henderson openSUSE Forums Administrator Forum Use Terms &
>> Conditions at http://tinyurl.com/openSUSE-T-C
>
> Thanks for understanding. I need to clean my reading glasses more
> often.:slight_smile:

I’ve been asked the question many, many times over the years. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C