English
Ask Your Question
0

How do I install a tarball with the checsum? f25

asked 2016-12-13 01:14:45 +0000

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
2

answered 2016-12-13 01:52:39 +0000

florian gravatar image

updated 2016-12-13 04:00:21 +0000

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 README.md file. (it requires a bunch of dependencies, see below).

Quoting from install section of readme file:

Easy way

bash
./build.sh --prefix /opt/darktable --buildtype Release

Manual way

bash
mkdir build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable/ ..
make
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

Comments

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 ( 2016-12-13 02:35:01 +0000 )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: https://github.com/darktable-org/dark...

florian ( 2016-12-13 03:08:39 +0000 )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 ( 2016-12-13 03:19:13 +0000 )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:

bash
./build.sh --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./build.sh --prefix /opt/darktable --buildtype Release

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

tbuck ( 2016-12-13 04:02:02 +0000 )edit
1

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 ( 2016-12-13 04:07:26 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2016-12-13 01:14:45 +0000

Seen: 49 times

Last updated: Dec 13 '16