Linux.

linux安装内核源:

apt-get source linux-image-$(uname -r)

apt-get install linux-headers-$(uname -r)

linux获得权限:
 
 
 
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B5B7720097BB3B58
gpg --keyserver subkeys.pgp.net --recv 97BB3B58
gpg --export --armor  97BB3B58 | sudo apt-key add
97BB3B58为报错时候 B5B7720097BB3B58 的后八位
找不到libgl.so解决办法:

For proprietary drivers see update & warning below

Try reinstalling libgl1-mesa-dev and libgl1-mesa-glx wich renews the libGL.so symlink without manual interference.

sudo apt-get install --reinstall libgl1-mesa-dev libgl1-mesa-glx

This worked for: Debian Wheezy

Update & Warning:

Turn's out the reinstallation of libgl1-mesa-dev and libgl1-mesa-glx renewed - as expected - the libGL.so symlink, but also broke my proprietary nvidia driver installation. After reinstalling the driver everything's fine. So in that case, it might be a good idea to just reinstall your proprietary driver.


Linux添加32位源

dpkg --add-architecture i386,然后apt-get update

apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
apt-get install libqt4-opengl
apt-get install libglu1-mesa
apt-get ia32-libs-multiarch
apt-get install ia32-libs


GL/glfw.h

sudo apt-get install libpcap0.8 libpcap0.8-dev
sudo apt-get install libglew1.5
sudo apt-get install libglew-dev


debain源
    ## china  
    deb http://ftp.cn.debian.org/debian/ wheezy main contrib non-free  
    deb-src http://ftp.cn.debian.org/debian/ wheezy main contrib non-free  
      
    deb http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free  
    deb-src http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free  
      
    deb http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free  
    deb-src http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free  
      
    # debian security updates  
    deb http://security.debian.org/ wheezy/updates main contrib non-free  
    deb-src http://security.debian.org/ wheezy/updates main contrib non-free  
      
    # multimedia  
    deb http://deb-multimedia.org wheezy main non-free  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值