Ask Your Question

How do I install a tarball with the checsum? f25

asked 2016-12-12 19:14:45 -0500

tbuck gravatar image

I'm trying to follow these instructions here however I don't exactly understand what I should be doing with the code given.

I've plugged it into the terminal however I get this error

[tbuck@glados ~]$ sudo dnf install sha256sum f7b9e8f5f56b2a52a4fa51e085b8aefe016ab08daf7b4a6ebf3af3464b1d2c29  darktable-2.2.0~rc3.tar.xz Failed to synchronize cache for repo 'user501254-Paper', disabling. Last metadata expiration check: 0:36:38 ago on Mon Dec 12 16:33:57 2016. No package sha256sum available. No package f7b9e8f5f56b2a52a4fa51e085b8aefe016ab08daf7b4a6ebf3af3464b1d2c29 available. No package darktable-2.2.0~rc3.tar.xz available. Error: Unable to find a match.

Thanks for any help you can provide!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-12 19:52:39 -0500

florian gravatar image

updated 2016-12-12 22:00:21 -0500

edit: Do you really want to build darktable from scratch or need the most recent version from the authors repo? If not, just install what is in Fedora's official repositories: sudo dnf install darktable. and done.

Fedora 24 and 25 both have darktable 2.0.7 ready for you

The command you need to check a checksum is sha256sum.

So in your case something like

sha256sum Downloads/darktable-2.0.6.tar.xz

To build and install darktable open the archive and follow instructions in the file. (it requires a bunch of dependencies, see below).

Quoting from install section of readme file:

Easy way

./ --prefix /opt/darktable --buildtype Release

Manual way

mkdir build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable/ ..
sudo make install

(each line above is a separate command)

To install all dependencies, you need to run: sudo dnf install cmake gcc-c++ intltool llvm gtk3-devel libxml2-devel lensfun-devel librsvg2-devel sqlite-devel libcurl-devel libjpeg-turbo-devel libtiff-devel lcms2-devel json-glib-devel exiv2-devel pugixml-devel

edit flag offensive delete link more


Thanks for the reply! the release specifically says not to download the tarball provided by Github "lease don't use the autogenerated tarball provided by github" So how do I go about downloading the file then? and once I download the file I should use the command sha256sum... that you posted above? Thanks!

tbuck gravatar imagetbuck ( 2016-12-12 20:35:01 -0500 )edit

The sha265sum command is only to check that the file your downlaoded is not corrupt (checksum output by sha256sum must match what the developers write on their release page).

As for the download, I would pick what they offer at the bottom of the page that you linked, under the Download section:

florian gravatar imageflorian ( 2016-12-12 21:08:39 -0500 )edit

I just gave this a try...

  1. Downloaded most recent tarball (release candidate for ver. 2.2) from here

  2. extracted tarball

  3. installed missing dependencies

  4. ran the build script as described in the readme file

  5. Installed it: sudo cmake --build "~/Downloads/darktable-2.2.0.rc3/darktable-2.2.0~rc3/build" --target install -- -j1

Works fine!

florian gravatar imageflorian ( 2016-12-12 21:19:13 -0500 )edit

Alright so I'm very new to linux and don't quite have an understanding of how to read commands in read-me files. I apologize for my obliviousness but could you spell this one out for me?

When the file says to run the command:

./ --prefix /opt/darktable --buildtype Release

I don't know what I should be replacing some of that text with. Here is my guess, it would be awesome if you could correct it for me.

[tbuck@glados ~]$ /home/tbuck/downloads/darktable-2.0.6./ --prefix /opt/darktable --buildtype Release

bash: /home/tbuck/downloads/darktable-2.0.6./build

tbuck gravatar imagetbuck ( 2016-12-12 22:02:02 -0500 )edit

Being new to Linux, just use darktable from official software repo (dnf install darktable or even use Gnome Software to install). What you gonna gain by bumping from stable 2.0.7 to RC2.2?

gobigobi66 gravatar imagegobigobi66 ( 2016-12-12 22:07:26 -0500 )edit

Question Tools

1 follower


Asked: 2016-12-12 19:14:45 -0500

Seen: 83 times

Last updated: Dec 12 '16