您的位置:首页 > 运维架构 > Linux

在Ubuntu中安装软件遇到的问题

2015-11-13 16:07 681 查看
Software download

Ubuntu download:http://www.ubuntu.com/download/

QT download:http://www.qt.io/download/

QT install code:

chmod +x *.run

./*.run


problem:no pdflatex found

安装texlive

sudo apt-get install texlive

sudo apt-get install texlive-full


problem:

程序 ‘qmake’ 已包含在以下软件包中:

qt3-dev-tools

qt4-qmake

试试:sudo apt-get install <选定的软件包>

bash: qmake:找不到命令 **

apt-get install qt4-qmake


problem :”Qt includes not found. Please set QTDIR before running configure again.”

Code:

sudo aptitude install build-essential libqt3-mt-dev


problem :Latex packages on Ubuntu

! LaTeX Error: File `setspace.sty’ not found.

The Ubuntu package I needed was texlive-latex-recommended which I installed using

sudo apt-get install texlive-latex-recommended


LaTeX Error: File footmisc.sty not found. which was fixed by

sudo apt-get install texlive-latex-extra


problem:insmod *.ko error:’-1 no such device or address’

无设备

problem:如何让安装程序直接在终端运行?

添加自己的路径到PATH即可。

修改/etc/profile文件。在/etc/profile文件的适当位置添加
PATH=$PATH:/etc//bin
(注意:=即等号两边不能有任何空格)。

如何让添加的路径一直有效?

在bash.bashrc 中加入路径
PATH=$PATH:/etc//bin
执行,每次打开终端时执行添加到当前路径.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Linux ubuntu qt