1. 程式人生 > >ubuntu下如何檢視軟體安裝目錄以及安裝版本

ubuntu下如何檢視軟體安裝目錄以及安裝版本

1.查詢版本

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軟體名

 例如:dpkg -l gedit 

*****@ubuntu:~$ dpkg -l gedit
期望狀態=未知(u)/安裝(i)/刪除(r)/清除(p)/保持(h)
| 狀態=未安裝(n)/已安裝(i)/僅存配置(c)/僅解壓縮(U)/配置失敗(F)/不完全安裝(H)/觸發器等待(W)/觸發器未決(T)
|/ 錯誤?=(無)/須重灌(R) (狀態,錯誤:大寫=故障)
||/ 名稱         版本         描述
+++-==============-==============-============================================
ii  gedit          3.3.8-0ubuntu1 official text editor of the GNOME desktop en
2.查詢安裝路徑

1)dpkg -L 軟體名

例如: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

或者

2)whereis 軟體名

例如:whereis gedit

相關推薦

ubuntu如何檢視軟體安裝目錄以及安裝版本 .

1.查詢版本 1)aptitude show 軟體名 例如:aptitude show kde-runtime  顯示如下: [html] view plaincopyprint? ****@ubuntu:~$ aptitude show kde-runtime

ubuntu如何檢視軟體安裝目錄以及安裝版本

1.查詢版本 1)aptitude show 軟體名 例如:aptitude show kde-runtime  顯示如下: ****@ubuntu:~$ aptitude show kde-runtime 軟體包: kde-runtime 狀

ubuntu檢視arm開發板以及x86桌上型電腦上gpu使用情況的方法(MALI跟inter)

桌上型電腦 inter的gpu 先安裝 sudo apt-get install clinfo sudo apt-get install beignet sudo apt-get install intel-gpu-tools 輸入命令:clinfo 就能顯示出gpu資訊 輸入命令:inte

windows檢視軟體安裝目錄

      1、windows下預設安裝目錄,比如 C:\Program Files (x86)       2、通過開始選單,在開始選單中輸入程式名稱,右鍵單擊,選擇“開啟檔案位置”       3、通過工作管理員( 以 word 為例)        a. 開啟一個wo

ubuntu檢視opencv安裝路徑以及版本

檢視linux下的opencv安裝庫: pkg-config opencv --libs 檢視linux下的opencv安裝版本: pkg-config opencv --modversion 檢視linux下的opencv安裝路徑: sudo find /

UbuntuVCS軟體安裝結果的一個測試

一、修改GCC版本 gcc版本需要降到4.8。 apt-get install gcc-4.8 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 80 update-alternatives --confi

ubuntu檢視顯示卡驅動是否已經成功安裝

執行命令:glxinfo | grep rendering如果結果是“yes”,證明顯示卡驅動已經成功安裝。如果提示有問題,可能是系統裡面沒有安裝mesa-utils,安裝過程:在終端輸入命令:sudo apt-get install mesa-utils然後再執行命令:gl

Ubuntu尋找軟體安裝路徑指令

1、在PATH變數裡尋找:(以firefox為例) which firefox 輸出一個路徑:/usr/bin/firefox, 這個一般是軟體連結,通過執行。 ll /usr/bin/firefox 2、有些軟體不在PATH變數裡。 dpkg -L 軟體名

關於ubuntu服務器上部署postgresql 以及安裝pgadmin4管理工具(web版)

into alter 刪除記錄 creat password 改密 ack post 插入 進入目錄:cd pgadmin4 source bin/activate cd pgadmin4-1.6/ 啟動pgadmin4:python web/pgAdmin4.

檢視ubuntu程序所在的目錄

     在linux啟動一個程序時,會給程序分配一個ID,就是我們的PID,而與此同時了,系統會在/proc下建立一個資料夾,以PID命名,在該資料夾下會有我們的程序的資訊,其中包括一個名為exe的檔案,這就我們想要的,就像win下的exe檔案,它是原始程式的一個連結

Linux軟體Mysql完全解除安裝(包括其依賴和庫等殘留檔案)

原文:https://blog.csdn.net/zeng308041977/article/details/75245795 使用yum安裝的時候會自動把依賴包安裝上,但是我們一般解除安裝的時候以為只要刪除之前安裝的那個包就可以了,其實不然。因為你使用yum方式安裝,其依賴包也會被自動

Ubuntu新增應用快捷方式-以安裝Postman為例

本文章以通過 .gz.tar 的壓縮包安裝 Postman 為例 開發過程經常用到 Postman來發起網路請求,這個軟體可以帶來很大的便利。那麼該如何正確安裝這個軟體呢? 第1步:從官網下載你所需要的相應軟體包。 第2步: 我把下載的軟體包放置在桌面路徑,所以先進入桌面路徑,再解壓你下

Linux安裝mysql以及安裝時踩的坑

分享 libaio table 說明 查詢 更新 image 關閉防火墻 技術分享 安裝: 檢測是否已經安裝了mysql rpm -qa | grep mysql 如果已經安裝了,將其卸載,如: rpm -e --nodeps mysql-libs-5.1.71-1

Elasticsearch的完整安裝目錄以及java程式碼實現

啊ElasticSearch的安裝與使用 下載最新版本的ElasticSearch 下載外掛head 4:下載完成後在/elasticsearch-6.4.1/bin目錄下啟動elast

Linux如何安裝jdk,以及安裝中常見的問題的解決

0.下載jdk8 登入網址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 選擇對應jdk版本下載。(可在Windows下下載完成後,通過資料夾共享到Linux上)

Ubuntu Qt SDK的下載及安裝

Qt SDK 低版本很難找到啊, Ubuntu 下的軟體中心能裝Qt creator 裝不上Qt SDK ,怎麼回事。 我一般會選擇 軟體中心來 安裝Qt creator 但裝上Qt 後,在建工程的時候就會如下情況: 好吧,得安裝Qt SDK,其中Qt creator

Ubuntu無法手動啟動VMware Tools安裝

把redhat刪掉後,安裝Ubuntu後不能全屏,想著是因為沒有安裝VMware Tools的結果,但在安裝VMware tools的過程中,出現無法手動啟動VMware tools安裝問題,下面是解決步驟。 1、選取Vmware安裝包下的linux.iso檔

ubuntu使用Tesseract-ocr(編譯、安裝、使用、訓練新的語言庫)

這是關於如何使用Tesseract3訓練新的語言的文件,該文件是tesseract-ocr官方wiki上翻譯過來的。 1.介紹 Tesseract3.0x是支援訓練的。這篇文章描述如何訓練的過程,提供適用於各種語言的一些指導方針,以及訓練會得到的結果。對於Tesseract2.0x的訓練參考:Traini

Ubuntugcc 8.2.0原始碼安裝

gcc 8.2.0 原始碼安裝 下載原始碼並解壓: wget http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-8.2.0/gcc-8.2.0.tar.gz tar xzvf gcc-8.2.0.ta

UbuntuCMake(2.8.12.1)安裝方法教程

http://jingyan.baidu.com/article/2a1383284c3de3074a134fa3.html 1.解除安裝舊版CMake,下載解壓cmake-2.8.12.1.tar.gz apt-getautoremove cmake cd/us