以前使用的方法
sudo add-apt-repository ppa:irie/blender
sudo apt-get update
sudo apt-get install blender因为包含2.66的内容,它不再起作用。可能是因为2.69已经正式发布了。无论如何,我从官方网站下载了tar.bz2并提取了它,现在我想知道如何安装它。
我可以称之为打字
./blender arg1 arg2 ... ,但我希望能够像以前一样使用它,只需键入
blender arg1 arg2 ...从任何地方到命令行运行它。有人知道怎么做吗?
发布于 2014-02-13 04:07:26
必须将下载搅拌器的路径添加到path环境变量中。
echo 'export PATH=$PATH:/home/joke/3D/blender/blender-2.69-linux-glibc211-x86_64/' >>~/.profile && . ~/.profile或者创建一个.desktop文件,例如,使用以下方法创建一个文件blender_2.69.desktop:
[Desktop Entry]
Categories=Graphics;3DGraphics;
Comment=3D modeling, animation, rendering and post-production
Exec=/home/joke/3D/blender/blender-2.69-linux-glibc211-x86_64/blender
#--debug
GenericName=3D modeller
Icon=/home/joke/3D/blender/blender-2.69-linux-glibc211-x86_64/icons/256x256/apps/blender.png
MimeType=application/x-blender;
Name=blender 269\s
Path=
StartupNotify=true
Terminal=true
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Name[it_IT]=blender 269显然,用实际路径替换/home/joke/3D/blender/blender-2.69-linux-glibc211-x86_64/
https://stackoverflow.com/questions/21741363
复制相似问题