Software download
Ubuntu download:http://www.ubuntu.com/download/
QT download:http://www.qt.io/download/
QT install code: chmod +x *.run
./*.run
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 MCCard.ko error:'-1 no such device or address'
无设备
problem:如何让安装程序直接在终端运行?
添加自己的路径到PATH即可。
修改/etc/profile文件。在/etc/profile文件的适当位置添加PATH=$PATH:/etc//bin (注意:=即等号两边不能有任何空格)。
如何让添加的路径一直有效?
在bash.bashrc 中加入路径PATH=$PATH:/etc//bin执行,每次打开终端时执行添加到当前路径.