Install on Debian via apt-get install

Hi everyone,

apologies up front if that is a stupid noob question. I am trying to install stardog on Debian Linux via package manager. I added the repository "deb http://packages.stardog.com/deb/ stable main" and did an "apt-get install". However, when then typing "apt-get install -y stardog" I get an error that there is no package. What am I doing (obviously) wrong?

Thanks,

Schaali

Did you add the public key of the repository via curl http://packages.stardog.com/stardog.gpg.pub | apt-key add?

If so, did you apt-get update before trying the install?

Noob questions are the best questions. Welcome to the Stardog community.

1 Like

Yes. I did:
curl http://packages.stardog.com/stardog.gpg.pub | apt-key add
echo "deb http://packages.stardog.com/deb/ stable main" >> /etc/apt/sources.list
apt-get update
All with "sudo"

Are you sure that each of the commands that you ran worked? Run apt-key list and make sure that you see this in the output:

--------------------
pub   rsa2048 2017-08-30 [SC]
      4BCD 93EB 5C5A EEF2 A837  9D59 835E C486 34B5 32F2
uid           [ unknown] StardogUnion (Key for signing packages) <support@stardog.com>
sub   rsa2048 2017-08-30 [E]

also make sure that the line deb http://packages.stardog.com/deb/ stable main is in your /etc/apt/sources.list file.

Once you have those please share the output from apt-get update and apt-get install stardog

John

Yes they did run. Result of "apt-key list" (amongst others):

pub   rsa2048 2017-08-30 [SC]
      4BCD 93EB 5C5A EEF2 A837  9D59 835E C486 34B5 32F2
uid           [ unknown] StardogUnion (Key for signing packages) <support@stardog.com>
sub   rsa2048 2017-08-30 [E]

That is the repo-list:

deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
deb http://packages.stardog.com/deb/ stable main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi

This is the result of "apt-get update" (sorry the CLI runs on German):

OK:1 #remove due to forum limit, but it is the Raspian Stretch repo#
OK:2 #remove due to forum limit, but it is the Raspian Stretch repo#                 
OK:3 http://packages.stardog.com/deb stable InRelease                              
Paketlisten werden gelesen... Fertig  

And finally the "apt-get install stardog":

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket stardog kann nicht gefunden werden.

This basically says "reading list done", "building dependency trees", "reading status done" and "Package stardog cannot be found".

Are you attempting to install on a raspberry pi? If so two things:

  1. big respect! have fun!
  2. Our packages are not built for that architecture :frowning:

Try running the zip file. It may work for you.

Good luck,

John

I’ve successfully run Stardog on a RaspberryPi. I had to change one JVM arg and lower the default memory but other than that it ran fine.

Interesting. Can you give me some details on the JVM arg you changed?

I think it was XX:+UseCompressedOops but that’s just what I recall. I’ll have to fire up the ol’ RaPi to find out exactly. It didn’t take very much to figure out which one though. It was the one that said “ this argument isn’t supported” when it failed to start.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.