我在ubuntu下安装软件时,怎么总是提醒无法找到软件包?
设置好软件源了吗?sudo gedit /etc/apt/sources.lis看看你的源。
#中国科学技术大学更新服务器(教育网,推荐校园网和网通用户使用):deb http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe#电信cn99的源deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiversedeb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiversedeb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiversedeb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiversedeb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiversedeb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiversedeb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiversedeb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiversedeb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiversedeb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiversedeb http://ubuntu.cn99.com/ubuntu-cn/ hardy main restricted universe multiverse这是8。
04的一些源。
7。
10的把hardy都改成gusty。
如果还是没有的话可能这个软件在源里没有,你到网上下吧。
ubuntu下装什么软件都显示无法定位软件包
展开全部 很明显是没有配置好【软件源】解决办法很简单,更换另一个源就行了。
一般建议是使用国内的源。
更新管理器(update-manager),打开后按底下的“设置”->“ubuntu软件”->“下载自”在“下载自”那里点“其他站点”,里面选一个源就是了。
一般选中国的源。
或者新立得(synaptic),打开后点菜单“设置”->“软件库”,然后是同样的设置。
或者是直接打开在命令行上打开:software-properties-gtk或者直接编辑/etc/apt/sources.list,输入新的源。
...
ubuntu安装不了更新,提示软件包系统损坏
在提示错误的文件夹内包含所有源中软件的信息,产生这类错误的原因是因为下载更新中发生了网络错误,从而使下载文件出错,导致了系统在搜索源信息时提示出错,因此只要把出错的文件删除然后重新更新软件信息即可解决。
在ubuntu内出现这类问题比较常见,通用的sudo rm * -vf是删除所有软件信息文件,如果出错的文件较少如本例中的只有一个,可以考虑只删除出错的文件以减少更新下载的时间。
ubuntu 软件安装包不能安装
展开全部引言在ubuntu当中,安装应用程序我所知道的有三种方法,分别是apt-get,dpkg安装deb和make install安装源码包三种。
下面针对每一种方法各举例来说明。
apt-get方法使用apt-get install来安装应用程序算是最常见的一种安装方法了,比如我要安装build-essential这个软件,使用以下,他会帮我把所有的依赖包都一起安装了。
sudo apt-get install build-essential执行上述命令以后,我们可以看到一下信息,The following extra packages will be installed:表示所有需要再安装的依赖包。
sudo apt-get install build-essential[sudo] password for enadmin: Reading package lists... DoneBuilding dependency tree Reading state information... DoneThe following extra packages will be installed: binutils cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc gcc-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-bin libc-dev-bin libc6 libc6-dev libdpkg-perl libgomp1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.6-dev linux-libc-dev manpages-devSuggested packages: binutils-doc cpp-doc gcc-4.6-locales debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libstdc++6-4.6-docThe following NEW packages will be installed: binutils build-essential cpp cpp-4.6 dpkg-dev fakeroot g++ g++-4.6 gcc gcc-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libgomp1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.6-dev linux-libc-dev manpages-devThe following packages will be upgraded: libc-bin libc62 upgraded, 23 newly installed, 0 to remove and 101 not upgraded.Need to get 36.3 MB of archives.After this operation, 83.6 MB of additional disk space will be used.Do you want to continue [Y/n]? y下面给出apt-get的的各种参数:apt-get install xxx 安装xxx 。
如果带有参数,那么-d 表示仅下载 ,-f 表示强制安装 apt-get remove xxx 卸载xxx apt-get update 更新软件信息数据库 apt-get upgrade 进行系统升级 apt-cache search 搜索软件包 Tips:建议您经常使用“apt-get update”命令来更新您的软件信息数据库 apt-get理论上是要求能够联网,但是如果制作了本地源,就不需要联网,制作本地源可以参考:ubuntu制作本地源dpkg安装deb包Ubuntu软件包格式为deb,安装方法如下: sudo dpkg -i package.deb
ubuntu下装什么软件都显示无法定位软件包
很明显是没有配置好【软件源】解决办法很简单,更换另一个源就行了。
一般建议是使用国内的源。
更新管理器(update-manager),打开后按底下的“设置”->“ubuntu软件”->“下载自”在“下载自”那里点“其他站点”,里面选一个源就是了。
一般选中国的源。
或者新立得(synaptic),打开后点菜单“设置”->“软件库”,然后是同样的设置。
或者是直接打开在命令行上打开:software-properties-gtk或者直接编辑/etc/apt/sources.list,输入新的源。
Ubuntu有 1 个软件包没有被完全安装或卸载。
sudo apt-get autocleansudo apt-get cleansudo apt-get autoremovecheck更新管理器,看是哪个软件包的问题,删了再装或装过再删。
重启后再试。
用VirtualBox吧,用它虚拟windows,那么在win下才能用的软件就可以用了,方便简单。
linux系统软件无法安装是为什么?
这个很难说了。
你买的二手电脑上装的是哪一种linux呢?如果是ubuntu,应该下载以.deb为结尾的软件包,如果是fedora,centos,rhel等应该下载以.rpm为结尾的软件包。
你下载的是否正确?或者你下载的根本就不是linux环境下的软件包,而是.exe或.msi这样的只能在windows平台上使用的安装程序?这一点对于很多新手来说都是很容易犯的错误。
你买的二手电脑,下载的都无法打开,那电脑上是否还有其他软件,比如说原来的用户安装的软件。
这些软件如果有的话,能不能打开?
ubuntu 14.04 64位版本 gcc无法运行 安装ia32
ubuntu又迎来了其新一代的长期支持版本 14.04 LTS,其带来了许多令人期待的新特新,遂决定进行升级。
装好了64位版本及交叉编译工具链后,运行GCC,依然会提示那经典的“没有那个文件或目录”提示。
根据以往的经验,对于64位版本ubuntu我们需要安装“ia32-libs”依赖库。
遂输入:sudo apt-get install ia32-lib却提示查无此货? 已经被”lib32z1 lib32ncurses5 lib32bz2-1.0“这几个哥们代替了!按照提示,输入apt-get install 命令将以上的依赖包进行安装sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0再次运行GCC,报错“libstdc++.so.6: cannot open shared object file: No such file or directory”还需再次安装“lib32stdc++6”依赖包sudo apt-get install lib32stdc++6
转载请注明出处51数据库 » ubuntu无法 软件包