It's official: Prey is now on Ubuntu and Debian

by Tomás 13, Dec, 2016


Good news Ubuntu users! If you already upgraded to Ubuntu Natty Narwhal (11.04) then you'll be able to install Prey directly from Ubuntu's official package repositories. We've been working side by side with the Debian devs so now you'll be able to find Prey in Ubuntu's Software Center or get it by opening up a terminal and typing the famous one-liner:

$ sudo apt-get install prey

The package is listed on Ubuntu's universe repository so be sure to enable it through Synaptic it (Settings > Repositories > check Community-maintained Open Source software) if you want to use it.

Now, there's a few differences between the official Prey version and the one bundled in Debian and Ubuntu. Keep on reading!

Modified paths

To comply better with the Debian package policies, some stuff has been moved from their regular locations. While our package keeps everything on /usr/share/prey, on the Debian/Ubuntu Prey version:

  • The core files were moved to /usr/lib/prey.
  • Configuration is now stored on /etc/prey/config instead of /usr/share/prey/config.
  • Modules are now kept on /var/lib/prey/modules, rather than /usr/share/prey/modules
  • Instead of modifying the running user's crontab, the install script creates an entry in /etc/cron.d/prey.

Manual configuration -- for now

The graphic configurator is not available yet as there are some things that need to be tweaked before it can shipped on Debian. This means that if you use the Debian/Ubuntu version, you'll need to setup your configuration by hand for the time being (sudo gedit /etc/prey/config). Control Panel users need to enter their device and API keys while standalone users need to enter a Check URL and setup their SMTP server settings.

Updates via apt-get

The Debian policy is that packages should not upgrade themselves, but rather through the system's package manager. This means that the Debian/Ubuntu version will not auto-update as the official client does. This also means that you will get updates with a small delay, depending on the time it takes Debian or Ubuntu to sync their repos with the upstream version.


Current available version is 0.4.4

The current version available on Ubuntu's universe repo is 0.4.4, which means that you won't be able to use the features we've been adding lately, such as On Demand activation, Hardware Scan or Offline Actions. Prey 0.5.3 is already on Debian's unstable repo so hopefully we'll get that soon on Ubuntu too.

In other words, if you're considering upgrading to Pro we recommend to stick to the official client for now. Otherwise you'll miss the good stuff!

Can I switch from one version to the other?

Yes but you'll need to uninstall the one you're running first, otherwise your computer might explode into pieces. Jokes aside, the Debian/Ubuntu version will not be aware of the previous installation so things might get hairy if you don't remove your previous installation (e.g. a version might try to overwrite the other one's files when upgrading).

Remember if you wish to install the official release as usual, you can always do by downloading the .DEB package and using GDebi or simply dpkg -i prey-*.deb. So thanks to everyone who made this possible, especially Debian ninjas Alessio Treglia and Jelmer Vernooij!

check out our

Related Blog Posts

MDM Spotlight Nº4: Closing the MDM Timeline with Mass Actions

by Nicolas Poggi July 19, 2017

Finally! Two spotlights and a bonus track later, we reach the present day. Get ready for the upcoming crowning MDM feature: ..

Read More

MDM Spotlight N°3: Bonus Round, nothing's out of hand with File Retrieval

by Nicolas Poggi July 19, 2017

The Bonus Round in our MDM package, File Retrieval. A little extra control on something you just can't lose: Data.


Read More

MDM Spotlight Nº2: Tidy up with Advanced Search & Labeling

by Nicolas Poggi July 19, 2017

Spotlight number dos! There's no Mobile Device Management without some organization and tidiness.

Coming up on this..

Read More

MDM Spotlight Nº1: Control Zones, the first step to this Summer's Release.

by Nicolas Poggi July 19, 2017

Summer comes with a great release! Say hello to the upcoming Mobile Device Management (MDM) package.

With the arrival of our..

Read More

Asset management & advanced search: wizard's guide to label location

by Matias Wolff February 17, 2017

You’ve realized that an advanced search capacity is a must have tool to track your devices in multiple locations...

Read More

Why Advanced Search in mobile security is a must-have

by Matias Wolff January 27, 2017

X-wings, B-wings, Y-wings, managing all these different kind of battle starships was not a piece of cake for the rebel..

Read More