未找到 kde4-config?

未找到 kde4-config?

这是我的/etc/apt/sources.list

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### To use a mirror close to You (I use the fastet ping configured with muon):
# deb http://mirror2.corbina.ru/ubuntu/ precise main restricted universe multiverse
# deb http://mirror2.corbina.ru/ubuntu/ precise-updates main restricted universe multiverse

###### Ubuntu Main Repos
deb http://mirror2.corbina.ru/ubuntu/ precise restricted multiverse
deb-src http://mirror2.corbina.ru/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://mirror2.corbina.ru/ubuntu/ precise-security main restricted universe multiverse
deb http://mirror2.corbina.ru/ubuntu/ precise-updates restricted multiverse
deb http://mirror2.corbina.ru/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirror2.corbina.ru/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirror2.corbina.ru/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirror2.corbina.ru/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirror2.corbina.ru/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirror2.corbina.ru/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

##############################################################
##################### UNOFFICIAL  REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free

#### Kubuntu Updates - https://edge.launchpad.net/~kubuntu-ppa/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu precise main

#### LibreOffice - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Medibuntu - http://www.medibuntu.org/ 
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update 
deb http://packages.medibuntu.org/ precise free non-free

#### qBittorrent - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
# deb http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu precise main


####### 3rd Party Source Repos

#### Kubuntu Updates (Source) - https://edge.launchpad.net/~kubuntu-ppa/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
deb-src http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu precise main

#### LibreOffice (Source) - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Medibuntu (Source) - http://www.medibuntu.org/ 
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update 
deb-src http://packages.medibuntu.org/ precise free non-free

我已经完成了sudo apt-get update,为什么kde4-config找不到包?

答案1

为什么找不到 kde4-config 包?

是否应该有一个 kde4-config 包?

Ubuntu 软件包搜索:http://packages.ubuntu.com/

http://packages.ubuntu.com/search?keywords=kde4-config&searchon=names&suite=all§ion=all

您已在所有套件、所有部分和所有架构中搜索名称包含 kde4-config 的软件包。

抱歉,您的搜索未找到任何结果

有软件包:kde-config-*

http://packages.ubuntu.com/search?keywords=kde-config&searchon=names&suite=all§ion=all

kde4-config 命令是:

NAME
       kde4-config - Prints KDE installation paths

SYNOPSIS
       kde4-config [--expandvars] [--prefix] [--exec-prefix] [--libsuffix] [--localprefix] [--version]
                   [--types] [--path type] [--userpath type] [--install type]

DESCRIPTION
       kde4-config is a command line program used to retrieve information about KDE installation or user
       paths.

       Use this program to determine where the various aspects of the KDE installation reside on your
       system.

它是 kdelibs-bin 和 kdelibs5-dbg 的一部分:

http://packages.ubuntu.com/search?searchon=contents&keywords=kde4-config&mode=exactfilename&suite=precise&arch=any

答案2

我喜欢接受的答案https://askubuntu.com/a/140214/168991。我提供了帮助,但并没有完全解决我的问题:sh: 1: kde4-config: not found自从我安装了 ubuntu 14 和 Trinity 桌面环境以来,我看到错误消息打印了我的许多 x 程序。我通过在我的路径中创建一个虚拟程序来摆脱它, /usr/local/bin/kde4-config这个程序除了退出 1 之外什么都不做:

#!/bin/sh
exit 1

相关内容