![如何在 Ubuntu 上安装 alfred-json?](https://linux22.com/image/849884/%E5%A6%82%E4%BD%95%E5%9C%A8%20Ubuntu%20%E4%B8%8A%E5%AE%89%E8%A3%85%20alfred-json%EF%BC%9F.png)
是否有适用于软件包的 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
您还可以创建 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
安装alfred
并batadv-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