ubuntu下查找某个软件的安装位置,配置文件

安装apt-file:apt-get install apt-file

执行apt-file update更新缓存

使用命令查看文件:

apt-file [options] action [pattern]
apt-file [options] -f action <file>
apt-file [options] -D action <debfile>

Configuration options:
    --sources-list     -s  <file>       sources.list location
    --cache            -c  <dir>        Cache directory
    --architecture     -a  <arch>       Use specific architecture
    --cdrom-mount      -d  <cdrom>      Use specific cdrom mountpoint
    --from-file        -f               Read patterns from file(s), one per line
                                        (use '-' for stdin)
    --from-deb         -D               Use file list of .deb package(s) as
                                        patterns; implies -F
    --non-interactive  -N               Skip schemes requiring user input
                                        (useful in cron jobs)
    --package-only     -l               Only display packages name
    --fixed-string     -F               Do not expand pattern
    --ignore-case      -i               Ignore case distinctions
    --regexp           -x               pattern is a regular expression
    --verbose          -v               run in verbose mode
    --dummy            -y               run in dummy mode (no action)
    --help             -h               Show this help.

Action:
    update                              Fetch Contents files from apt-sources.
    search|find        <pattern>        Search files in packages
    list|show          <pattern>        List files in packages
    purge                               Remove cache files

时间: 2024-08-30 14:56:54

ubuntu下查找某个软件的安装位置,配置文件的相关文章

eclipse-在手机上运行软件的安装位置

问题描述 在手机上运行软件的安装位置 用eclipse在手机上运行软件,其中,软件有存储功能,可以把一个字符串存到手机的内部存储中,采用内部存储的方法,网上说存在data/data/包名/文件名中,但是我没找到,哪位有经验,跪求指导,在线等 解决方案 应该是在data/app里 解决方案二: 还有的就是在sdcard/Android里 解决方案三: 感谢各位欧巴的回答,但我还是没找到,不知道大家有没有File存储的代码,简单的实现上述功能就行,有的话发我一下,卡桑哈密大 解决方案四: data下

Ubuntu下制作自己本地源安装openstack

问题描述 谁在Ubuntu下制作过本地源安装openstack,我不知道相关的包在网上的那个地址下,怎么下载.请指教!!不胜感激.centos下的话有个reposync命令可以获取openstack的rpm包,然后createrepo就可以了,但是Ubuntu下怎么做,我对apt-get命令不太懂,所以请说的详细一点 解决方案 解决方案二: 我看官网上/etc/apt/sources.list.d/cloudarchive-juno.list配置文件里添加了debhttp://ubuntu-cl

Windows 8下如何查看Metro应用安装位置?

  Win8下,新增加的Metro应用程序默认只能安装在系统盘,会导致系统盘臃肿,且在"控制面板"--"程序和功能"中无法看到已安装的程序及其大小. 如何查看Metro应用程序大小: Win+C打开Charm(超级按钮),选择"设置",选择右下角的"更改电脑设置",选择"常规",找到"可用存储"下的"查看应用大小". 如何查看Metro应用程序安装位置: 方法一: M

一份比较实用的Ubuntu下替代WIN软件列表

在笔记本上用Ubuntu替代Win已经差不多两年来,早已经习惯了在Ubuntu下工作,生活,娱乐. 根据自己长期的实践,这里给出一份比较使用的替代软件列表,希望能够对初学者有帮助. 列表分成两个部分,一种是在WIn和Ubuntu下都能用的跨平台软件,另外一种则是和Win系统下软件有类似功能的替代软件. 跨平台软件 浏览器:FireFox   和  Chrome 虚拟机: VMware Workstation 聊天软件:skype 编程软件:eclipse Ftp软件:FileZilla 网络电视

ubuntu下迅雷极速版的安装与使用_Linux

配置说明:       本机OS: Ubuntu 16.04 x64 一.环境配置 1.1直接命令安装 sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine 安装大概需要500多M的容量 1.2或者不嫌麻烦可以用源码编译安装 https://www.winehq.org/ ./configure make sudo make install 注意:源码配置如果出现 con

Ubuntu下利用proxychains高大上的安装Dropbox

对Ubuntu的折腾也有几年了吧,但是一直都是双系统或是虚拟机,最近将windows彻底的抛弃了. 接下来说我们今天的主角Dropbox,一直以来都是利用Dropbox进行资料同步.转入Ubuntu也不例外,在安装的时候由于Dropbox已经被墙了所以想到了走代理. Shadowsocks 这里也就不多说了,Shadowsocks-Qt5. proxychains 在使用3版本中的时候遇到了一些问题,所以我建议直接使用4版本. # 安装 git clone https://github.com/

ubuntu下的nginx+php+mysql安装配置

1.更新 sudo apt-get update 2.安装nginx sudo apt-get intsall nginx Ubuntu安装之后的文件结构大致为: * 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在 了/etc/nginx/sites-available下 *程序文件在/usr/sbin/nginx * 日志放在了/var/log/nginx中 *并已经 在/etc/init.d/下创建了启动脚本nginx * 默认的虚拟主机的目录设置在了/var/www/

ubuntu下Mysql+sphinx+中文分词安装配置

一.编译先前条件 确认是否已经安装以下软件,有些也许不是必须的,但建议还是都装上. apt-get install autoconf automake autotools-dev cpp curl gawk gcc lftp libc6-dev linux-libc-dev make libpcre3-dev libpcrecpp0 g++ libtool libncurses5-dev aptitude install libmysql++-dev libmysqlclient15-dev c

Linux下Web统计软件Piwik安装步骤详解

Piwik是一个开源的Web网站统计软件, Piwik安装过程也很简单, 需要先安装好lamp或者lnmp的Web运行环境. 安装图解 Piwik软件下载:http://builds.piwik.org/piwik.zip 安装截图 在服务器上安装piwik的时候报下面的错误: in_array() expects parameter 2 to be array, null given in '/alidata/www/piwik/plugins/Installation/Controller.