ubuntu 查看软件安装目录以及安装版本

1.aptitude show 软件名

例如:aptitude show kde-runtime

****@ubuntu:~$ aptitude show kde-runtime
软件包: kde-runtime
状态: 未安装
版本号: 4:4.8.1-0ubuntu1
优先级: 可选
部分: kde
维护者: Kubuntu Developers <[email protected]>
未压缩尺寸: 9,607 k
依赖于: libasound2 (>= 1.0.23), libattica0.3 (>= 0.3.0), libc6 (>= 2.15),
           libcanberra0 (>= 0.2), libexiv2-11, libgcc1 (>= 1:4.1.1), libjpeg8
           (>= 8c), libkcmutils4 (>= 4:4.8.1), libkdeclarative5 (>= 4:4.7.0),
           libkdecore5 (>= 4:4.8.1), libkdesu5 (>= 4:4.8.1), libkdeui5 (>=
           4:4.8.1), libkdewebkit5 (>= 4:4.8.1), libkdnssd4 (>= 4:4.8.1),
           libkemoticons4 (>= 4:4.8.1), libkfile4 (>= 4:4.8.1), libkhtml5 (>=
           4:4.8.1), libkidletime4 (>= 4:4.8.1), libkio5 (>= 4:4.8.1),
           libkmediaplayer4 (>= 4:4.8.1), libknewstuff3-4 (>= 4:4.8.1),
           libknotifyconfig4 (>= 4:4.8.1), libkparts4 (>= 4:4.8.1), libkpty4 (>=
           4:4.8.1), libnepomuk4 (>= 4:4.8.1), libnepomukdatamanagement4 (>=
           4:4.8.1), libnepomukquery4a (>= 4:4.8.1), libnepomuksync4 (>=
           4:4.8.1), libntrack-qt4-1 (>= 005), libopenexr6 (>= 1.6.1),
           libphonon4 (>= 4:4.7.0really4.5.0), libplasma3 (>= 4:4.8.1),
           libpulse-mainloop-glib0 (>= 1:0.99.1), libpulse0 (>= 1:0.99.1),
           libqt4-dbus (>= 4:4.6.1), libqt4-declarative (>= 4:4.7.0~rc1),
           libqt4-network (>= 4:4.5.3), libqt4-script (>= 4:4.6.1), libqt4-svg
           (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.8.0),
           libqtgui4 (>= 4:4.8.0), libqtwebkit4 (>= 2.2~2011week36),
           libsmbclient (>= 2:3.2.0), libsolid4 (>= 4:4.8.1), libsoprano4 (>=
           2.6.51), libssh-4 (>= 0.3.91), libstdc++6 (>= 4.6),
           libstreamanalyzer0 (>= 0.7.7), libstreams0 (>= 0.7.7), libx11-6,
           libxcursor1 (> 1.1.2), phonon, perl, kde-runtime-data (>=
           4:4.8.1-0ubuntu1), kdelibs5-plugins (>= 4:4.8.1), oxygen-icon-theme
           (>= 4:4.6), shared-desktop-ontologies, plasma-scriptengine-javascript
           (= 4:4.8.1-0ubuntu1)
推荐: udisks, upower, virtuoso-minimal, kubuntu-debug-installer, icoutils,
        libcanberra-pulse | libcanberra-gstreamer
建议: djvulibre-bin, finger
冲突: kdelibs4-dev
破坏: kdebase-runtime (< 4:4.6.80), kdebase-runtime-bin-kde4,
        kdebase-runtime-data (< 4:4.4.80), kdebase-workspace-bin (< 4:4.6),
        kdebluetooth (< 1.0~beta7-1), kdelibs5 (< 4:4.4.80), kdelibs5-plugins (<
        4:4.5), nepomukcontroller, plasma-netbook (< 4:4.5.95),
        plasma-scriptengine-declarative, plasma-scriptengine-javascript (<
        4:4.6.80)
代替: kdebase-runtime (< 4:4.6.80), kdebase-runtime-bin-kde4,
        kdebase-runtime-data (< 4:4.4.80), kdebase-workspace-bin (< 4:4.6),
        kdebluetooth (< 1.0~beta7-1), kdelibs5 (< 4:4.4.80), kdelibs5-plugins (<
        4:4.5), nepomukcontroller, plasma-netbook (< 4:4.5.95),
        plasma-scriptengine-declarative, plasma-scriptengine-javascript (<
        4:4.6.80)
描述: runtime components from the official KDE release
 KDE is produced by an international technology team that creates free and open
 source software for desktop and portable computing. Among KDE‘s products are a
 modern desktop system for Linux and UNIX platforms, comprehensive office
 productivity and groupware suites and hundreds of software titles in many
 categories including Internet and web applications, multimedia, entertainment,
 educational, graphics and software development. 

 This package contains programs and data needed at runtime by KDE applications.
主页: http://www.kde.org/

2.软件名

例如:dpkg -l gedit

