Ubuntu中一些软件和库的下载过程集合

本文汇总了Ubuntu系统中一些常见软件如lrzsz、libnl、flex、libnl-dev、bzip2、pkgconf、iw的安装过程,详细介绍了每个软件的下载、编译与安装步骤,旨在简化学习和使用过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

        最小化安装有很多好处,要什么就装什么,但是因为来源不一,解压方法各不相同,依赖关系等等问题,也会导致我们安装各种软件或者库的过程比较复杂。所以列出一些比较常用的软件及其安装方法用来启发一下自己的学习之路。

lrzsz

安装过程:

# cd /tmp

# wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
# tar zxvf lrzsz-0.12.20.tar.gz && cd lrzsz-0.12.20
# ./configure && make && make install

上面安装过程默认把lszlrz安装到了/usr/local/bin/目录下下面创建软链接并命名为rz/sz:
# cd /usr/bin
# ln -s /usr/local/bin/lrz rz
# ln -s /usr/local/bin/lsz sz


libnl

下载地址:http://download.chinaunix.net/download/0006000/5947.shtml

版本libnl-3.2.25

rz导入这个压缩包到板子解压缩并安装,

# tar zxvf libnl-3.2.25.tar.gz && cd libnl-3.2.25

# ./configure && make && make install


flex

下载地址:http://download.chinaunix.net/download/0004000/3101.shtml

版本:flex-2.5.4a.tar.gz

# tar zxvf flex-2.5.4a.tar.gz && cd flex-2.5.4a

# ./configure && make && make install

 

libnl-dev

sudo apt-get install libnl-dev

 

bzip2

 安装bzip2     apt-get install bzip2

成功解压后cd进去:

# ./configure && make && make install

 

pkgconf

下载地址:http://download.chinaunix.net/download/0009000/8174.shtml

版本:pkgconfig-0.17.2.tar.bz2

导入解压:

解压tar.bz2出现错误信息:

tar (child): lbzip2: Cannot exec: No such file or directory

tar (child): Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error is not recoverable: exiting now 

这时要先安装上面的bzip2

iw

    iw 是一种新的基于 nl80211 的用于无线设备的CLI配置实用程序。它支持最近已添加到内核所有新的驱动程序。采用无线扩展接口的旧工具iwconfig已被废弃,强烈建议切换到 iw 和 nl80211。像Linux内核的其余部分,iw 仍处于开发阶段。功能被随时添加。 iw 的唯一文档就是此页和“iw help”的输出。  

关于iw详细介绍及用法的网址:

http://linuxwireless.org/en/users/Documentation/iw/#About_iw


hostapd

   # vim defconfig

    修改如下:

    
  # cp defconfig .config

 Makefile中LD后面加入-ldl -lz

 出现问题:

make: warning:  Clock skew detected.Your build may be incomplete.

# date -s 07/23/15

# date -s 10:18:30

# ./configure && make && make install

 

networkmanager  

apt-get install network-manager




 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值