{"id":6819,"date":"2022-07-22T18:18:17","date_gmt":"2022-07-22T12:48:17","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=6819"},"modified":"2022-07-22T18:19:39","modified_gmt":"2022-07-22T12:49:39","slug":"installing-sphinx-packages-on-debian-and-ubuntu","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/installing-sphinx-packages-on-debian-and-ubuntu\/","title":{"rendered":"How to install Sphinx packages on Debian and Ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">There are two ways of getting Sphinx for Ubuntu: regular deb packages and the Launchpad PPA repository.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Deb packages<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Sphinx requires a few libraries to be installed on Debian\/Ubuntu. Use apt-get to download and install these dependencies:<br><strong>$ sudo apt-get install mysql-client unixodbc libpq5<\/strong><\/li><li>Now you can install Sphinx:<br><strong>$ sudo dpkg -i sphinxsearch_2.2.11-dev-0ubuntu12~trusty_amd64.deb<\/strong><\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>PPA repository (Ubuntu only<\/strong>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Installing Sphinx is much easier from Sphinxsearch PPA repository, because you will get all dependencies and can also update Sphinx to the latest version with the same command.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>First, add Sphinxsearch repository and update the list of packages:<br><strong>$ sudo add-apt-repository ppa:builds\/sphinxsearch-rel22<\/strong><strong><br><\/strong><strong>$ sudo apt-get update<\/strong><\/li><li>Install\/update sphinxsearch package:<br><strong>$ sudo apt-get install sphinxsearch<\/strong><\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">     3. Sphinx searchd daemon can be started\/stopped using service command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">           <strong>$ sudo service sphinxsearch start<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two ways of getting Sphinx for Ubuntu: regular deb packages and the Launchpad PPA repository. Deb packages Sphinx [&hellip;]<\/p>\n","protected":false},"author":495,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[958],"class_list":["post-6819","post","type-post","status-publish","format-standard","hentry","category-web-architecture","tag-sphinx","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1LZ","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/6819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/495"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=6819"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/6819\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=6819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=6819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=6819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}