Update packages_debian_ubuntu.md

This commit is contained in:
vitalyster 2017-08-04 17:49:18 +03:00 committed by GitHub
parent bfb033c3d7
commit 008e499df8

View file

@ -9,8 +9,9 @@ redirect_from: "/documentation/installation/debian_ubuntu.html"
At the moment we only support AMD64 binary packages:
# apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 1AFDEA51
# wget https://swift.im/keys/packages.key | apt-key add -
# echo "deb http://packages.spectrum.im/spectrum2/ stretch main" >> /etc/apt/sources.list.d/spectrum.list
# echo "deb-src http://packages.spectrum.im/spectrum2/ stretch main" >> /etc/apt/sources.list.d/spectrum.list
# echo "deb https://swift.im/packages/debian/sid beta main" >> /etc/apt/sources.list.d/spectrum.list
# apt-get update
# apt-get install spectrum2 spectrum2-backend-libpurple spectrum2-backend-libcommuni spectrum2-backend-twitter
@ -27,7 +28,7 @@ You need to rebuild source libcommuni and spectrum packages from our source pack
# apt-get install libpurple-dev libswiften-dev libprotobuf-dev libmariadbclient-dev liblog4cxx10-dev protobuf-compiler libpopt-dev libdbus-glib-1-dev libpqxx3-dev cmake libevent-dev libboost-all-dev libidn11-dev libxml2-dev libavahi-client-dev libavahi-common-dev libcurl4-openssl-dev libsqlite3-dev
$ apt-get source communi spectrum2
$ cd communi_3.5.0-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc && cd ..
$ cd spectrum2_2.0.3-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc && cd ..
$ cd spectrum2_2.0.4-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc && cd ..
When the compilation process has ended the .deb packages for libcommuni and spectrum will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`.