数莓派安装配置

换源

sudo nano /etc/apt/sources.list

deb http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi

#ctrl+D,Ctrl+X,Y,保存编辑

sudo apt-get update && apt-get upgrade -y       #更新系统软件 并 更新已


A 安装中文字体。 

终端下执行命令:sudo apt-get -y install ttf-wqy-zenhei 
B 设置显示中文。 
终端下执行命令:sudo raspi-config 
操作提示:按空格键在前面打勾或去掉勾(星号=勾),PageUp PageDown快速翻页,Tab键跳到OK按钮上 
去掉en_GB.UTF-8 UTF-8,勾上:“en_US.UTF-8 UTF-8”、“zh_CN.UTF-8 UTF-8”、“zh_CN.GBK GBK” 
,下一屏幕默认语言选zh_CN.UTF-8。 
C.安装中文输入法 
终端下执行命令:sudo apt-get -y install scim-pinyin 
如要加装五笔输入法,再执行:sudo apt-get -y install scim-tables-zh。 
重启生效。终端下执行命令:sudo reboot 重启。 

输入法的位置:桌面右下角的键盘图标。热键也是Ctrl+空格。

安装依赖关系

apt-get install git telnet apache2 php5 libusb-1.0-0 libusb-1.0-0-dbg libusb-1.0-0-dev automake

sudo apt-get install python-pip

pip install --upgrade pip

sudo apt-get install python-software-properties

sudo apt install software-properties-common 

更新软件包
sudo add-apt-repository -y ppa:myriadrf/drivers
apt-cache search sdr


sudo apt-get install gcc c++

安装cmake

cd ~

wget https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz

tar xvf cmake-3.5.2.tar.gz

This worked for me  then:

cd cmake-3.5.2

4 ./bootstrap --prefix=/usr

这一步很关键,如果没有指定prefix,后面使用时会报错Could not find CMAKE_ROOT

make

6 sudo make install

check:

cmake --version

[root@localhost cmake-3.5.2]# cmake --version
cmake version 3.5.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

安装MySQL

sudo apt-get install mysql-server mysql-client

安装pybombs

1. 此命令安装最新版本的pybombs
sudo apt-get install python-dev
sudo pip install --upgrade git+https://github.com/gnuradio/pybombs.git
2.添加 PyBOMBS recipes
pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git  
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
pybombs prefix init /usr/local -a myprefix -R gnuradio-default
安装uhd
pybombs install gqrx gr-osmosdr uhd
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值