ubuntu:~$ dpkg -l gedit
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                  Architecture             Description
+++-=======================================-========================-========================-====================================================================================
ii  gedit                                   3.10.4-0ubuntu4          amd64                    official text editor of the GNOME desktop environment

3.查询安装路径

例如:dpkg -L gedit

*****@ubuntu:~$ dpkg -L gedit
/.
/usr
/usr/bin
/usr/bin/gedit
/usr/share
/usr/share/applications
/usr/share/applications/gedit.desktop
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/org.gnome.gedit.service
/usr/share/bug
/usr/share/bug/gedit
/usr/share/bug/gedit/script
/usr/share/pyshared
/usr/share/pyshared/gi
/usr/share/pyshared/gi/overrides
/usr/share/pyshared/gi/overrides/Gedit.py
/usr/share/gedit
/usr/share/gedit/gedit-bugreport
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/gedit
/usr/share/menu
/usr/share/menu/gedit
/usr/share/doc
/usr/share/doc/gedit
/usr/share/doc/gedit/README
/usr/share/doc/gedit/BUGS
/usr/share/doc/gedit/copyright
/usr/share/doc/gedit/NEWS.gz
/usr/share/doc/gedit/AUTHORS
/usr/share/doc/gedit/changelog.Debian.gz
/usr/share/python
/usr/share/python/runtime.d
/usr/share/python/runtime.d/gedit.rtupdate
/usr/lib
/usr/lib/gedit
/usr/lib/gedit/girepository-1.0
/usr/lib/gedit/girepository-1.0/Gedit-3.0.typelib
/usr/lib/gedit/plugins
/usr/lib/gedit/plugins/libmodelines.so
/usr/lib/gedit/plugins/zeitgeist.plugin
/usr/lib/gedit/plugins/time.plugin
/usr/lib/gedit/plugins/libspell.so
/usr/lib/gedit/plugins/libtime.so
/usr/lib/gedit/plugins/quickopen.plugin
/usr/lib/gedit/plugins/libsort.so
/usr/lib/gedit/plugins/externaltools
/usr/lib/gedit/plugins/externaltools/outputpanel.py
/usr/lib/gedit/plugins/externaltools/windowactivatable.py
/usr/lib/gedit/plugins/externaltools/manager.py
/usr/lib/gedit/plugins/externaltools/capture.py
/usr/lib/gedit/plugins/externaltools/library.py
/usr/lib/gedit/plugins/externaltools/filelookup.py
/usr/lib/gedit/plugins/externaltools/__init__.py
/usr/lib/gedit/plugins/externaltools/functions.py
/usr/lib/gedit/plugins/externaltools/linkparsing.py
/usr/lib/gedit/plugins/pythonconsole.plugin
/usr/lib/gedit/plugins/docinfo.plugin
/usr/lib/gedit/plugins/changecase.plugin
/usr/lib/gedit/plugins/modelines.plugin
/usr/lib/gedit/plugins/snippets
/usr/lib/gedit/plugins/snippets/placeholder.py
/usr/lib/gedit/plugins/snippets/shareddata.py
/usr/lib/gedit/plugins/snippets/substitutionparser.py
/usr/lib/gedit/plugins/snippets/snippet.py
/usr/lib/gedit/plugins/snippets/completion.py
/usr/lib/gedit/plugins/snippets/exporter.py
/usr/lib/gedit/plugins/snippets/singleton.py
/usr/lib/gedit/plugins/snippets/windowactivatable.py
/usr/lib/gedit/plugins/snippets/document.py
/usr/lib/gedit/plugins/snippets/appactivatable.py
/usr/lib/gedit/plugins/snippets/languagemanager.py
/usr/lib/gedit/plugins/snippets/importer.py
/usr/lib/gedit/plugins/snippets/manager.py
/usr/lib/gedit/plugins/snippets/library.py
/usr/lib/gedit/plugins/snippets/signals.py
/usr/lib/gedit/plugins/snippets/__init__.py
/usr/lib/gedit/plugins/snippets/helper.py
/usr/lib/gedit/plugins/snippets/parser.py
/usr/lib/gedit/plugins/sort.plugin
/usr/lib/gedit/plugins/externaltools.plugin
/usr/lib/gedit/plugins/spell.plugin
/usr/lib/gedit/plugins/quickopen
/usr/lib/gedit/plugins/quickopen/popup.py
/usr/lib/gedit/plugins/quickopen/__init__.py
/usr/lib/gedit/plugins/quickopen/virtualdirs.py
/usr/lib/gedit/plugins/libchangecase.so
/usr/lib/gedit/plugins/filebrowser.plugin
/usr/lib/gedit/plugins/pythonconsole
/usr/lib/gedit/plugins/pythonconsole/__init__.py
/usr/lib/gedit/plugins/pythonconsole/console.py
/usr/lib/gedit/plugins/pythonconsole/config.py
/usr/lib/gedit/plugins/snippets.plugin
/usr/lib/gedit/plugins/libdocinfo.so
/usr/lib/gedit/plugins/libzeitgeistplugin.so
/usr/lib/gedit/plugins/libfilebrowser.so
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/gi
/usr/lib/python2.7/dist-packages/gi/overrides
/usr/lib/libgedit-private.so.0.0.0
/usr/lib/libgedit-private.so.0
/usr/lib/python2.7/dist-packages/gi/overrides/Gedit.py

