如何在 Ubuntu 上安装 alfred-json?

如何在 Ubuntu 上安装 alfred-json?

是否有适用于软件包的 PPA,我需要在 ubuntu 上使用 alfred?

我想分析德国/基尔的 Freifunk 蝙蝠侠网状网络。

答案1

点击此处下载:

首次安装alfred-json

cd /tmp
git clone https://github.com/tcatm/alfred-json.git
cd alfred-json
sudo apt-get install libjansson-dev cmake
cmake .
make
make install

有关示例:请参阅该 GIT 存储库中的 README

要使用 alfred,你需要使用数据包安装 batman

sudo apt-get install batctl

然后

sudo  modprobe batman-adv

alfred自行安装:

cd /tmp
git clone https://github.com/tcatm/alfred.git
cd alfred
make
make install

Ubuntu下安装batman-adv启动网状网络

您还可以创建 PPA: /etc/apt/sources.list.d/90-debian.draic.info.list

deb [arch=amd64] http://debian.draic.info/ wheezy main
deb-src http://debian.draic.info/ wheezy main

要安装alfred守护进程(ALFRED - Almighty Lightweight Fact Remote Exchange Daemon)和batadv-vis

cd /tmp/
wget https://github.com/rubo77/alfred-repository/blob/master/alfred_2014.3.0-11_i386.deb?raw=true
sudo dpkg -i alfred_2014.3.0-11_i386.deb
wget https://github.com/rubo77/alfred-repository/blob/master/batadv-vis_2014.3.0-11_i386.deb?raw=true
sudo dpkg -i batadv-vis_2014.3.0-11_i386.deb 

答案2

您可以alfed-json通过存储库安装:

cat > /etc/apt/sources.list.d/draic.list << EOF
deb [arch=amd64] http://debian.draic.info/ wheezy main
deb-src http://debian.draic.info/ wheezy main
EOF
apt-get update
apt-get install libjansson-dev cmake python3-pip fakeroot dpkg-dev build-essential zlib1g-dev pkg-config debhelper
cd /tmp/
apt-get source --allow-unauthenticated alfred-json
cd alfred-json-0.3.1/
dpkg-buildpackage -uc -us
dpkg -i ../alfred-json_0.3.1-1_i386.deb

安装alfredbatadv-vis

apt-get install quilt
apt-get source --allow-unauthenticated alfred
cd alfred-2014.3.0/
dpkg-buildpackage -uc -us
dpkg -i ../alfred_2014.3.0-11_i386.deb
dpkg -i ../batadv-vis_2014.3.0-11_i386.deb 

相关内容