Results 1 to 3 of 3

Thread: Installing GHDL on open suse 15.0 leap

  1. #1

    Exclamation Installing GHDL on open suse 15.0 leap

    Hello friends,
    I am new to openSUSE. I have switched from ubuntu by reading reviews about SUSE, particurlay Yast, zypper and its stability..!!
    But, i am having trouble finding required packages, i searched in software section but no luck. Sometimes i found .rpm from fedora but it is not available in SUSE.
    Recently, I am looking for: GHDL (available in ubuntu and debian i guess)
    here is link https://github.com/ghdl/ghdl/releases also http://ghdl.free.fr/site/pmwiki.php?n=Main.Download
    Please someone help me. I need it for project.
    Thanks

  2. #2
    Join Date
    Jan 2017
    Location
    Nürnberg, Germany
    Posts
    142

    Default Re: Installing GHDL on open suse 15.0 leap

    Tried searching https://software.opensuse.org/search for GHDL, but no luck.

    However, you could try converting the Debian package from the GHDL download site into a RPM package. (I did that once successfully with Valve’s steam_latest.deb package before we had »steam« and »steamtricks« available as RPMs.)

    In order to install a Debian package on an RPM-based OS like Leap 15, install the »alien« utility: https://software.opensuse.org/package/alien — after doing that, download your version of GHDL as a debian package; then, it should be as easy as
    Code:
    alien --to-rpm GHDL.deb
    sudo rpm -ivh GHDL.rpm
    Another alternative would be downloading the »tarball« (*.tar.gz, or *.tar.xz) (or »clone« a snapshot of GHDL’s github repository) and compile+install it manually. For reasons of sanity, uniformity and traceability of installed files on your Leap 15 system, I'd try the »alien« route first.
    Good luck, cheers!

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,821
    Blog Entries
    1

    Default Re: Installing GHDL on open suse 15.0 leap

    Took a look at the github project,

    Looks like the build instructions are very easy, only the ADA requirements are a question. If there isn't any problem with those ADA dependencies, then it's likely an easy build.

    From the overall description, the result is simply an executable, and nothing else (additional files).

    If this is the case,
    I'd generally recommend building from source (Probably best is cloning the github repo, then following the build instructions) because you can generally get the latest development branches since last stable release. Of course, a development branch will have its own small risk, a recent contribution might be unstable but the reward is that all additions believed to be beneficial would be included.

    Although building directly on a primary use machine might be safe here,
    As a SOP I'd instead recommend building on a different machine or in a VM for maximum safety to avoid any possibility your primary machine could be damaged... and then copying the result to your primary machine.

    If stability is your main concern,
    Then extracting the binary from either the Fedora or Ubuntu packages should probably work... I just wonder why the Ubuntu package seems to be so specific to the Ubuntu version (perhaps the location of the installed binary is different?), and then place that binary in an appropriate location.
    Or, maybe the tar file is all you need, and then place the binary wherever is best.

    IMO,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

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