或者

4.whereis 软件名

例如:whereis gedit

ubuntu:~$ whereis gedit
gedit: /usr/bin/gedit /usr/bin/X11/gedit /usr/share/gedit /usr/share/man/man1/gedit.1.gz
时间: 2024-10-29 23:46:20

ubuntu 查看软件安装目录以及安装版本的相关文章

Ubuntu 14.04 64位上安装wps office软件(转http://m.blog.csdn.net/blog/yhc13429826359/24179933)

废话少说,只给出方法供各位参考!wps for Linux版本已经有两三年没有大的动作,当然其他平台,比如windows,Android,ios上的wps效果还是很赞的说. 下面是我成功安装的步骤: 1.去官网下载alpha版本,千万不要下载beta版本,否则安装上去但是无法打开: http://community.wps.cn/download/ 我选择安装成功的是a12p4_i386.deb 包,wps目前只有32位版本,没有64位版本. 2.安装ia-32libs安装包,目的就是在64位系

Ubuntu下查看软件版本及安装位置【转】

Ubuntu下查看软件版本及安装位置 查看软件版本:     aptitude show xxx 也可用apt-show-versions (要先安装sudo apt-get install apt-show-versions) 查看软件安装位置:dpkg -L xxxx 查看软件是否安装:dpkg -l | grep filename

Ubuntu下查看软件版本及安装位置

查看软件版本:aptitude show xxx 也可用apt-show-versions (要先安装sudo apt-get install apt-show-versions) 查看软件安装位置:dpkg -L xxxx 查看软件是否安装:dpkg -l | grep filename

Ubuntu 中软件的安装、卸载以及查看的方法总结

说明:由于图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装.卸载和删除的方法. 一.Ubuntu中软件安装方法 1.APT方式 (1)普通安装:apt-get install softname1 softname2 -; (2)修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken dep

Linux(Ubuntu)使用 sudo apt-get install 命令安装软件的目录在哪?(已解决)

Linux(Ubuntu)使用   sudo apt-get install  命令安装软件的目录在哪? bin文件路径: /usr/bin 库文件路径: /usr/lib/  其它的图标啊什么的路径: /usr/share 配置文件路径: /etc/

ubuntu19.04下查看软件安装目录和详细信息

1.查看软件安装路径: [email protected]:~$ dpkg -L python3/./usr/usr/bin/usr/lib/usr/lib/valgrind/usr/lib/valgrind/python3.supp/usr/share/usr/share/doc/usr/share/doc/python3.... 2.查看软件安装的详细信息: [email protected]:~$ apt show python3Package: python3Version: 3.7.3

【转】Ubuntu 16.04安装配置TensorFlow GPU版本

之前摸爬滚打总是各种坑,今天参考这篇文章终于解决了,甚是鸡冻\(≧▽≦)/,电脑不知道怎么的,安装不了16.04,就安装15.10再升级到16.04 requirements: Ubuntu 16.04 python 2.7 Flask tensorflow GPU 版本 安装nvidia driver 经过不断踩坑的安装,终于google到了靠谱的方法,首先检查你的NVIDIA VGA card model sudo lshw -numeric -C display 可以看到你的显卡信息,比如

ubuntu下软件安装

通常linux上的软件安装方装方式: 在线安装 从磁盘安装deb软件包 从二进制软件包安装 从源代码编译安装 这几种方法各有优劣,下面介绍前三种. 一.在线安装 平时我们使用windows安装软件时,需要从网上下载安装包,然后一直下一步... 现在我们来到了Linux的世界中,感受一下geek的思维方式——一个命令加回车,等待一 下,软件就安装好了,这就是方便的在线安装软件的方式.有一点需要提前说明的是,由于linux发行版本不同,所以在线安装方式存在一些差异(包括包管理工具和命令),这里涉及的

Ubuntu基本软件安装和web开发环境配置

经过两天的的不懈努力,终于把环境配置好了.其中从淡定到蛋疼,从希望到失望再到绝望的过程我就不多说了.写本文的目的是不希望别人在配置环境时再像我一样遭受迷失在搜索引擎里的痛苦.闲话少说,直接上教程.(本文只为小白准备,大神勿喷,当然指正错误,俺还是笑着接纳地...) 本人系统版本32位Ubuntu,64位Ubuntu或者非Ubuntu系统用户请绕道.具体操作如下: 1>--->安裝IBus输入法 IBus是一个框架,支持多种输入法.(如果您是可爱的小白童鞋,输入以下命令时,请注意命令字符间的空格