Ubuntu&Fedora装机&Mac装机(UOS装机将会持续更新)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#211

帖子 243750496 » 2016-08-06 17:18

小米插排:https://detail.tmall.com/item.htm?id=44 ... d0ltsk711d
小米wifi放大器:https://detail.tmall.com/item.htm?id=52 ... d0ltsk259e
小熊酵素机:https://item.taobao.com/item.htm?spm=a1 ... d0ltsk5d5e
备用气弹:https://detail.tmall.com/item.htm?id=21 ... d0ltsk4cb6
(如需换气请将原件寄回并附98块钱换气费不用购买新气弹,链接在店铺内搜索“气”即可)
酸梅膏:https://detail.tmall.com/item.htm?id=53 ... d0ltskd521
芒果果酱:https://detail.tmall.com/item.htm?id=52 ... d0ltsk376a
草莓果酱:https://detail.tmall.com/item.htm?id=52 ... d0ltsk4a36
奇异果果酱:https://detail.tmall.com/item.htm?id=53 ... d0ltsk640d
菠萝果酱:https://detail.tmall.com/item.htm?id=53 ... d0ltsk1e19
百香果果酱:https://detail.tmall.com/item.htm?id=53 ... d0ltsk0c08
甜筒机(冷冻液版,使用前需将制冷桶冷冻8h):https://detail.tmall.com/item.htm?id=44 ... d0ltsk8549
苏打水机:https://detail.tmall.com/item.htm?id=19 ... d0ltskc91a
(冰激凌粉自行解决:硬冰激凌粉适合挖球,软的时候做圣代)
小熊全自动冰激凌机(带制冷非冷冻液版本)https://detail.tmall.com/item.htm?id=53 ... d0ltsk17f6
小熊原汁机:https://detail.tmall.com/item.htm?id=52 ... 1904557839
(除了果汁外还可以灌肠,切片/丝,挤面条)
奶酪:https://detail.tmall.com/item.htm?id=22 ... d0ltsk7784
红茶菌:https://item.taobao.com/item.htm?spm=a1 ... d0ltsk471f
(非常好养)
封口纱布:https://item.taobao.com/item.htm?spm=a1 ... d0ltsk37ad
枫树糖浆B:https://item.taobao.com/item.htm?spm=a1 ... d0ltsk2cbc
茶杯:https://detail.tmall.com/item.htm?id=52 ... d0ltsk472e
酸黄瓜:https://item.taobao.com/item.htm?spm=a1 ... d0ltskdf8b
小草人:https://detail.tmall.com/item.htm?id=19 ... d0ltsk8e15
品胜尼龙数据线(比瑜伽线更耐用)
手机-》话筒转换器(卡拉ok曲子就可用手机放了)https://item.taobao.com/item.htm?spm=a1 ... d0ltsk23d6
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#212

帖子 243750496 » 2016-08-27 4:29

adonit压感笔:https://item.taobao.com/item.htm?spm=a1 ... d0ltskc22d
罗技太阳能键盘:https://item.taobao.com/item.htm?spm=a1 ... d0ltsk920d
iOS应用:Sketchbook(画原画),concepts,My wonderful days(日记应用简约版有mac版),Day one(日记应用普通版有mac版)
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#213

帖子 243750496 » 2016-11-03 7:48

日志
返回日志列表
linux有用的命令 2016-10-9 22:36 阅读(5)
赞(1)评论(1)转载分享复制地址编辑
上一篇 | 下一篇:mac系统问号解决...
开通黄钻

linux有用的命令
wine 1.9.8
photoshop cc 2014 32bit 必须在linux下解压安装才不会出错

This applies to the *32-bit* version of Photoshop CC 14 ONLY.Wine was set to Windows 7 OS in this installation.Used these additional packages:
atmlib.dll corefonts FontsSmoothRGB gdiplus msxml3 msxml6 tahoma tahoma2 vcrun2010 vcrun2012 vcrun2013
If these steps fail for you, try doing them with PlayonLinux, the installer may still fail but PoL will finish the installer anyway, watch your disk activity light to know when to hit "Close".


sudo adb kill-server
sudo adb start-server
sudo adb devices
adb shell
(sudo ap-get install phablet-tools
phablet-config writable-image )
(OR sudo mount -o remount,rw / )
cd ~/.local/share/libertine
rm ContainersConfig.json
cp /custom/click/.click/users/@all/com.ubuntu.puritine/libertine-config/libertine/ContainersConfig.json ~/.local/share/libertine
ls
libertine-container-manager create -i myapps -n "My Applications" -t chroot -d vivid --force
libertine-container-manager install-package -i myapps -p scribus
libertine-container-manager exec --command "apt-get install krita" --id myapps
libertine-container-manager exec --command "mv /var/lib/dpkg/info /var/lib/dpkg/info.bak" --id myapps
libertine-container-manager exec --command "mkdir /var/lib/dpkg/info" --id myapps
libertine-container-manager exec --command "apt-get update" --id myapps


sudo apt-get install python-pip python-dev build-essential exfat-utils gir1.2-webkit-3.0 checkinstall auto-apt libglu1-mesa:i386 network-manager-openvpn-gnome network-manager-openvpn phablet-tools adb
sudo restart network-manager
sudo rm -rf /usr/lib/python2.7/dist-packages/pip
sudo rm -rf /usr/local/lib/python2.7/dist-packages/pip
sudo pip install --upgrade pip
sudo pip install --upgrade virtualenv (一般先安装pip,安装好后,pip install virtualenv就可以自动从网上下载并安装virtualenv了。然后virtualenv env1就可以创建一个名为env1的虚拟环境了,进入这个虚拟环境后,再使用pip install安装其它的package就只会安装到这个虚拟环境里,不会影响其它虚拟环境或系统环境。)
auto-apt run ./configure
make
sudo checkinstall
sudo apt-get install gir1.2-webkit-3.0 for Anoise bug
sudo add-apt-repository ppa:costales/anoise
sudo add-apt-repository ppa:wiznote-team
sudo add-apt-repository ppa:deluge-team
sudo add-apt-repository ppa:dhor/myway (rawtherapee)
sudo add-apt-repository ppa:otto-kesselgulasch/gimp-edge
sudo add-apt-repository ppa:freecad-maintainers/freecad-daily,(sudo add-apt-repository -y ppa:freecad-maintainers/freecad-stable)
sudo add-apt-repository ppa:librecad-dev/librecad-daily,(sudo add-apt-repository ppa:librecad-dev/librecad-stable)
sudo add-apt-repository ppa:thomas-schiex/blender
sudo add-apt-repository ppa:dimula73/krita
sudo add-apt-repository ppa:scribus/ppa
sudo add-apt-repository ppa:libreoffice/ppa
sudo add-apt-repository ppa:noobslab/apps,(curlew)
sudo add-apt-repository ppa:ubuntuhandbook1/apps,(converseen)
sudo add-apt-repository ppa:plushuang-tw/uget-devel,(uget)
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa,(firefox)

python setup.py install --record log
cat log | xargs rm -rf
python ./setup.py install --record install.txt
cat install.txt | xargs rm -rf
sudo pip install *.tar.gz
pip search *
sudo apt-get install unity-tweak-tool vlc wiznote smplayer anoise* soundconverter deluge indicator-china-weather synaptic gnome-color-manager kazam lives scribus-trunk rar unrar ark playonlinux brasero blender krita3-testing gimp gimp-gmic rawtherapee-unstable freecad-daily librecad libreoffice curlew bleachbit gimp-ufraw ufraw-batch converseen goldendict uget firefox gnome-raw-thumbnailer(在文件浏览器内预览raw格式照片)
sudo apt-get install -f
Deb:AfterShotPro flareget crossover nutstore LoveWallpaper xmind nod32 tickeys flash adblock Plus photoshop xnconvert displaycal
然后用新立得安装所有与gimp相关或开头的插件 icc(非free版本)
//////////////////////////////////////////////////////////////////////////////////////////////////////
sudo add-apt-repository ppa:webupd8team/java,(java)
sudo apt-get install oracle-java9-installer
///////////////////////////////////////////////////////////////////////////////////////////////////////
software center Bug 点击install后闪烁一下又回来了并没有安装成功 原来是这个东西没安装而且他的依赖也没有安装
Pacage address:
http://packages.ubuntu.com/trusty-updat ... 2/download




























sudo add-apt-repository ppa:achadwick/mypaint-testing
XCF
(eXperimental Computing Facility) is the native image format used by GIMP image editor.



To get XCF thumbnails in Nautilus, firstly install gnome-xcf-thumbnailer. In Ubuntu, use the following command:
sudo apt-get install gnome-xcf-thumbnailer

At this point the the thumbnails don't work yet because GNOME XCF Thumbnailer doesn't install a .thumbnailer file, required by Nautilus 3.x. To fix this, use the following commands:
sudo mkdir -p /usr/share/thumbnailers/
echo -e "[Thumbnailer Entry]\nTryExec=gnome-xcf-thumbnailer\nExec=gnome-xcf-thumbnailer %i %o\nMimeType=image/x-xcf;image/x-compressed-xcf;" | sudo tee /usr/share/thumbnailers/gnome-xcf.thumbnailer
New XCF files (or if you move some already existing XCF files) should have thumbnails now but existing ones may not get thumbnails yet. Let's fix this too by removing the failed thumbnails from cache:
rm -r ~/.thumbnails/fail
rm -r ~/.cache/thumbnails/fail

That's it. Nautilus should now display XCF file thumbnails, as you can see in my screenshot above. I've tested this with Nautilus
3.4
, 3.6 and 3.8.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#!/bin/bash

# -----------------------------------------------------------
# -- Write psdthumbnailer
# -----------------------------------------------------------
OUTFILE=/usr/lib/psdthumbnailer
(
sudo cat <<'EOF'
# bin/bash
# Arguments / Parameters %i %o %s
f_in=$1
f_out=$2
f_size=$3
# Execute Convert PSD to PNG through ImageMagick
exec convert "psd:$f_in[0]" -scale "$f_sizex$f_size" "png:$f_out"
EOF
) > $OUTFILE
# -----------------------------------------------------------
# -- Write photoshop.thumbnailer
# -----------------------------------------------------------
OUTFILE=/usr/share/thumbnailers/photoshop.thumbnailer
(
sudo cat <<'EOF'
# bin/bash
[Thumbnailer Entry]
TryExec=/usr/lib/psdthumbnailer
Exec=/usr/lib/psdthumbnailer %i %o %s
MimeType=image/vnd.adobe.photoshop; image/x-photoshop; image/x-psd;
EOF
) > $OUTFILE
# -----------------------------------------------------------
# -- Set File Permissions
# -----------------------------------------------------------
sudo chmod 0755 /usr/lib/psdthumbnailer
sudo chmod 0644 /usr/share/thumbnailers/photoshop.thumbnailer

# -----------------------------------------------------------
# -- Add GConf Hooks to parse thumbnails
# -----------------------------------------------------------
sudo gconftool-2 --set /desktop/gnome/thumbnailers/image@vnd.adobe.photoshop/enable --type bool true

sudo gconftool-2 --set /desktop/gnome/thumbnailers/image@vnd.adobe.photoshop/command --type string "/usr/lib/psdthumbnailer %i %o %s %i %o %s"

# -----------------------------------------------------------
# -- Install Dependencies
# -----------------------------------------------------------

sudo apt-get install imagemagick

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chmod +x 1.sh
sudo ./1.sh
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
cc@CC:~$ sudo apt-get install xnconvert
[sudo] password for cc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xnconvert : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
cc@CC:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cc@CC:~$ sudo apt-get install libicu52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu52 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu52' has no installation candidate
cc@CC:~$ sudo apt-get remove libicu52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libicu52' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cc@CC:~$ cd Downloads
cc@CC:~/Downloads$ cd '/home/cc/Downloads/FlareGet/Applications'
cc@CC:~/Downloads/FlareGet/Applications$ sudo dpkg -i *.deb
Selecting previously unselected package libicu52:amd64.
(Reading database ... 330819 files and directories currently installed.)
Preparing to unpack libicu52_52.1-3ubuntu0.4_amd64.deb ...
Unpacking libicu52:amd64 (52.1-3ubuntu0.4) ...
Setting up libicu52:amd64 (52.1-3ubuntu0.4) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
cc@CC:~/Downloads/FlareGet/Applications$ sudo apt-get install xnconvert
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
xnconvert
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.0 MB of archives.
After this operation, 71.0 MB of additional disk space will be used.
Get:1
http://ppa.launchpad.net/dhor/myway/ubuntu




xenial/main amd64 xnconvert amd64 1.73-dhor1~xenial [19.0 MB]
Fetched 19.0 MB in 3min 39s (86.9 kB/s)
(Reading database ... 330840 files and directories currently installed.)
Preparing to unpack .../xnconvert_1.73-dhor1~xenial_amd64.deb ...
Unpacking xnconvert (1.73-dhor1~xenial) over (1.73) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up xnconvert (1.73-dhor1~xenial) ...
cc@CC:~/Downloads/FlareGet/Applications$

安完了这里也消失了显示up to date!yeah!

虚幻4编辑器官方说已经原生支持linux,但好像国内完全没有人尝试linux安装虚幻4的教程。
我用ubuntu14.04成功编译虚幻4了,挺简单的。所以来发一下教程。



官网是没有linux的已编译包下载的,需要下载源代码自己编译。

源代码下载,(这个复制本吧的,看过如何注册可以无视)
一、当然是Epic和github注册了

二、注册好Epic后登录,然后在
https://www.unrealengine.com/settings






中填写东西,要填上你的GitHub的名字,这样随后Epic就可以发对你的Github邀请。





































三、去Github上,
https://github.com/EpicGames





看到加入的按钮。




































然后会弹出就可以看到EpicGame对你的邀请,很明显接受邀请啊
那是网站会自动发送一个邀请,去你的注册邮箱里面看看有邀请链接,点它。


四、如果你在网页
https://github.com/EpicGames





看到如下东西,恭喜你了。





































五、你现在可以用git下载源代码
git clone
https://github.com/EpicGames/UnrealEngine.git







点击图中 download zip 下载




































当然下载慢也可以下载我这个
http://pan.baidu.com/s/1sj1bnkh









下面正式linux下编译过程
安装编译需要的运行依赖库

我以ubuntu为例,其他发行版自行看官方指南。
https://wiki.unrealengine.com/Building_On_Linux






ubuntu安装命令

sudo apt-get install build-essential mono-mcs mono-devel mono-xbuild mono-dmcs mono-reference-assemblies-4.0 libmono-system-data-datasetextensions4.0-cil libmono-system-web-extensions4.0-cil libmono-system-management4.0-cil libmono-system-xml-linq4.0-cil cmake dos2unix clang-3.5 libfreetype6-dev libgtk-3-dev libmono-microsoft-build-tasks-v4.0-4.0-cil xdg-user-dirs



































以上都准备好后,
cd UnrealEngine (如果是下载我的网盘包和下载download zip的名字与这个不一致的)
./Setup.sh (源代码校证)




































当出现SUCCESS说明完成了。(有点费时间)



































接着

./GenerateProjectFiles.sh(这个是正式编译了)

make


































经过一段时间(这个要看机的性能)编译完成了。(我的ubuntu是64位的,所以这个虚幻4也是64位的,如果不想自己编译的64位系统的,可以问我。)


































编译完成还不要兴奋,还有的。
./Engine/Binaries/Linux/UE4Editor
这时就会出现加载的窗口。



































加载完成就到了下面的
注意这时,要求你创建项目名字等,但右下角还在编译着色器,所以不要做任何操作,等编译完成才可操作。否则程序会卡死或奔溃。






































































一切都完成了。









































































































免费建模工具blender再加上这个编译器,在linux下制作游戏变得相当简单。





We recommend using a development version so that you enjoy the latest features, bug fixes and improvements.
To install RawTherapee follow these simple steps:
Open the terminalPaste this code into it:
sudo add-apt-repository ppa:dhor/myway
sudo apt-get update
sudo apt-get install rawtherapee
If you want a development version:
sudo apt-get install rawtherapee-unstable
RawTherapee should now be installed and ready for use.


How to Install The Latest GIMP 2.9.5 in Ubuntu 16.04








































GIMP, one of the most popular Linux image editor, has reached the 2.9.5 development release, which will finally lead to the next stable GIMP release 2.10.
While Ubuntu 16.04 offers GIMP 2.8.16 in its main archive, you may either
upgrade to the latest stable release
, or try the 2.9 development release by following this simple tutorial.
GIMP 2.9/2.10 Features
preview:
16/32 bit per channel supportLossless color space conversionsNew tool: Unified transformationHeavily improved scaling quality: No- and LoHalo-SamplersSampling example 2 to see the high quality of the new samplers.More on-canvas previewsMulti-core CPU / GPU supportOpenCL-accelerated filtersGEGL based filters and pluginsICC v4 color profile conversion supportColor temperature correctionDrop the Lanczos 3 sampler and Maximum RGB filterHow to Install GIMP 2.9.5 via PPA:
1. Add the dev PPA:
Open terminal (Ctrl+Alt+T) and run command:
sudo add-apt-repository ppa:otto-kesselgulasch/gimp-edge
Type in password when it asks and hit Enter.








































2. Install or upgrade GIMP:
For those who have a previous release installed, you can now upgrade GIMP via Software Updater utility:








































Or just run the commands below on terminal to install GIMP 2.9.5:
sudo apt update && sudo apt install gimp gimp-gmic
3. Revert to GIMP stable release
Since GIMP 2.9 is unstable development release, there might be bugs and stability issues. You can easily revert to the stable GIMP 2.8.16, the stock version in Ubuntu 16.04 by running the commands below in terminal:
sudo apt install ppa-purge && sudo ppa-purge ppa:otto-kesselgulasch/gimp-edge
mac 烧录Clonezilla
# Convert the ISO to DMG
hdiutil convert -format UDRW -o image clonezilla-live-20151012-wily-amd64.iso
# Insert the USB Stick and identify its disk number, in my case 4
diskutil list
# Unmount it so it can be written to
diskutil unmountDisk /dev/disk4
#Write the image to disk4, rdisk4 speeds up immensely
sudo dd if=image.dmg of=/dev/rdisk4 bs=1m
diskutil unmountDisk /dev/disk4
xsetwacom --set "Wacom Intuos Pro M Finger touch" touch off
I set up my Pen & Touch over a year ago so I may be wrong here. What I usually do is run in a terminal:
xsetwacom --set "Wacom BambooPT 2FG 4x5 Finger touch" touch off
This won't work for you as you have another tablet so try first
xsetwacom
which should give you the parameters to use. First you need to get the name of your device (let's call it DEVICE_NAME), so try:
xsetwacom --list devices
This gives me for my Pen & Touch:
Wacom BambooPT 2FG 4x5 Pen eraser id: 11 type: ERASER
Wacom BambooPT 2FG 4x5 Pen stylus id: 12 type: STYLUS
Wacom BambooPT 2FG 4x5 Finger pad id: 13 type: PAD
Wacom BambooPT 2FG 4x5 Finger touch id: 14 type: TOUCH
Obviously the one which is of type TOUCH is the one to disable here. Here DEVICE_NAME would be Wacom BambooPT 2FG 4x5 Finger touch and DEVICE_ID would be 14.Then you need to know which parameter to disable, so try:
xsetwacom --list parameters
There's a plethora of parameters to enable/disable, and for each parameter name (let's call this PARAM_NAME) the type of value expected is explained. In this case we want to turn the Touch parameter Off, which you can do with the --set option. The syntax is:
xsetwacom --set "DEVICE_NAME" PARAM_NAME PARAM_VALUE
or
xsetwacom --set DEVICE_ID PARAM_NAME PARAM_VALUE
If you're not sure what to put in place of PARAM_VALUE, try the --get option to see the current value:
xsetwacom --get "DEVICE_NAME" PARAM_NAME
Hope this will help,
Max
xsetwacom --list | grep --line-buffered "TOUCH" | awk '{system("xsetwacom --set "$8" touch off")}'
Autodesk officially only supports Fedora/RedHat. This is probably due to legacy reasons, since larger Corporations were using RedHat. There is an official documentation how to install Maya on Fedora
link
However
Ubuntu
(based on Debian) has become very popular. (As Alternative you also could use
Elementary
, Mint etc.) We will take a look on how to install Maya 2017 (Student Version) on Ubuntu via the Command Line.
tl:dr: The final bash script can be found
here
Quick Install Script:
wget
https://gist.githubusercontent.com/borg ... all.shsudo






chmod +x maya2017install.shsudo ./maya2017install.sh
1
2
3
4
wget {url:http%3A//www.urlshare.cn/umirror_url_check,text: ... %253D%253D}
sudo chmod +x maya2017install.sh
sudo ./maya2017install.sh
You will manually have to remove the installation files.
Step 1: Download Maya
mkdir maya2017Installcd maya2017Installwget
http://edutrial.autodesk.com/NET17SWDLD ... bit.tgztar






xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
1
2
3
4
5
mkdir maya2017Install
cd maya2017Install
wget {url:http%3A//www.urlshare.cn/umirror_url_check,text: ... %253D%253D}
tar xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
If you download a Studentversion of Maya it will provide you with a download link. You can change this to whatever Version of Maya you would like to install.
Autodesk Students
Step 2: Install Dependencies
apt-get install -y gcc libssl1.0.0 libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libfam0 libfam-dev libgstreamer-plugins-base0.10-0wget
http://launchpadlibrarian.net/183708483 ... 64.debdpkg






-i libxp6_1.0.2-2_amd64.deb
1
2
3
4
apt-get install -y gcc libssl1.0.0 libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libfam0 libfam-dev libgstreamer-plugins-base0.10-0
wget {url:http%3A//www.urlshare.cn/umirror_url_check,text: ... %253D%253D}
dpkg -i libxp6_1.0.2-2_amd64.deb
The dependencies list is partly based on the
Additional Installation Notes for Linux
And my previous
Installation Script for Maya 2014
The package libxp6 was removed in Ubuntu 15. If you are running an older version of Ubuntu you could directly install it via apt.
Step 3: Convert .rpm files into .deb files
alien -cv *.rpm
1
2
alien -cv *.rpm
Step 4: Install Maya
dpkg -i *.debecho "int main (void) {return 0;}" > mayainstall.cgcc mayainstall.cmv /usr/bin/rpm /usr/bin/rpm_backupcp a.out /usr/bin/rpmchmod +x ./setup./setuprm /usr/bin/rpmmv /usr/bin/rpm_backup /usr/bin/rpm
1
2
3
4
5
6
7
8
9
10
dpkg -i *.deb
echo "int main (void) {return 0;}" > mayainstall.c
gcc mayainstall.c
mv /usr/bin/rpm /usr/bin/rpm_backup
cp a.out /usr/bin/rpm
chmod +x ./setup
./setup
rm /usr/bin/rpm
mv /usr/bin/rpm_backup /usr/bin/rpm
The whole mucking about replacing the /usr/bin/rpm is that the fedora installer can finish installing without errors.
In the Fedora Installer you will need to enter your licence details.
Step 4: Fix Startup Problems
ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10chmod 777 /usr/tmp
1
2
3
4
5
6
ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
chmod 777 /usr/tmp
Initially Maya will not start because it cannot find various libraries. Depending on which version is installed on your system you need to adjust these lines to reflect your version.
Step 5: Fix Segmentation Error
You will run into following Error:
terminate called after throwing an instance of 'std::logic_error'what(): basic_string::_S_construct null not validStack trace:gsignalabort__gnu_cxx::__verbose_terminate_handler()/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f6f62d536b6]/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f6f62d53701]/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f6f62d53919]std::__throw_logic_error(char const*)char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag)std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const*, std::allocator const&)/usr/autodesk/maya2017/lib/libMC3.so.9(+0x25d9f) [0x7f6f5de25d9f]/usr/autodesk/maya2017/lib/libMC3.so.9(+0x83b10) [0x7f6f5de83b10]CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*, bool)CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*)TCIPClient::initialize()TCIPClient::TCIPClient()TCIPClient::theOne()TbaseApp::cipReportStartup()TbaseApp::initGeneral()/usr/autodesk/maya2017/bin/maya.bin() [0x416232]Tapplication::start()/usr/autodesk/maya2017/bin/maya.bin() [0x40ee50]main__libc_start_main/usr/autodesk/maya2017/bin/maya.bin() [0x40e6ed]Segmentation fault (core dumped)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Stack trace:
gsignal
abort
__gnu_cxx::__verbose_terminate_handler()
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f6f62d536b6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f6f62d53701]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f6f62d53919]
std::__throw_logic_error(char const*)
char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag)
std::basic_string<char, std::char_traits,std::allocator >::basic_string(char const*, std::allocator const&)
/usr/autodesk/maya2017/lib/libMC3.so.9(+0x25d9f) [0x7f6f5de25d9f]
/usr/autodesk/maya2017/lib/libMC3.so.9(+0x83b10) [0x7f6f5de83b10]
CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*, bool)
CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*)
TCIPClient::initialize()
TCIPClient::TCIPClient()
TCIPClient::theOne()
TbaseApp::cipReportStartup()
TbaseApp::initGeneral()
/usr/autodesk/maya2017/bin/maya.bin() [0x416232]
Tapplication::start()
/usr/autodesk/maya2017/bin/maya.bin() [0x40ee50]
main
__libc_start_main
/usr/autodesk/maya2017/bin/maya.bin() [0x40e6ed]
Segmentation fault (core dumped)
This can be fixed by Disabling the Customer Improvement Program.
To disable it add MAYA_DISABLE_CIP=1 line to your Maya.env file. Bash:
echo "MAYA_DISABLE_CIP=1" >> ~/maya/2017/Maya.env
1
2
echo "MAYA_DISABLE_CIP=1" >> ~/maya/2017/Maya.env
Step 6: Color Management Errors / Single Matrix no inverse exists
Maya will start, and may or may not show the render view. You will also run into 6-7 Errors “Single Matrix no inverse Exists”








































To fix this, add “LC_ALL=C” to your Maya.env.
Bash:
echo "LC_ALL=C" >> ~/maya/2017/Maya.env
1
2
echo "LC_ALL=C" >> ~/maya/2017/Maya.env
Step 7: Alt Key for Camera Movement
Use this line to use the ALT-Key instead of the “Windows”-Key for modifying the Camera:
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier ""
1
2
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier ""
Final Script:
#!/bin/bash #Make sure we’re running with root permissions. if [ `whoami` != root ]; then echo Please run this script using sudo echo Just type “sudo !!” exit fi
#Check for 64-bit arch if [uname -m != x86_64]; then echo Maya will only run on 64-bit linux. echo Please install the 64-bit ubuntu and try again. exit fi
## Create Download Directory mkdir maya2017Install cd maya2017Install
## Download Maya Install Files wget
http://edutrial.autodesk.com/NET17SWDLD ... _64bit.tgz






tar xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
## Install Dependencies apt-get install -y gcc libssl1.0.0 libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libfam0 libfam-dev libgstreamer-plugins-base0.10-0 wget
http://launchpadlibrarian.net/183708483 ... _amd64.deb






## Install Maya alien -cv *.rpm dpkg -i *.deb echo "int main (void) {return 0;}" > mayainstall.c gcc mayainstall.c mv /usr/bin/rpm /usr/bin/rpm_backup cp a.out /usr/bin/rpm chmod +x ./setup ./setup rm /usr/bin/rpm mv /usr/bin/rpm_backup /usr/bin/rpm
## Fix Startup Errors ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3 ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10 ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
chmod 777 /usr/tmp
## Fix Segmentation Fault Error echo "MAYA_DISABLE_CIP=1" >> ~/maya/2017/Maya.env
## Fix Color Managment Errors echo "LC_ALL=C" >> ~/maya/2017/Maya.env
## Maya Camera Modifier Key gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
chmod 777 /usr/tmp
PATH="$PATH:/bin"
sudo apt-get install xfonts*











VyprVPN is the world's fastest VPN.
Features

VPN Apps

Why Use a VPN?

VyprVPN Server

Business

Support
Try It Free
English (US)
Golden Frog Support VyprVPN Manual Setup Linux (Ubuntu)
VyprVPN OpenVPN Setup for Linux (Ubuntu)

VyprVPN Free accounts are limited to using our Desktop and Mobile applications to connect to our VPN service. Please see "What is VyprVPN Free?" for more information.

Follow the steps below to configure OpenVPN on your Ubuntu machine. This tutorial was created using Ubuntu 16.04.1.

1. Open Terminal, which you can find by using the Ubuntu search feature.

2. Type the following command string and press Enter:

sudo apt-get install -y network-manager-openvpn network-manager-openvpn-gnome

This will install the necessary OpenVPN packages on the machine and add OpenVPN as an option in the desktop VPN configuration menu.



3. Restart network-manager by typing the following command and pressing Enter:

sudo service network-manager restart



4. Download the Golden Frog CA certificate and place it in the OpenVPN folder on your machine by typing the following command and pressing Enter. Ignore line breaks. This is one single command.

sudo wget https://support.goldenfrog.com/hc/artic ... pn.com.crt /etc/openvpn



5. Configure the OpenVPN connection by opening Network Connections. You can locate this by using the Ubuntu search feature.

6. Click Add.

7. Under VPN in the drop-down, choose OpenVPN and click Create.



8. Edit the information in the configuration screen as follows:

Connection name: VyprVPN
Gateway: Enter a server address. View a list of server addresses here.
Type: Select Password
Username: Your Golden Frog account email address
Password: Your Golden Frog account password
CA Certificate: Browse to /etc/openvpn and select ca.vyprvpn.com.crt


9. Click Advanced.

10. Check the option for Use LZO data compression and click OK.



11. Click Save.

How to Connect and Disconnect:

1. Click the Network Connections icon at the top of your desktop in right area of the menu bar. It will generally look like two arrows opposite each other or a WiFi signal.

2. Scroll down to VPN Connections.

3. Click VyprVPN and wait for the connection to establish.



4. You will see a pop-up once connected. Additionally, a lock icon will appear by your network icon in the top menu bar.



5. To disconnect any any time, navigate back to the Network Connections drop-down in the top menu bar, click VPN Connections, and then click Disconnect VPN.

6. Enjoy VyprVPN on your Ubuntu machine!



Don’t have a VyprVPN account?



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Recently viewed articles

VyprVPN CLI for Linux
Related articles

What are the VyprVPN server addresses?
VyprVPN CLI for Linux
VyprVPN PPTP VPN Setup for Linux (Ubuntu)
Where can I find the OpenVPN files?
VyprVPN Desktop and Mobile Apps
Powered by Zendesk
Help


This question already has an answer here:
Ubuntu gets stuck in a login loop 34 answers
I have a small issue with my Ubuntu (I think After an upgarde). When I try to login (Login Screen), I get disconnected and get back to the screen (again & again).

The solutions I tried (and not working are) :

Trying to login with others Desktop environements.
Booting from old kernel.
log in via command line [apt-get update && apt-get upgrade].
removing ** ~/.gconf** directory.
sudo apt-get install --reinstall ubuntu-desktop and sudo apt-get install unity
none of theses solutions worked, and I check all threads on this forum before Asking.

Press Ctrl+Alt+F3 and login into the shell using your username and your password. In this case username will be your username you set when you installed Ubuntu.

Now run ls -lah. If in the output the line(and look for the line that ends with .Xauthority)

-rw------- 1 root root 53 Nov 29 10:19 .Xauthority

then you need to do chown username:username .Xauthority and try logging in.

Else, do ls -ld /tmp. Check for the first 10 letters in the left: they should read exactly so: drwxrwxrwt.

drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp

Else, you need to do sudo chmod a+wt /tmp and check again.

If not both, I'd recommend you either
Make sure you are connected to internet with DHCP on.

sudo apt-get purge lightdm
sudo apt-get update
sudo apt-get install lightdm
dpkg-reconfigure lightdm
Now type sudo shutdown -r now to restart.
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#214

帖子 243750496 » 2016-11-03 7:57

Partners Suppo
sudo adb kill-server
sudo adb start-server
sudo adb devices
adb shell
(sudo ap-get install phablet-tools
phablet-config writable-image )
(OR sudo mount -o remount,rw / )
cd ~/.local/share/libertine
rm ContainersConfig.json
cp /custom/click/.click/users/@all/com.ubuntu.puritine/libertine-config/libertine/ContainersConfig.json ~/.local/share/libertine
ls
libertine-container-manager create -i myapps -n "My Applications" -t chroot -d vivid --force
libertine-container-manager install-package -i myapps -p scribus
libertine-container-manager exec --command "apt-get install krita" --id myapps
libertine-container-manager exec --command "mv /var/lib/dpkg/info /var/lib/dpkg/info.bak" --id myapps
libertine-container-manager exec --command "mkdir /var/lib/dpkg/info" --id myapps
libertine-container-manager exec --command "apt-get update" --id myapps




libertine-container-manager destroy --id puritine2
libertine-container-manager configure -a "ppa:seafile/seafile-client" -i myContainerID
sudo add-apt-repository ppa:ondrej/seafile

Getting Libertine
Libertine is available in the Ubuntu archives from Xenial Xerus (Ubuntu 16.04 LTS) onwards, and has been backported to the derived version of Vivid Vervet (Ubuntu 15.04) used as a base for the Ubuntu Touch OS.

Libertine is not currently available as a click package because it's a developer preview and not yet ready for general consumption. If you've got the chops to install something on your phone in developer mode, you should be able to handle the instability of a developer-ready Libertine.

The Libertine tools are already installed on convergent devices running Ubuntu Touch, such as Bq's M10 tablet.

Minimal System requirements for Libertine
Libertine itself runs on any supported device, but most X11 applications work best on a system that supports external keyboards, mice, and displays. Development testing has been done on a Nexus N4 and other devices.
Running an image from rc-proposed for your particular device.

At least 500 MiB storage space for a container.
Libertine on your Unity 8 device
Installation
On a Ubuntu Touch device (phone, tablet)
Connect your device to a desktop host using a USB cable, and unlock it (you should already have developer mode enabled).
Connect to the device.

host: adb shell
If you haven't done this in some other way, make sure your system partition is in read/write mode.

$ sudo mount -o remount,rw /
Putting your device into read/write mode and updating packages may render your system unusable or un-upgradable. Be prepared to reflash your device.

You can now skip to the Next Steps section.

On a Ubuntu Classic device (desktop, laptop)
If you are running the Unity8Desktop tech preview, you can also install Libertine. Just make sure your Unity 8 session is working, and follow the Next Steps section.


Next steps
Update, upgrade, and install required packages.

$ sudo apt-get update$ sudo apt-get install libertine libertine-scope xmir
On a Ubuntu Touch device, you will also need the following package installed.

$ sudo apt-get install python3-libertine-chroot

Ubuntu Touch images with the Puritine click installed need some extra work to get Libertine working. If you want to experiment with that, contact a Libertine developer on the #ubuntu-libertine IRC channel on Freenode.

Usage
Creating a container

You cannot use the Terminal App for creating containers due to its confinement. Please either ssh or adb into the device to create containers.

You can use the Libertine app to create a container, but unfortunately it only supported the creation of LXC-based containers, which are not supported by the version of the kernel on most Ubuntu Touch devices.

You can create chroot-based container using the command line.

$ libertine-container-manager create --id vivid --type chroot --name 'Libertine Demo'
Installing Applications
You can use the Libertine App to install and remove applications. Alternatively, you can use the command-line tools (libertine-container-manager --help is nice).

Surfacing and Launching Container Applications
The Libertine Scope should be available from the Scopes scope, entitiled Legacy Apps. You should be able to select an application icon and click the Launch button to launch it.

Getting Help
The best way to get help is to contact one of the developer in the #ubuntu-libertine channel on Freenode.

Touch/Libertine (last edited 2016-07-28 14:15:21 by bregma)

The material on this wiki is available under a free license, see Copyright / License for details.




















ritine apps on the BQ Aquaris M10 Ubuntu Edition

Posted on June 2, 2016 by Michael
I’ve published this earlier as google doc, but it seems that was a bad idea and many people are still asking the same question. So here’s the same howto, targetting a somewhat broader audience:

Please note: This is not officially supported yet but has been tested by a fair amount of people by now. All steps are taken at your own risk. Be prepared to reflash the tablet if you mess up. Also note that none except the preinstalled applications have been tested by Canonical. Your favorite application might just not work yet.

Update: As people pointed out in the comments (thanks for that!), this will fail if ran from the Terminal app on the device. Instead, use a USB cable and log in to the tablet using phablet-shell from the package phablet-tools and run the following commands from there.

Initial setup
First we need to replace the link to the container config with the actual container config so it can be edited.
# cd ~/.local/share/libertine
# rm ContainersConfig.json
# cp /custom/click/.click/users/@all/com.ubuntu.puritine/libertine-config/libertine/ContainersConfig.json .

Create a new container
# libertine-container-manager create -i puritine2 -n "Puritine 2" -t chroot -d vivid --force

Now we have a second container in the writable part of the image named puritine2. The original that comes preinstalled (named puritine) is still there, but in the read-only part of the image.

Installing applications in the new container
First we fire apt-get inside the container to install inkscape. The libertine-container-manager can do that all for us. In this example, we’re installing inkscape.
# libertine-container-manager install-package -i puritine2 -p inkscape

Nearly done. All that’s left to do is to add an icon in the dash so we can actually launch inkscape. For that we copy the preinstalled gimp icon and edit it to launch inkscape instead. Note that the naming of the file is key here. The file name consists of containerid_appid_version.desktop. So in our case puritine2 for the container id, inkscape for the appid and well, the version seems to be unused at this point, so let’s leave that at 0.0.
# cd ~/.local/share/applications/
# cp /usr/share/applications/puritine_gimp_0.0.desktop puritine2_inkscape_0.0.desktop

Now edit the file and change the Name= field to say inkscape and the Icon= field to point to an icon you want. Don’t edit any other fields.
Now pull down the apps scope to refresh it. Inkscape should appear there and start up when you click it.

This entry was posted in Ubuntu. Bookmark the permalink.
← snap up your home
16 Responses to Installing more puritine apps on the BQ Aquaris M10 Ubuntu Edition
Cool, thanks for putting this info out there. I think that you don’t need to copy the desktop file and edit it in OTA11. I haven’t verified that for sure on my M10, but it works well with the overlay PPA on my desktop now.

nula says:
Thank you for the nice guide!

I tried to follow it but it was stopped during the “create” phase on a non-existance of “matchbox-keyboard package”. Do you have similar experience?


alecu says:
I tried the above steps several times from the Terminal app, but “libertine-container-manager create …” always crashed with some error or other.

To avoid repeatedly banging your head against the wall I recommend instead to use a USB cable and follow the steps via phablet-shell or even adb. With that it works perfectly! I managed to install and run inkscape, scribus, and even the Arduino IDE.

Michael says:
Thanks, I’ve added a note for that to the text. Not sure what exactly is the issue with the Terminal app. We should try to find out.

pawlinski says:
Hi,
Thanks for this description. Unfortunately, I receive an error with this packages while attempting to install a new container.
isc-dhcp-client
x11-common
libxtst6:armhf
libfakekey0:armhf
matchbox-keyboard
matchbox
ca-certificates
E: Sub-process /usr/bin/dpkg returned an error code (1)
phablet@ubuntu-phablet:~$
Thanks for any help :)

Michael says:
Please see the comment by alecu. It should hopefully solve your problem.

nula says:
The access via USB works perfectly. Thanks!

cixot says:
Hi,
many thanks for this tuto, now inkscape launches successfully from my M10.

However I have used the procedure with vlc, but the app icon launches a black vlc window that disapears in 3 seconds.
Have you tried to install vlc in ubuntu-touch?

Many thanks!


Pere Castanyer Sardà says:
Hello and thanks for your article.

I’m planing to try to install xapps in my M10, today after the OTA-12 and I wondering if the process is still valid after the update.

Can you confirm that?

Regards.

Michael says:
I’m not 100% sure yet, but I believe this will be obsolete after OTA-12. The Platform will bring all the features required to install classic applications via its UI already.

Pere Castanyer Sardà says:
You’re right.

I’m using the instructions found in :http://www.omgubuntu.co.uk/2016/07/ubun ... -whats-new (In the Bonus section)

regards,

Lars says:
Fun you posted while I was writing see below… But whats described on your link is not a GUI part or?

If I for example would like to install VLC or even openCPN as I talked about below how do I do that?

Thank you

/Lars

Lars says:
Hi,

Will you put out a guide on how to get to the UI and do it? Is it the same with the Pro 5 that it will be a GUI that you can use or do you first need to create a container there in the way you describe above or?

Happy for all support!

By the way do you know if X11 apps under UT will be able to use the GPS for example? WQould like to have the OpenCPN running on my Ubuntu device.

Br,

Lars

Joao says:
How did you manage to install the OTA-12? It still dont show up for the aquaris m10

Michael says:
It should have appeared for all devices by now I think

Miguel says:
Hello. Thanks a lot for this guide.
I have installed OTA-12 in my BQ tablet and the instructions for installing the container and a few applications (via adb through usb cable) worked without an error (it took a long time). I have installed gnome-terminal, gnomine, iputils-ping and empathy.
Nevertheless, when I try to run the applications they usually crash (gnomine always, the other two randomly) and apparently the applications do not get access to the network connection (for example, performing a “ping” inside gnome-terminal when it does not crash, I get the error “ping: icmp open socket: Operation not permitted” and empathy, when it does not crash, seems not to get network connection either. Do you know if something need to be installed to get network connection?
It is possible to chroot into the container from the terminal without opening any particular application?
Thanks a lot for any reply.



Monday, July 18, 2016
Running X Apps on Ubuntu Devices

You can install, launch, and use traditional debian-packaged X apps on Ubuntu devices. This may be unexpected given that Ubuntu devices do not seem to support user-installed debian packages, nor do they run the X Display Server. But it does work, courtesy of Mir/XMir and Libertine.

So here’s a bit of background to get started.

But first, please note that at this time, display and use of X apps on an external monitor is only available on the Pro5/M10 and on future devices. (BQ 4.5/E5 and Meizu MX4 do not support this feature.)

Hello Mir (Goodbye X)
Traditionally, and still on the Ubuntu Classic desktop with Unity 7, Ubuntu runs an X Display Server. Apps are debian packaged. And, they are written for X:


Due in part to X’s inherent security shortcomings, the Mir display server is now used on Ubuntu Devices under Unity 8 (although not yet by default on the desktop). XMir bridges traditional X apps to Mir. That is, apps written for X can run fine in a Mir/XMir environment:


Packages and the root file system
Ubuntu Classic has a root file system (rootfs) that is populated through installation of a carefully curated set of debian packages. At run time, users can install debian packages to add apps or modify their system.


This approach raises security concerns because debian packages execute installation scripts with root level privileges and because debian packages can alter what the rootfs provides by modifying or replacing core system components.

Ubuntu devices are designed for security and reliability. Ubuntu devices have a read-only rootfs that is small and tight, providing just what is needed and simplifying system updates. The rootfs is not modifiable by the user. Indeed it is mounted as a read-only partition. Users install apps through click packages that do not modify the rootfs.


Given all of this: how do users install debian packaged apps that use X on Ubuntu Devices? The answer is LIbertine with XMir.

Hello Libertine
Libertine is a system to manage app containers. It is specifically designed to support the many traditional X apps that are debian packaged. Each container is a separate Ubuntu rootfs populated through debian package installations. (Currently these containers are chroots: later, LXD contains will be supported. Also, currently the containers must be of the same Ubuntu series as the device: Vivid.)

So, you can install or create a libertine container, install debian packaged X apps into it, and launch them using the XApps scope. The apps access to the user’s key directories: Documents, Downloads, Music, Pictures, and Videos. So data files created and saved by an app in one container are available to apps in any other container, and indeed outside of the containers.

Let’s take a quick look at the XApps scope.

XApps Scope
This scope simply lists the containers and, for each container, it displays its apps. Here’s a look at a device with two containers. This system has two containers (Puritine and My Container). And each has a few apps:


Tap an app to launch it.
long press an app to hide it.
If you have any hidden apps, see them from the search icon (magnifying glass) and tap Hidden X Apps. Long press a hidden app to unhide it.
Note that a container with no apps does not display in the scope.
So how does one create and delete containers, and add or remove apps from them?

Libertine Container Manager
libertine-container-manager is a command line tool you use on the device to create and manage containers. This includes installing debian packaged apps into them. (These containers are created in the phablet user’s home directory and are not a part of the read-only rootfs.)

Note: libertine-container-manager currently cannot be run in the Terminal App. Instead please connect to your device from an Ubuntu system using phablet-shell.
Listing Containers
phablet@ubuntu-phablet:~$ libertine-container-manager list
puritine
my-container

The “puritine” container is pre-installed on many devices through the com.ubuntu.puritine click package (“Desktop Applications”):

phablet@ubuntu-phablet:~$ click list | grep puritine
com.ubuntu.puritine 0.11

The second container (“my-container”) was created on the device with libertine-container-manager.

Note: It is possible to pre-install customized containers through bespoke channels.
Creating a Libertine Container
You can create a new container on a device. The container needs a unique ID and (optionally) a name.

Note: The container must be the same Ubuntu series as the device, currently: vivid.

phablet@ubuntu-phablet:~$ libertine-container-manager create --id my-container --name "My Container" --distro vivid --type chroot

I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
[...]
Listing Apps in a Container
It’s easy to list the apps in a container. You just use the container’s id, as follows:

Note: We add the optional --json argument here and show only lines with “name” for display convenience.

phablet@ubuntu-phablet:~$ libertine-container-manager list-apps --id my-container --json | grep "\"name\""
"name": "Panel Manager",
"name": "Python (v3.4)",
"name": "Python (v2.7)",
"name": "gedit",
"name": "Help",
"name": "Notification Daemon",
"name": "Terminal",
Also note that all apps that install a .desktop file are listed by this command, although many of them are not displayed in the XApps scope since they are not appropriate.
Installing an app in a container
To install a debian package in a container, you just use install-package with the container id and the debian binary package name, as follows:

phablet@ubuntu-phablet:~$ libertine-container-manager install-package --id my-container --package terminator

The package and all of its dependencies are installed in the container. After this, assuming the package installs a .desktop file, it displays in the XApps scope and is launchable with a tap as expected.
Installing an app from a specific Launchpad PPA
By default, available debian packages are installed from the standard Ubuntu archive the chroot’s apt configuration points to. You can add a launchpad PPA, as follows:

phablet@ubuntu-phablet:~$ libertine-container-manager configure --id my-container --archive ppa:USER/PPA-NAME

(Currently, private PPAs are scheduled for an upcoming release.)

After this, you can install packages into the container as usual, including from the PPA.
Removing apps from a container
Remove a debian package from a container with:

phablet@ubuntu-phablet:~$ libertine-container-manager remove-package --id my-container --package PACKAGE_NAME
Libertine-container-manager help
Use the --help for top level help.

You can see details on each subcommand, for example remove-package, as follows:

phablet@ubuntu-phablet:~$ libertine-container-manager remove-package --help
usage: libertine-container-manager remove-package [-h] -p PACKAGE [-i ID] [-r]


optional arguments:
-h, --help show this help message and exit
-p PACKAGE, --package PACKAGE
Name of package to remove. Required. -i ID, --id ID Container identifier. Default container is used if
omitted.
-r, --readline Readline mode. Use text-based frontend during debconf
Interactions.
Updating a container
Want the debian packages in a container updated? Easy:

phablet@ubuntu-phablet:~/.cache/libertine-container/my-container$ libertine-container-manager update --id my-container
Executing a Command in a Container
phablet@ubuntu-phablet:~/.cache/libertine-container/my-container$ libertine-container-manager exec --command "apt-get update" --id my-container
Atteint http://ppa.launchpad.net vivid InRelease
Atteint http://ports.ubuntu.com vivid InRelease
Atteint http://ports.ubuntu.com vivid-updates InRelease
Atteint http://ppa.launchpad.net vivid/main armhf Packages
Atteint http://ppa.launchpad.net vivid/main Translation-en
Atteint http://ports.ubuntu.com vivid/main armhf Packages [...]

Note: Running the apt-get update command in a container may be useful to update the container’s knowledge of newly available packages without installing/updating them all. You can then see whether a package is available, with:

phablet@ubuntu-phablet:~/.cache/libertine-container/my-container$ libertine-container-manager exec --command "apt-cache policy firefox" --id my-container
firefox:
Installé : (aucun)
Candidat : 44.0+build3-0ubuntu0.15.04.1
Table de version :
44.0+build3-0ubuntu0.15.04.1 0
500 http://ports.ubuntu.com/ubuntu-ports/ vivid-updates/main armhf Packages
37.0+build2-0ubuntu1 0
500 http://ports.ubuntu.com/ubuntu-ports/ vivid/main armhf Packages

More about the Libertine Containers
As noted, the container is a directory containing an Ubuntu rootfs. Container directories are here:

phablet@ubuntu-phablet:~/.cache/libertine-container$ pwd
/home/phablet/.cache/libertine-container
phablet@ubuntu-phablet:~/.cache/libertine-container$ ls
my-container puritine
phablet@ubuntu-phablet:~/.cache/libertine-container$ cd my-container/
phablet@ubuntu-phablet:~/.cache/libertine-container/my-container$ ls
rootfs

You can get a bash shell into the container as follows:

phablet@ubuntu-phablet:~/.cache/libertine-container/my-container$ libertine-container-manager exec --command "/bin/bash" --id my-container
groups: cannot find name for group ID 1001
[...]
root@ubuntu-phablet:/#








Start the adb server as root. So if you were on Ubuntu, you'd want to run the following command.

adb kill-server (you must do this to kill the user started server)

sudo adb start-server

Or you can basically do any adb command with sudo to start it. I typically use:

sudo adb devices

This starts the ADB server and tells me my phone is definitely hooked up.
?????? no permissions ...

sudo adb kill-server and then sudo adb start-serve


NAME
libertine-container-manager - Manage Libertine containers for supporting legacy X applications on Unity 8
SYNOPSIS
libertine-container-manager [ -v | -q ] command [ command_options ] libertine-container-manager -h libertine-container-manager command -h
DESCRIPTION
libertine-container-manager is a utility for managing Libertine containers used to support legacy X applications on Unity 8. It is possible to create new containers, delete containers, update containers, install new packages in a container, remove a package from a container, search for possible packages to install, and list all of the current containers.
OPTIONS
-q, --quiet do not print status updates on stdout -v, --verbose extra verbose output -h, --help Print a summary of the command line options and exit.
COMMAND OVERVIEW
libertine-container-manager create [options] Create a new Libertine container. libertine-container-manager destroy [options] Destroy (delete) an existing Liberine container. libertine-container-manager install-package [options] Install a package inside an existing Libertine container. libertine-container-manager remove-package [options] Remove an installed package inside an existing Libertine container. libertine-container-manager search-cache [options] Searches the apt cache inside an existing Libertine container for matches based on the given search string. libertine-container-manager update [options] Updates the packages inside an existing Libertine container. libertine-container-manager list [options] Lists all existing Libertine containers.
COMMAND REFERENCE
libertine-container-manager create [options] Options: -h, --help Prints help for this command and exits. -i ID, --id ID Container identifier. Required. -t TYPE, --type TYPE Type of Libertine container to create. Either 'lxc' or 'chroot'. -d DISTRO, --distro DISTRO Ubuntu distro series to create. -n NAME, --name NAME User friendly container name. libertine-container-manager destroy [options] Options: -h ,--help Prints help for this command and exits. -i ID,--id ID Container identifier. Default container is used if omitted. libertine-container-manager install-package [options] Options: -h ,--help Prints help for this command and exits. -i ID,--id ID Container identifier. Default container is used if omitted. -p PACKAGE, --package PACKAGE Name of package to install. Required. libertine-container-manager remove-package [options] Options: -h ,--help Prints help for this command and exits. -i ID,--id ID Container identifier. Default container is used if omitted. -p PACKAGE, --package PACKAGE Name of package to remove. Required. libertine-container-manager search-cache [options] Options: -h ,--help Prints help for this command and exits. -i ID,--id ID Container identifier. Default container is used if omitted. -s SEARCH_STRING, --search-string SEARCH_STRING String to search for in the package cache. Required. libertine-container-manager update [options] Options: -h ,--help Prints help for this command and exits. -i ID,--id ID Container identifier. Default container is used if omitted. libertine-container-manager list Options: -h ,--help Prints help for this command and exits

Libertine
Article in progress
This item is currently out of whazzup and gerne_weiteren_Interessierten created. The completion date is 31.12.2016.

Caution: In particular, this means that this item is not yet finished and that can even be wrong missing important parts, or. Please do not use this article as a guide for problem solving!

The following pages are helpful for understanding this article:
Ubuntu Touch

Table of Contents [-]
libertine 64.png Libertine allow installation from traditional X applications on Ubuntu Touch devices. With Libertine, containers are created and the X applications are then installed in this container. By encapsulating into containers, the actual system remains protected from the stability and security problems of the X applications.

Use
Use one hand happens in the Libertine app in which the containers are managed and the other part in the desktop app Scope of the applications are out started.

In the Libertine app, you can create new containers by tapping the plus symbol at the top right. Initializing a newly created container takes a few minutes. Existing containers can be deleted by wiping the container name to the right.

After creating and selecting a container, applications can then be installed and de-installed in the container. To do this, first wipe the container name to the left and tap the Edit icon.

After installing an application, it appears on the desktop apps Scope and can be started from there.

Libertine_1.png
Container management in the Libertine App
Scope_1.png
X apps start from the Desktop App Scope
Firefox.png
Firefox browser under Libertine
File Access
The folder ~ / Documents, ~ / Music, ~ / Pictures, ~ / Downloads and ~ / videos are accessible from Libertine apps. Thus files can be exchanged with the normal Ubuntu Touch System.

Open with - make a copy

Puritine
Pre-installed container on the M10

http://askubuntu.com/questions/76274 r-manager-exec

Command line usage
The command libertine-container-manager can be used to manage the container and the programs contained therein.

parameter description
--help Shows help and parameter overview. The individual sub-commands also have auxiliary outputs. Example libertine-container-manager create --help .
Create -i ID Creates a new container. The first container created automatically becomes the default container.
Install-package -p PACKAGE Installs the package. Example: libertine-container-manager install-package -p firefox
List apps Lists all installed applications.
Remove-package -p PACKAGE Uninstall the package.
Set-default -i ID Sets the default container firmly. By specifying -i ID the other commands can also be performed on non-default containers.
list List all containers.
update Updates the packages in the container.
destroy Deletes the container, including all programs.
For each container, a root directory as well as a user directory is created. Root directories can be found in the path ~ / .cache / libertine-container / CONTAINERID / rootfs / and user directories under ~ / .local / share / libertine-container / user-data / CONTAINERID /.

The CONTAINERID of the first container to be created with the Container Manager are: vivid. Accordingly, the directories: ~ / .cache / libertine-container / vivd / rootfs / and ~ / .local / share / libertine-container / user-data / vivid /.

Terminal access
Libertine is based on a chroot jail . There are two options for a Come Mando line in the chroot system of Libertine container to get. In order to get a command line as a normal user phablet you use the following command:

DISPLAY= libertine-launch CONTAINERID bash
In order to get a command line as root to use this command:

libertine-container-manager -i CONTAINERID exec bash
Such root shell can be helpful if Anhängigkeitskonflikte occurred with apt packages in the container.

Tweaks
installation
On devices where Libertine is currently not delivered, it can be installed with the following packages. But for this is the -make writable partition of system needed.

libertine

Python3-libertine

Python3-libertine-chroot

xmir

Libertine-scope

Wiki / Templates / Installbutton / button.png with apturl

Package list for copying: apt-get aptitude

sudo apt-get install libertine python3-libertine python3-libertine-chroot xmir libertine-scope
Folder embed
https://lists.launchpad.net/ubuntu-p /msg20322.html

Figured this out. Folders can be added here: .local / share / libertine-container / user-data / puritine

Of course, adding symlinms there will not work, and drag files. Bind mounting however works. I have a symlink in my / home / phablet directory called storage that links to the sdcard. So after adding Storage under the above directory:

Mount -o bind / home / phablet / storage /home/phablet/.local/share/libertine-container/user-data/puritine/Storage

Puritine apps can now access the sdcard through the file selection within the app. I suspect this will need to be rerun each boot, or run as a script.

Desktop file
In some places, as will be discussed in detail by hand .desktop files created for use by Libertine. For me, however, the icons appear just so in Libertinescope on without me would have even created a .desktop file. I think these discussions are from a time before the existence of Libertinescopes. Possibly it is still interesting to document that this is possible? Maybe not :)

https://lists.launchpad.net/ubuntu-p /msg19958.html

https://lists.launchpad.net/ubuntu-p /msg20622.html

https://lists.launchpad.net/ubuntu-p /msg20640.html

https://lists.launchpad.net/ubuntu-p /msg20645.html

https://docs.google.com/document/d/1 t? pref = 2 & pli = 1

http://packages.ubuntu.com/xenial/ar -demo / filelist

Keyboard layout?
http://askubuntu.com/questions/76274 er-exec / 763109

Scaling the display
Generally
DPI Change the setting of the XMir server.

echo "Xft.dpi:220" > ~/.local/share/libertine-container/user-data/vivid/.Xdefaults
220 gives a reasonable Scalierung on the Nexus 7. Here is 144 proposed. Other experiences?

LibreOffice
http://ubuntuforums.org/showthread.php?t=2321912

xterm
grep xterm ~/.local/share/libertine-container/user-data/vivid/.Xdefaultsxterm*faceName: DejaVu Sans Mono xterm*renderFont: truexterm*faceSize: 12
gtk
.config / gtk-3.0 / gtk.css

vergrößern
.scrollbar { /* up/down buttons on top */ -GtkScrollbar-has-backward-stepper: true; -GtkScrollbar-has-secondary-forward-stepper: true; /* up/down buttons at bottom */ /* -GtkScrollbar-has-forward-stepper: true;*/ /* -GtkScrollbar-has-secondary-backward-stepper: true; */ -GtkRange-slider-width: 50; /* width of the scrollbar */ -GtkRange-stepper-size: 50; /* size of up/down buttons */}
http://askubuntu.com/questions/77520 rmal-scrollbar Gtk-large-scrollbars.png

Firefox
With the Firefox extension "grab and drag" you can scroll up and down with wipes on the display.

VNC access
$ cat ~/.local/share/applications/libertine-vnc.desktop [Desktop Entry]Name=Libertine VNCType=ApplicationTerminal=falseX-Ubuntu-Touch=trueIcon=computerExec=/home/phablet/bin/libertine-vnc
$ cat ~/bin/libertine-vnc#!/bin/bashexport DISPLAY=:0x11vnc -forever -nopw -quiet -display :0
chroot
As an alternative to Libertine can also manually create a chroot create environment in the user directory. This is, for example, interesting for devices where Libertine is not installed. You can install command line applications in a chroot.

The following step describes how to create and use a chroot on an Ubuntu touch device. One needs a terminal access and need to edit some files. This can be done the editor nano use.

means
Setting up the chroot environment in the folder ~ / chroot:

mkdir ~/chrootcd chrootwget http://cdimage.ubuntu.com/ubuntu-touch/ ... tar.gzsudo tar -zxf vivid-preinstalled-touch-armhf.tar.gz
Creating a script ~ / bin / chroot-mount to the necessary bind mounts perform:

#!/bin/bashsudo mount --bind /proc /home/phablet/chroot/procsudo mount --bind /dev /home/phablet/chroot/devsudo mount --bind /sys /home/phablet/chroot/syssudo mount --bind /run /home/phablet/chroot/run
Creating a script ~ / bin / chroot-login to open a command line in the chroot:

#!/bin/bashsudo chroot /home/phablet/chroot
Making scripts executable:

chmod +x ~/bin/chroot-mount ~/bin/chroot-login
use
Once the device is booted

~/bin/chroot-mount
Login to the chroot environment with

~/bin/chroot-login
Updating the package lists with

sudo apt-get update
Now packages as usual with apt be installed and used on the command line.

SSHFS use
In chroot can sshfs install and so make a list of a ssh server locally on Ubuntu Touch device available. This allows you to access both within the chroot, as well as outside the normal system.

A possible configuration is described with the following example:

Music files are located on the server in ~ / path / to / Music / Am / server and they should

be in the chroot / media / My / music accessible and

the normal system under ~ / Music / own / songs.

In the chroot:

Installing sshfs:

sudo apt-get install sshfs
The Enable allow_other:

sudo sed -i 's/^#allow_other/allow_other/' /etc/fuse.conf
or

echo allow_other >> /etc/fuse.conf
SSH key pair to create and make known to the server.

create a folder

mkdir -p /media/Meine/Musik
mount

sshfs user@server:Pfad/Zur/Musik/Am/Server /media/Meine/Musik -o IdentityFile=/Pfad/Im/Chroot/Zum/Privaten/Schluessel -o allow_other -o ro -o idmap=user -o uid=32011 -o gid=32011
The options are listed under {En} http://linux.die.net/man/1/sshfs explained.

Now the files are available in chroot:

ls -lha /media/Meine/Musik
(Unhooking with

fusermount -u /home/phablet/Pfad/Im/Chroot
) "

Outside the chroot:

create a folder

mkdir -p ~/Music/Eigene/Lieder
Preferential unit Bind mount from the outside inwards:

sudo mount --bind /home/phablet/chroot/media/Meine/Musik /home/phablet/Music/Eigene/Lieder
To play music (or video) files in a subdirectory of ~ / Music / (or ~ / Videos /) were mounted in the scope must be made visible to even the media scanner to restart:

restart mediascanner-2.0





E: Sub-process /usr/bin/dpkg returned an error code (1)

办法如下:
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更名sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹sudo apt-get update
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更名
sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹
sudo apt-get update



在Linux下拷贝的时候有时候会出现cp:omitting directory的错误 ,例如 cp:omitting directory "bbs" 说明bbs目录下面还有目录,不能直接拷贝



解决办法:递归拷贝 命令:cp -r bbs ../backup/bbs 解释:-r 这个options是递归的意思





举一反三:删除的时候也可能出现这种下面有文件不能删除的问题 也用-r 级联删除

chmod赋予权限的时候想级联也可以用-R 注意是大写的R

n the case where tried to install a file:

sudo apt-get install libstdc++.so.6
instead of a package. You get the error message:

E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
because you tried to install a file libstdc++.so.6 that you can't install, because it is located in a debian package.

You can use apt-file to search for the package that contains that file. To install it, type:

sudo apt-get install apt-file
Then you have to update the index.

sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6:

sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. For this example I paste only one search result:

libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Then you can install the needed package libstdc++6:

sudo apt-get install libstdc++6

1、打开终端,先删除旧的驱动:
sudo apt-get purge nvidia*

2禁用自带的 nouveau nvidia驱动 (important!)
创建一个文件通过命令 sudo vim /etc/modprobe.d/blacklist-nouveau.conf
并添加如下内容:
blacklist nouveau
options nouveau modeset=0
再更新一下
sudo update-initramfs -u
修改后需要重启系统。确认下Nouveau是已经被你干掉,使用命令: lsmod | grep nouveau

3重启系统至init 3(文本模式),也可先进入图形桌面再运行init 3进入文本模式,再安装下载的驱动就无问题,
首先我们需要结束x-window的服务,否则驱动将无法正常安装
关闭X-Window,很简单:sudo service lightdm stop,然后切换到tty1控制台:Ctrl+Alt+F1即可

4接下来就是最关键的一步了:sudo ./NVIDIA.run开始安装,安装过程比较快,根据提示选择即可


找到.run文件,运行一下命令启动显卡安装程序
sudo sh xx.run


找到.run文件,运行一下命令启动显卡安装程序
sudo sh xx.run
/////////////////////////////////////////
注:
第四步:
一路next+OK下去,到提示系统只有Nouveau配置文件,需要禁用它并配置nvidia显卡配置要选是,默认是否。这里多谢Nvida对Linux的重新重视,以前配置这个需要自己手动禁用Nouveau驱动,然后还有一大堆配置,配置错一点就进不了图形界面。待NVida配置完成后,输入以下命令重启:
sudo reboot

第五步:
进入命令行界面,关闭当前图形界面,找到.run文件执行。一路Next,注意配置DKMS,这样在下次更新系统内核的时候就不必重装显卡驱动,DKMS会动态编译。同时配置xorg配置文件,配置xserver为自动启动
//////////////////////////////////////////
最后安装完毕后,重新启动X-Window:sudo service lightdm start,然后Ctrl+Alt+F7进入图形界面;

如果安装后驱动程序工作不正常,使用下面的命令进行卸载:
sudo sh qd.run --uninstall
////////////////////////////////////////
依赖
安装nvidia的驱动,直接安装软件源里面的就行了吧,非要安装331这个版本吗?
上面的错误提示你先装上当前linux内核的源码包。
sudo apt-get install linux-source
一帮乱答一气的人。。。
lz是缺失了驱动的依赖kernel-devel。首先要安装kernel-devel才能继续安装驱动。不过kernel-devel是rpm的东西。
在ubuntu下,安装的不一样,打开终端,输入sudo apt-get install linux-headers-generic,安装好之后再安装驱动。

编译安装驱动很麻烦

///////////////////////////////////////////

I have worked out this problem by the following steps. I am on Ubuntu 14.04.

Download your specific Nviadia drivers from here. The driver name looks like NVIDIA-LINUX-X86_64-340.58.run.
# service lightdm stop, Ctrl+Alt+F1 switch to tty1, excute the command to stop X server with root priviledge.
/////////////////////////////////////////
找不到头文件的话方法1
# bash NVIDIA-LINUX-X86_64-340.58.run --kernel-source-path=/usr/src/linux-headers-3.14.21,then just following the UI directions, remember not to say YES with DKMS(have strange troubles for me).
it is better to do this step sudo apt-get install linux-image-extra-virtual,referenc link.
# service lightdm start and # reboot, everything is ok!
This take me many hours to solve, hope it can help someone.


Make sure you have updated version

Type the following apt-get command:
$ sudo apt-get update

OR as root user enter:
# apt-get update

Search for kernel version (optional)

Type the following apt-cache command :
$ apt-cache search linux-headers-$(uname -r)

Install linux-header package under Debian or Ubuntu Linux
解决依赖
Type the following apt-get command:
$ sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install dkms build-essential make
////////////////////////////////////////
This worked for me:
//////////////////////////////////////////
指定内核版本2
sudo sh NVIDIA-Linux-x86_64-190.53-pkg2.run -k $(uname -r)
OR for newer drivers
sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run -k $(uname -r)

//////////////////////////////////////////

HOW TO INSTALL THE LATEST NVIDIA DRIVERS IN UBUNTU VIA PPA
Author: Andrew | Posted: June 24, 2016 | Updated: June 24, 2016

Upgrading to the latest version of the proprietary Nvidia drivers in Ubuntu was pretty complicated a while back. You would either have to use the official Linux installer, which was not always reliable, at least for me, or use a bleeding edge PPA, like the Xorg Edgers PPA, which would upgrade multiple packages, most of which were unstable.

That's no longer the case thanks to the Proprietary GPU Drivers PPA, which offers stable proprietary Nvidia graphics driver updates, without updating other libraries to unstable versions (some libraries may still be updated using this PPA, if they are needed by the drivers, but there's nothing unstable in the PPA).

Despite its name, the PPA only provides proprietary Nvidia graphics drivers updates, with no support for AMD or Intel.

Even though the PPA is probably the most stable way of upgrading to the latest proprietary Nvidia drivers version in Ubuntu, it's still considered in testing. That means issues may still occur (though I didn't encounter any and I've been using it for some time), so you should only use this PPA if you have experience with recovering your system from a failed graphics driver upgrade.

I should also mention that the PPA provides packages for all supported Ubuntu versions (16.10, 16.04, 15.10, 14.04 and 12.04). At the time I'm writing this article, the PPA provides the latest long lived branch version (367.27) of the Nvidia graphics drivers for Ubuntu 16.10 and 16.04 and the latest short lived branch version (364.19) for Ubuntu 15.10, 14.04 and 12.04.

You can check the latest Nvidia Linux graphics drivers version by visiting THIS page.

Install the latest Nvidia graphics drivers in Ubuntu via PPA


1. Add the PPA.

Before proceeding, please read the PPA description!

To add the Proprietary GPU Drivers PPA in Ubuntu and update the software sources, use the following commands:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

2. Install (and activate) the latest Nvidia graphics drivers
sudo apt-get install nvidia-370-dev nvidia-cuda-dev
From System Settings or directly from the menu / Dash, open Software & Updates, click on the "Additional Drivers" tab, select the driver you want to use, and click "Apply changes":



After the driver is downloaded and installed, restart your system. That's it!

You can also install the latest drivers using Synaptic or from the command line. To see the available versions, you can use:
apt-cache search nvidia
or:
apt search nvidia
And look for the packages called "nvidia-VERSION", for instance "nvidia-367" for the latest 367.27 graphics drivers, and install it ("sudo apt install nvidia-VERSION").
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#215

帖子 243750496 » 2016-11-03 8:02

wine 1.9.8
photoshop cc 2014 32bit 必须在linux下解压安装才不会出错

This applies to the *32-bit* version of Photoshop CC 14 ONLY.Wine was set to Windows 7 OS in this installation.Used these additional packages:
atmlib.dll corefonts FontsSmoothRGB gdiplus msxml3 msxml6 tahoma tahoma2 vcrun2010 vcrun2012 vcrun2013
If these steps fail for you, try doing them with PlayonLinux, the installer may still fail but PoL will finish the installer anyway, watch your disk activity light to know when to hit "Close".


sudo adb kill-server
sudo adb start-server
sudo adb devices
adb shell
(sudo ap-get install phablet-tools
phablet-config writable-image )
(OR sudo mount -o remount,rw / )
cd ~/.local/share/libertine
rm ContainersConfig.json
cp /custom/click/.click/users/@all/com.ubuntu.puritine/libertine-config/libertine/ContainersConfig.json ~/.local/share/libertine
ls
libertine-container-manager create -i myapps -n "My Applications" -t chroot -d vivid --force
libertine-container-manager install-package -i myapps -p scribus
libertine-container-manager exec --command "apt-get install krita" --id myapps
libertine-container-manager exec --command "mv /var/lib/dpkg/info /var/lib/dpkg/info.bak" --id myapps
libertine-container-manager exec --command "mkdir /var/lib/dpkg/info" --id myapps
libertine-container-manager exec --command "apt-get update" --id myapps


sudo apt-get install python-pip python-dev build-essential exfat-utils gir1.2-webkit-3.0 checkinstall auto-apt libglu1-mesa:i386 network-manager-openvpn-gnome network-manager-openvpn phablet-tools adb
sudo restart network-manager
sudo rm -rf /usr/lib/python2.7/dist-packages/pip
sudo rm -rf /usr/local/lib/python2.7/dist-packages/pip
sudo pip install --upgrade pip
sudo pip install --upgrade virtualenv (一般先安装pip,安装好后,pip install virtualenv就可以自动从网上下载并安装virtualenv了。然后virtualenv env1就可以创建一个名为env1的虚拟环境了,进入这个虚拟环境后,再使用pip install安装其它的package就只会安装到这个虚拟环境里,不会影响其它虚拟环境或系统环境。)
auto-apt run ./configure
make
sudo checkinstall
sudo apt-get install gir1.2-webkit-3.0 for Anoise bug
sudo add-apt-repository ppa:costales/anoise
sudo add-apt-repository ppa:wiznote-team
sudo add-apt-repository ppa:deluge-team
sudo add-apt-repository ppa:dhor/myway (rawtherapee)
sudo add-apt-repository ppa:otto-kesselgulasch/gimp-edge
sudo add-apt-repository ppa:freecad-maintainers/freecad-daily,(sudo add-apt-repository -y ppa:freecad-maintainers/freecad-stable)
sudo add-apt-repository ppa:librecad-dev/librecad-daily,(sudo add-apt-repository ppa:librecad-dev/librecad-stable)
sudo add-apt-repository ppa:thomas-schiex/blender
sudo add-apt-repository ppa:dimula73/krita
sudo add-apt-repository ppa:scribus/ppa
sudo add-apt-repository ppa:libreoffice/ppa
sudo add-apt-repository ppa:noobslab/apps,(curlew)
sudo add-apt-repository ppa:ubuntuhandbook1/apps,(converseen)
sudo add-apt-repository ppa:plushuang-tw/uget-devel,(uget)
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa,(firefox)

python setup.py install --record log
cat log | xargs rm -rf
python ./setup.py install --record install.txt
cat install.txt | xargs rm -rf
sudo pip install *.tar.gz
pip search *
sudo apt-get install unity-tweak-tool vlc wiznote smplayer anoise* soundconverter deluge indicator-china-weather synaptic gnome-color-manager kazam lives scribus-trunk rar unrar ark playonlinux brasero blender krita3-testing gimp gimp-gmic rawtherapee-unstable freecad-daily librecad libreoffice curlew bleachbit gimp-ufraw ufraw-batch converseen goldendict uget firefox gnome-raw-thumbnailer(在文件浏览器内预览raw格式照片)
sudo apt-get install -f
Deb:AfterShotPro flareget crossover nutstore LoveWallpaper xmind nod32 tickeys flash adblock Plus photoshop xnconvert displaycal
然后用新立得安装所有与gimp相关或开头的插件 icc(非free版本)
//////////////////////////////////////////////////////////////////////////////////////////////////////
sudo add-apt-repository ppa:webupd8team/java,(java)
sudo apt-get install oracle-java9-installer
///////////////////////////////////////////////////////////////////////////////////////////////////////
software center Bug 点击install后闪烁一下又回来了并没有安装成功 原来是这个东西没安装而且他的依赖也没有安装
Pacage address:
http://packages.ubuntu.com/trusty-updat ... 2/download




























sudo add-apt-repository ppa:achadwick/mypaint-testing
XCF
(eXperimental Computing Facility) is the native image format used by GIMP image editor.



To get XCF thumbnails in Nautilus, firstly install gnome-xcf-thumbnailer. In Ubuntu, use the following command:
sudo apt-get install gnome-xcf-thumbnailer

At this point the the thumbnails don't work yet because GNOME XCF Thumbnailer doesn't install a .thumbnailer file, required by Nautilus 3.x. To fix this, use the following commands:
sudo mkdir -p /usr/share/thumbnailers/
echo -e "[Thumbnailer Entry]\nTryExec=gnome-xcf-thumbnailer\nExec=gnome-xcf-thumbnailer %i %o\nMimeType=image/x-xcf;image/x-compressed-xcf;" | sudo tee /usr/share/thumbnailers/gnome-xcf.thumbnailer
New XCF files (or if you move some already existing XCF files) should have thumbnails now but existing ones may not get thumbnails yet. Let's fix this too by removing the failed thumbnails from cache:
rm -r ~/.thumbnails/fail
rm -r ~/.cache/thumbnails/fail

That's it. Nautilus should now display XCF file thumbnails, as you can see in my screenshot above. I've tested this with Nautilus
3.4
, 3.6 and 3.8.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#!/bin/bash

# -----------------------------------------------------------
# -- Write psdthumbnailer
# -----------------------------------------------------------
OUTFILE=/usr/lib/psdthumbnailer
(
sudo cat <<'EOF'
# bin/bash
# Arguments / Parameters %i %o %s
f_in=$1
f_out=$2
f_size=$3
# Execute Convert PSD to PNG through ImageMagick
exec convert "psd:$f_in[0]" -scale "$f_sizex$f_size" "png:$f_out"
EOF
) > $OUTFILE
# -----------------------------------------------------------
# -- Write photoshop.thumbnailer
# -----------------------------------------------------------
OUTFILE=/usr/share/thumbnailers/photoshop.thumbnailer
(
sudo cat <<'EOF'
# bin/bash
[Thumbnailer Entry]
TryExec=/usr/lib/psdthumbnailer
Exec=/usr/lib/psdthumbnailer %i %o %s
MimeType=image/vnd.adobe.photoshop; image/x-photoshop; image/x-psd;
EOF
) > $OUTFILE
# -----------------------------------------------------------
# -- Set File Permissions
# -----------------------------------------------------------
sudo chmod 0755 /usr/lib/psdthumbnailer
sudo chmod 0644 /usr/share/thumbnailers/photoshop.thumbnailer

# -----------------------------------------------------------
# -- Add GConf Hooks to parse thumbnails
# -----------------------------------------------------------
sudo gconftool-2 --set /desktop/gnome/thumbnailers/image@vnd.adobe.photoshop/enable --type bool true

sudo gconftool-2 --set /desktop/gnome/thumbnailers/image@vnd.adobe.photoshop/command --type string "/usr/lib/psdthumbnailer %i %o %s %i %o %s"

# -----------------------------------------------------------
# -- Install Dependencies
# -----------------------------------------------------------

sudo apt-get install imagemagick

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chmod +x 1.sh
sudo ./1.sh
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
cc@CC:~$ sudo apt-get install xnconvert
[sudo] password for cc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xnconvert : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
cc@CC:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cc@CC:~$ sudo apt-get install libicu52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu52 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libicu52' has no installation candidate
cc@CC:~$ sudo apt-get remove libicu52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libicu52' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cc@CC:~$ cd Downloads
cc@CC:~/Downloads$ cd '/home/cc/Downloads/FlareGet/Applications'
cc@CC:~/Downloads/FlareGet/Applications$ sudo dpkg -i *.deb
Selecting previously unselected package libicu52:amd64.
(Reading database ... 330819 files and directories currently installed.)
Preparing to unpack libicu52_52.1-3ubuntu0.4_amd64.deb ...
Unpacking libicu52:amd64 (52.1-3ubuntu0.4) ...
Setting up libicu52:amd64 (52.1-3ubuntu0.4) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
cc@CC:~/Downloads/FlareGet/Applications$ sudo apt-get install xnconvert
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
xnconvert
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.0 MB of archives.
After this operation, 71.0 MB of additional disk space will be used.
Get:1
http://ppa.launchpad.net/dhor/myway/ubuntu




xenial/main amd64 xnconvert amd64 1.73-dhor1~xenial [19.0 MB]
Fetched 19.0 MB in 3min 39s (86.9 kB/s)
(Reading database ... 330840 files and directories currently installed.)
Preparing to unpack .../xnconvert_1.73-dhor1~xenial_amd64.deb ...
Unpacking xnconvert (1.73-dhor1~xenial) over (1.73) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up xnconvert (1.73-dhor1~xenial) ...
cc@CC:~/Downloads/FlareGet/Applications$

安完了这里也消失了显示up to date!yeah!

虚幻4编辑器官方说已经原生支持linux,但好像国内完全没有人尝试linux安装虚幻4的教程。
我用ubuntu14.04成功编译虚幻4了,挺简单的。所以来发一下教程。



官网是没有linux的已编译包下载的,需要下载源代码自己编译。

源代码下载,(这个复制本吧的,看过如何注册可以无视)
一、当然是Epic和github注册了

二、注册好Epic后登录,然后在
https://www.unrealengine.com/settings






中填写东西,要填上你的GitHub的名字,这样随后Epic就可以发对你的Github邀请。





































三、去Github上,
https://github.com/EpicGames





看到加入的按钮。




































然后会弹出就可以看到EpicGame对你的邀请,很明显接受邀请啊
那是网站会自动发送一个邀请,去你的注册邮箱里面看看有邀请链接,点它。


四、如果你在网页
https://github.com/EpicGames





看到如下东西,恭喜你了。





































五、你现在可以用git下载源代码
git clone
https://github.com/EpicGames/UnrealEngine.git







点击图中 download zip 下载




































当然下载慢也可以下载我这个
http://pan.baidu.com/s/1sj1bnkh









下面正式linux下编译过程
安装编译需要的运行依赖库

我以ubuntu为例,其他发行版自行看官方指南。
https://wiki.unrealengine.com/Building_On_Linux






ubuntu安装命令

sudo apt-get install build-essential mono-mcs mono-devel mono-xbuild mono-dmcs mono-reference-assemblies-4.0 libmono-system-data-datasetextensions4.0-cil libmono-system-web-extensions4.0-cil libmono-system-management4.0-cil libmono-system-xml-linq4.0-cil cmake dos2unix clang-3.5 libfreetype6-dev libgtk-3-dev libmono-microsoft-build-tasks-v4.0-4.0-cil xdg-user-dirs



































以上都准备好后,
cd UnrealEngine (如果是下载我的网盘包和下载download zip的名字与这个不一致的)
./Setup.sh (源代码校证)




































当出现SUCCESS说明完成了。(有点费时间)



































接着

./GenerateProjectFiles.sh(这个是正式编译了)

make


































经过一段时间(这个要看机的性能)编译完成了。(我的ubuntu是64位的,所以这个虚幻4也是64位的,如果不想自己编译的64位系统的,可以问我。)


































编译完成还不要兴奋,还有的。
./Engine/Binaries/Linux/UE4Editor
这时就会出现加载的窗口。



































加载完成就到了下面的
注意这时,要求你创建项目名字等,但右下角还在编译着色器,所以不要做任何操作,等编译完成才可操作。否则程序会卡死或奔溃。






































































一切都完成了。









































































































免费建模工具blender再加上这个编译器,在linux下制作游戏变得相当简单。





We recommend using a development version so that you enjoy the latest features, bug fixes and improvements.
To install RawTherapee follow these simple steps:
Open the terminalPaste this code into it:
sudo add-apt-repository ppa:dhor/myway
sudo apt-get update
sudo apt-get install rawtherapee
If you want a development version:
sudo apt-get install rawtherapee-unstable
RawTherapee should now be installed and ready for use.


How to Install The Latest GIMP 2.9.5 in Ubuntu 16.04








































GIMP, one of the most popular Linux image editor, has reached the 2.9.5 development release, which will finally lead to the next stable GIMP release 2.10.
While Ubuntu 16.04 offers GIMP 2.8.16 in its main archive, you may either
upgrade to the latest stable release
, or try the 2.9 development release by following this simple tutorial.
GIMP 2.9/2.10 Features
preview:
16/32 bit per channel supportLossless color space conversionsNew tool: Unified transformationHeavily improved scaling quality: No- and LoHalo-SamplersSampling example 2 to see the high quality of the new samplers.More on-canvas previewsMulti-core CPU / GPU supportOpenCL-accelerated filtersGEGL based filters and pluginsICC v4 color profile conversion supportColor temperature correctionDrop the Lanczos 3 sampler and Maximum RGB filterHow to Install GIMP 2.9.5 via PPA:
1. Add the dev PPA:
Open terminal (Ctrl+Alt+T) and run command:
sudo add-apt-repository ppa:otto-kesselgulasch/gimp-edge
Type in password when it asks and hit Enter.








































2. Install or upgrade GIMP:
For those who have a previous release installed, you can now upgrade GIMP via Software Updater utility:








































Or just run the commands below on terminal to install GIMP 2.9.5:
sudo apt update && sudo apt install gimp gimp-gmic
3. Revert to GIMP stable release
Since GIMP 2.9 is unstable development release, there might be bugs and stability issues. You can easily revert to the stable GIMP 2.8.16, the stock version in Ubuntu 16.04 by running the commands below in terminal:
sudo apt install ppa-purge && sudo ppa-purge ppa:otto-kesselgulasch/gimp-edge
mac 烧录Clonezilla
# Convert the ISO to DMG
hdiutil convert -format UDRW -o image clonezilla-live-20151012-wily-amd64.iso
# Insert the USB Stick and identify its disk number, in my case 4
diskutil list
# Unmount it so it can be written to
diskutil unmountDisk /dev/disk4
#Write the image to disk4, rdisk4 speeds up immensely
sudo dd if=image.dmg of=/dev/rdisk4 bs=1m
diskutil unmountDisk /dev/disk4
xsetwacom --set "Wacom Intuos Pro M Finger touch" touch off
I set up my Pen & Touch over a year ago so I may be wrong here. What I usually do is run in a terminal:
xsetwacom --set "Wacom BambooPT 2FG 4x5 Finger touch" touch off
This won't work for you as you have another tablet so try first
xsetwacom
which should give you the parameters to use. First you need to get the name of your device (let's call it DEVICE_NAME), so try:
xsetwacom --list devices
This gives me for my Pen & Touch:
Wacom BambooPT 2FG 4x5 Pen eraser id: 11 type: ERASER
Wacom BambooPT 2FG 4x5 Pen stylus id: 12 type: STYLUS
Wacom BambooPT 2FG 4x5 Finger pad id: 13 type: PAD
Wacom BambooPT 2FG 4x5 Finger touch id: 14 type: TOUCH
Obviously the one which is of type TOUCH is the one to disable here. Here DEVICE_NAME would be Wacom BambooPT 2FG 4x5 Finger touch and DEVICE_ID would be 14.Then you need to know which parameter to disable, so try:
xsetwacom --list parameters
There's a plethora of parameters to enable/disable, and for each parameter name (let's call this PARAM_NAME) the type of value expected is explained. In this case we want to turn the Touch parameter Off, which you can do with the --set option. The syntax is:
xsetwacom --set "DEVICE_NAME" PARAM_NAME PARAM_VALUE
or
xsetwacom --set DEVICE_ID PARAM_NAME PARAM_VALUE
If you're not sure what to put in place of PARAM_VALUE, try the --get option to see the current value:
xsetwacom --get "DEVICE_NAME" PARAM_NAME
Hope this will help,
Max
xsetwacom --list | grep --line-buffered "TOUCH" | awk '{system("xsetwacom --set "$8" touch off")}'
Autodesk officially only supports Fedora/RedHat. This is probably due to legacy reasons, since larger Corporations were using RedHat. There is an official documentation how to install Maya on Fedora
link
However
Ubuntu
(based on Debian) has become very popular. (As Alternative you also could use
Elementary
, Mint etc.) We will take a look on how to install Maya 2017 (Student Version) on Ubuntu via the Command Line.
tl:dr: The final bash script can be found
here
Quick Install Script:
wget
https://gist.githubusercontent.com/borg ... all.shsudo






chmod +x maya2017install.shsudo ./maya2017install.sh
1
2
3
4
wget {url:http%3A//www.urlshare.cn/umirror_url_check,text: ... %253D%253D}
sudo chmod +x maya2017install.sh
sudo ./maya2017install.sh
You will manually have to remove the installation files.
Step 1: Download Maya
mkdir maya2017Installcd maya2017Installwget
http://edutrial.autodesk.com/NET17SWDLD ... bit.tgztar






xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
1
2
3
4
5
mkdir maya2017Install
cd maya2017Install
wget {url:http%3A//www.urlshare.cn/umirror_url_check,text: ... %253D%253D}
tar xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
If you download a Studentversion of Maya it will provide you with a download link. You can change this to whatever Version of Maya you would like to install.
Autodesk Students
Step 2: Install Dependencies
apt-get install -y gcc libssl1.0.0 libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libfam0 libfam-dev libgstreamer-plugins-base0.10-0wget
http://launchpadlibrarian.net/183708483 ... 64.debdpkg






-i libxp6_1.0.2-2_amd64.deb
1
2
3
4
apt-get install -y gcc libssl1.0.0 libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libfam0 libfam-dev libgstreamer-plugins-base0.10-0
wget {url:http%3A//www.urlshare.cn/umirror_url_check,text: ... %253D%253D}
dpkg -i libxp6_1.0.2-2_amd64.deb
The dependencies list is partly based on the
Additional Installation Notes for Linux
And my previous
Installation Script for Maya 2014
The package libxp6 was removed in Ubuntu 15. If you are running an older version of Ubuntu you could directly install it via apt.
Step 3: Convert .rpm files into .deb files
alien -cv *.rpm
1
2
alien -cv *.rpm
Step 4: Install Maya
dpkg -i *.debecho "int main (void) {return 0;}" > mayainstall.cgcc mayainstall.cmv /usr/bin/rpm /usr/bin/rpm_backupcp a.out /usr/bin/rpmchmod +x ./setup./setuprm /usr/bin/rpmmv /usr/bin/rpm_backup /usr/bin/rpm
1
2
3
4
5
6
7
8
9
10
dpkg -i *.deb
echo "int main (void) {return 0;}" > mayainstall.c
gcc mayainstall.c
mv /usr/bin/rpm /usr/bin/rpm_backup
cp a.out /usr/bin/rpm
chmod +x ./setup
./setup
rm /usr/bin/rpm
mv /usr/bin/rpm_backup /usr/bin/rpm
The whole mucking about replacing the /usr/bin/rpm is that the fedora installer can finish installing without errors.
In the Fedora Installer you will need to enter your licence details.
Step 4: Fix Startup Problems
ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10chmod 777 /usr/tmp
1
2
3
4
5
6
ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
chmod 777 /usr/tmp
Initially Maya will not start because it cannot find various libraries. Depending on which version is installed on your system you need to adjust these lines to reflect your version.
Step 5: Fix Segmentation Error
You will run into following Error:
terminate called after throwing an instance of 'std::logic_error'what(): basic_string::_S_construct null not validStack trace:gsignalabort__gnu_cxx::__verbose_terminate_handler()/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f6f62d536b6]/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f6f62d53701]/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f6f62d53919]std::__throw_logic_error(char const*)char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag)std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const*, std::allocator const&)/usr/autodesk/maya2017/lib/libMC3.so.9(+0x25d9f) [0x7f6f5de25d9f]/usr/autodesk/maya2017/lib/libMC3.so.9(+0x83b10) [0x7f6f5de83b10]CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*, bool)CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*)TCIPClient::initialize()TCIPClient::TCIPClient()TCIPClient::theOne()TbaseApp::cipReportStartup()TbaseApp::initGeneral()/usr/autodesk/maya2017/bin/maya.bin() [0x416232]Tapplication::start()/usr/autodesk/maya2017/bin/maya.bin() [0x40ee50]main__libc_start_main/usr/autodesk/maya2017/bin/maya.bin() [0x40e6ed]Segmentation fault (core dumped)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Stack trace:
gsignal
abort
__gnu_cxx::__verbose_terminate_handler()
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f6f62d536b6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f6f62d53701]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f6f62d53919]
std::__throw_logic_error(char const*)
char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag)
std::basic_string<char, std::char_traits,std::allocator >::basic_string(char const*, std::allocator const&)
/usr/autodesk/maya2017/lib/libMC3.so.9(+0x25d9f) [0x7f6f5de25d9f]
/usr/autodesk/maya2017/lib/libMC3.so.9(+0x83b10) [0x7f6f5de83b10]
CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*, bool)
CMLFacade::Initialize(CMLWaypoint*, wchar_t const*, wchar_t const*, int, unsigned int, long long, long long, wchar_t const*)
TCIPClient::initialize()
TCIPClient::TCIPClient()
TCIPClient::theOne()
TbaseApp::cipReportStartup()
TbaseApp::initGeneral()
/usr/autodesk/maya2017/bin/maya.bin() [0x416232]
Tapplication::start()
/usr/autodesk/maya2017/bin/maya.bin() [0x40ee50]
main
__libc_start_main
/usr/autodesk/maya2017/bin/maya.bin() [0x40e6ed]
Segmentation fault (core dumped)
This can be fixed by Disabling the Customer Improvement Program.
To disable it add MAYA_DISABLE_CIP=1 line to your Maya.env file. Bash:
echo "MAYA_DISABLE_CIP=1" >> ~/maya/2017/Maya.env
1
2
echo "MAYA_DISABLE_CIP=1" >> ~/maya/2017/Maya.env
Step 6: Color Management Errors / Single Matrix no inverse exists
Maya will start, and may or may not show the render view. You will also run into 6-7 Errors “Single Matrix no inverse Exists”








































To fix this, add “LC_ALL=C” to your Maya.env.
Bash:
echo "LC_ALL=C" >> ~/maya/2017/Maya.env
1
2
echo "LC_ALL=C" >> ~/maya/2017/Maya.env
Step 7: Alt Key for Camera Movement
Use this line to use the ALT-Key instead of the “Windows”-Key for modifying the Camera:
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier ""
1
2
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier ""
Final Script:
#!/bin/bash #Make sure we’re running with root permissions. if [ `whoami` != root ]; then echo Please run this script using sudo echo Just type “sudo !!” exit fi
#Check for 64-bit arch if [uname -m != x86_64]; then echo Maya will only run on 64-bit linux. echo Please install the 64-bit ubuntu and try again. exit fi
## Create Download Directory mkdir maya2017Install cd maya2017Install
## Download Maya Install Files wget
http://edutrial.autodesk.com/NET17SWDLD ... _64bit.tgz






tar xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
## Install Dependencies apt-get install -y gcc libssl1.0.0 libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi ttf-mscorefonts-installer libfam0 libfam-dev libgstreamer-plugins-base0.10-0 wget
http://launchpadlibrarian.net/183708483 ... _amd64.deb






## Install Maya alien -cv *.rpm dpkg -i *.deb echo "int main (void) {return 0;}" > mayainstall.c gcc mayainstall.c mv /usr/bin/rpm /usr/bin/rpm_backup cp a.out /usr/bin/rpm chmod +x ./setup ./setup rm /usr/bin/rpm mv /usr/bin/rpm_backup /usr/bin/rpm
## Fix Startup Errors ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3 ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10 ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
chmod 777 /usr/tmp
## Fix Segmentation Fault Error echo "MAYA_DISABLE_CIP=1" >> ~/maya/2017/Maya.env
## Fix Color Managment Errors echo "LC_ALL=C" >> ~/maya/2017/Maya.env
## Maya Camera Modifier Key gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
chmod 777 /usr/tmp
PATH="$PATH:/bin"
sudo apt-get install xfonts*











VyprVPN is the world's fastest VPN.
Features

VPN Apps

Why Use a VPN?

VyprVPN Server

Business

Support
Try It Free
English (US)
Golden Frog Support VyprVPN Manual Setup Linux (Ubuntu)
VyprVPN OpenVPN Setup for Linux (Ubuntu)

VyprVPN Free accounts are limited to using our Desktop and Mobile applications to connect to our VPN service. Please see "What is VyprVPN Free?" for more information.

Follow the steps below to configure OpenVPN on your Ubuntu machine. This tutorial was created using Ubuntu 16.04.1.

1. Open Terminal, which you can find by using the Ubuntu search feature.

2. Type the following command string and press Enter:

sudo apt-get install -y network-manager-openvpn network-manager-openvpn-gnome

This will install the necessary OpenVPN packages on the machine and add OpenVPN as an option in the desktop VPN configuration menu.



3. Restart network-manager by typing the following command and pressing Enter:

sudo service network-manager restart



4. Download the Golden Frog CA certificate and place it in the OpenVPN folder on your machine by typing the following command and pressing Enter. Ignore line breaks. This is one single command.

sudo wget https://support.goldenfrog.com/hc/artic ... pn.com.crt /etc/openvpn



5. Configure the OpenVPN connection by opening Network Connections. You can locate this by using the Ubuntu search feature.

6. Click Add.

7. Under VPN in the drop-down, choose OpenVPN and click Create.



8. Edit the information in the configuration screen as follows:

Connection name: VyprVPN
Gateway: Enter a server address. View a list of server addresses here.
Type: Select Password
Username: Your Golden Frog account email address
Password: Your Golden Frog account password
CA Certificate: Browse to /etc/openvpn and select ca.vyprvpn.com.crt


9. Click Advanced.

10. Check the option for Use LZO data compression and click OK.



11. Click Save.

How to Connect and Disconnect:

1. Click the Network Connections icon at the top of your desktop in right area of the menu bar. It will generally look like two arrows opposite each other or a WiFi signal.

2. Scroll down to VPN Connections.

3. Click VyprVPN and wait for the connection to establish.



4. You will see a pop-up once connected. Additionally, a lock icon will appear by your network icon in the top menu bar.



5. To disconnect any any time, navigate back to the Network Connections drop-down in the top menu bar, click VPN Connections, and then click Disconnect VPN.

6. Enjoy VyprVPN on your Ubuntu machine!



Don’t have a VyprVPN account?



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Recently viewed articles

VyprVPN CLI for Linux
Related articles

What are the VyprVPN server addresses?
VyprVPN CLI for Linux
VyprVPN PPTP VPN Setup for Linux (Ubuntu)
Where can I find the OpenVPN files?
VyprVPN Desktop and Mobile Apps
Powered by Zendesk
Help


This question already has an answer here:
Ubuntu gets stuck in a login loop 34 answers
I have a small issue with my Ubuntu (I think After an upgarde). When I try to login (Login Screen), I get disconnected and get back to the screen (again & again).

The solutions I tried (and not working are) :

Trying to login with others Desktop environements.
Booting from old kernel.
log in via command line [apt-get update && apt-get upgrade].
removing ** ~/.gconf** directory.
sudo apt-get install --reinstall ubuntu-desktop and sudo apt-get install unity
none of theses solutions worked, and I check all threads on this forum before Asking.

Press Ctrl+Alt+F3 and login into the shell using your username and your password. In this case username will be your username you set when you installed Ubuntu.

Now run ls -lah. If in the output the line(and look for the line that ends with .Xauthority)

-rw------- 1 root root 53 Nov 29 10:19 .Xauthority

then you need to do chown username:username .Xauthority and try logging in.

Else, do ls -ld /tmp. Check for the first 10 letters in the left: they should read exactly so: drwxrwxrwt.

drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp

Else, you need to do sudo chmod a+wt /tmp and check again.

If not both, I'd recommend you either
Make sure you are connected to internet with DHCP on.

sudo apt-get purge lightdm
sudo apt-get update
sudo apt-get install lightdm
dpkg-reconfigure lightdm
Now type sudo shutdown -r now to restart.
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#216

帖子 243750496 » 2016-11-03 8:07

sudo add-apt-repository ppa:nvbn-rm/ppa,(everpad)
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#217

帖子 243750496 » 2016-11-03 8:24

如果安装过nod32杀毒软件记得安装英伟达驱动的时候要先卸载nod32杀毒软件 不然会卡住无法完成安装( ppa 或run驱动都适用)
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#218

帖子 243750496 » 2016-11-03 16:28

If you own a ThinkPad, there's a piece of software called thinkfan that does exactly this. As the name obviously suggests, it is specifically made for ThinkPads (thinkpad_acpi).

The thinkfan software is available in the standard ubuntu software repositories, but it does require a few steps to configure.

Here's an easy step-by-step guide:

http://staff.science.uva.nl/~kholshei/thinkfan_guide/

(which is basically a translated version of this German guide:
http://thinkwiki.de/Thinkfan
)

Relevant Information from Post:

Step 1. Install the thinkfan software and the sensors:

sudo apt-get install thinkfan lm-sensors
Step 2. Make sure that the daemon controls the fan by editting the thinkpad.conf file:

sudo gedit /etc/modprobe.d/thinkfan.conf
by adding the following line:

options thinkpad_acpi fan_control=1



////////////////////////////////////////////////////////////////////////////////////////////////////////
步骤作用未知
cc@CC:~$ sudo apt-get install tp-smapi-dkms read-edid i2c-tools
cc@CC:~$ sudo modprobe -v thinkpad_acpi
cc@CC:~$ sudo modprobe -rv thinkpad_acpi
////////////////////////////////////////////////////////////////////////////////////////////////////////





Step 3. Make the daemon load automatically at start-up by editting the file:

sudo gedit /etc/default/thinkfan
making sure that the START key is set to yes, i.e. there should be a line that says:

START=yes

NOTE! Should "thinkfan" change the fanspeed too rapidly between the different levels, you can edit /etc/default/thinkfan as follows:

sudo nano /etc/default/thinkfan

Code: [Select]
DAEMON_ARGS="-q -b 1 -s 3"

Meaning of Options:

-b – so called "Bias" (Default: 5) is for making reaction speed better when temperatures change rapidly
-s – max time (in seconds) in between two temperature measurements (Default: 5)

Details in Manpage.
http://manpages.ubuntu.com/manpages/pre ... fan.1.html

http://manpages.ubuntu.com/manpages/tru ... fan.1.html

After changing this file, enable and start the service:

# Traditional:
Code: [Select]
sudo /etc/init.d/thinkfan start

# Upstart:
Code: [Select]
sudo service thinkfan start

For Stoping the service (only if you need to do so):

# Traditional:
Code: [Select]
sudo /etc/init.d/thinkfan stop

# Upstart:
Code: [Select]
sudo service thinkfan stop

Getting a list of Services (so you can confirm it is working):



Step 4. Detect your laptop's sensors:

sudo sensors-detect
and just choose the default answers whenever you're prompted by hitting Enter.

Step 5. Load the new modules. From ubuntu 13.10 this done by:

sudo service kmod start

Step 6. Figure out which sensors are in use:

sensors
(the ones that indicate 0 degrees are not in use, I don't know why those are "detected" too). Remember which ones are in use.

Step 7. Find out the full paths of these sensors:

find /sys/devices -type f -name "temp*_input"
The output should be a list of paths like
/sys/devices/virtual/hwmon/hwmon0/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
Step 8. Copy-paste the paths to the sensors into the configuration file /etc/thinkpad.conf. To do this, first open up the file:

sudo gedit /etc/thinkfan.conf
There should already be like
# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#

# I use this on my T61p:



######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# tp_thermal /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
#
http://www.thinkwiki.org/wiki/Thermal_Sensors
to find out how much you may
# want to add to certain temperatures.

# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#

# I use this on my T61p:
tp_fan /proc/acpi/ibm/fan
#tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
#(0, 0, 55)
#(1, 48, 60)
#(2, 50, 61)
#(3, 52, 63)
#(4, 56, 65)
#(5, 59, 66)
#(7, 63, 32767)
(0, 0, 45)
(1, 45, 48)
(2, 48, 55)
(3, 55, 58)
(4, 58, 60)
(5, 60, 63)
(6, 63, 65)
(7, 65, 32767) 55)
(3, 55, 58)
(4, 58, 60)
(5, 60, 63)
(6, 63, 65)
(7, 65, 32767)




Step 9. Finally we can set the fan speed levels in the configuration file. Open the /etc/thinkpad.conf file if it wasn't open already.


sudo thinkfan -n
which starts thinkfan in verbose mode. You might want to stop the thinkfan daemon first:

sudo /etc/init.d/thinkfan stop
If you want to start the thinkfan daemon again, type:

sudo /etc/init.d/thinkfan start
Just to be complete, my /etc/thinkfan.conf configuration file is:

# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# sensor /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
#
http://www.thinkwiki.org/wiki/Thermal_Sensors
to find out how much you may
# want to add to certain temperatures.

# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#

# I use this on my T61p:
#sensor /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

#(0, 0, 55)
#(1, 48, 60)
#(2, 50, 61)
#(3, 52, 63)
#(4, 56, 65)
#(5, 59, 66)
#(7, 63, 32767)
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#219

帖子 243750496 » 2016-11-03 18:30

teskdisk(ubuntu下恢复文件的好软件(尽管很小))
sudo photorec (恢复照片)
sudo testdisk (恢复文件)
disks->选择硬盘->右上角->Smart Data........(可以查看smart信息)
ubuntu 16.04 原生支持ntfs读写
sudo apt-get install btrfs-tools dmsetup e2fsprogs f2fs-tools dosfstools hfsutils hfsprogs jfsutils mdadm util-linux lvm2 ntfs-3g reiser4progs reiserfsprogs xfsprogs nfs-common nfs-kernel-server
gparted (分区软件)
sudo add-apt-repository ppa:nilarimogard/webupd8,(prime-indicator)
双显卡快速切换工具


Find Device Name

Find out what the device name is. Here's one way to do it, but it assumes you know the path starts with /dev/

sudo lsblk

Example

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 499M 0 part
├─sda2 8:2 0 108.8G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 113.6G 0 part /
└─sda6 8:6 0 15.7G 0 part [SWAP]
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /media/user/Seagate Backup Plus Drive
sr0 11:0 1 1024M 0 rom
mmcblk0 179:0 0 116.8G 0 disk
└─mmcblk0p1 179:1 0 116.7G 0 part /media/user/SD128

Example using fdisk

sudo fdisk -l

Disk /dev/sdb: 2000.4 GB, 2000398933504 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1a9fa046

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 3907029166 1953513559+ 7 HPFS/NTFS


Gnome-sticky-notes-applet In this case we're looking for the new 2TB USB 3.0 Seagate that is mounted to /media/user/Seagate Backup Plus Drive. It's partition is sdb1 which we can't tell from the size. It's currently formatted as NTFS.


Format Partition

We want exfat so it'll work on all operating systems and support great than 2GB files. Plus I want to rename the drive partition label so it doesn't have spaces for easier scripting and CLI activities.

sudo mkfs.exfat -n 'Eyefi Card' /dev/sdb1


如果用图形自带的disks软件也可以达到同样目的
常规操作->Type:Custom->Filesystem:exfat
不过如需读写请弹出并且重新挂载才能用
123.png
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#220

帖子 243750496 » 2016-11-04 10:33

$ sudo add-apt-repository ppa:stefansundin/truecrypt
Step 2- Update your local repositories list and install TrueCrypt
$ sudo apt-get update
$ sudo apt-get install truecrypt seahorse

加密软件
sudo add-apt-repository ppa:rednotebook/daily
跨平台开源日记软件
上次由 243750496 在 2016-11-04 14:57,总共编辑 1 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#221

帖子 243750496 » 2016-11-04 10:44

最近装黑苹果某次更新后进不去了,看错误提示是更新后官方的声卡驱动和我加的驱动冲突了,所以删掉一个。
Windows下好像有软件能读写HFS分区,但我只有Linux,搜索了一下找到了解决方案,分享一下:Linux默认可读到HFS+分区,但只有read权限。如果需要write权限则需要关掉journal功能,因为linux只支持读写non-journaled HFS+
一.关闭journal如果你能打开OS X:
#关闭Journal
$ diskutil disableJournal disk0s2
Journaling has been disabled on disk0s2

#打开Journal
$ diskutil enableJournal disk0s2
Journaling has been enabled on disk0s2
#关闭Journal
$ diskutil disableJournal disk0s2
Journaling has been disabled on disk0s2
#打开Journal
$ diskutil enableJournal disk0s2
Journaling has been enabled on disk0s2
如果你只有Linux:
下载journalling_off.c源码
http://pastebin.com/W8pfgHRe
或者 journalling_off
gcc journalling_off.c -o journalling_off
sudo ./journalling_off /dev/sda2

</code>sudo ./journalling_off /dev/sda2
attributes = 0x80002100
journal has been disabled.
gcc journalling_off . c - o journalling_off
sudo . / journalling_off / dev / sda2
< / code > sudo . / journalling_off / dev / sda2
attributes = 0x80002100
journal has been disabled .
二.挂载hfs+分区
sudo mkdir /media/mac
sudo mount -t hfsplus -o force,rw /dev/sda2 /media/mac/
sudo mkdir / media / mac
sudo mount - t hfsplus - o force , rw / dev / sda2 / media / mac /
如果没有出现警告就成功了
三.
无法挂载或者只读挂载,需要装hfsprogs来支持hfs
sudo apt-get install hfsprogs
sudo fsck.hfsplus -f /dev/sda2
sudo apt - get install hfsprogs
sudo fsck . hfsplus - f / dev / sda2
参考:
http://ubuntuforums.org/showthread.php?t=1490340
http://blog.ixtr.me/2013/04/linux%E4%BD%BF%E7%94%A8HFS/
http://blog.csdn.net/ibingow/article/details/8125450
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#222

帖子 243750496 » 2016-11-21 9:43

http://www.2manuals.com/forum/index.php ... der-linux/
http://download.ebz.epson.net/dsc/searc ... archModule
sudo apt install python3-pip
sudo pip3 install --upgrade pip
sudo add-apt-repository ppa:audacity-team/daily
sudo apt-get update
sudo apt-get install audacity
vbox:
VBoxGuestAdditions_2.2.0.iso(扩展屏幕分辨率)
添加usb支持:Oracle_VM_VirtualBox_Extension_Pack-5.1.10-112026.vbox-extpack
注:要用2.0端口不要用3.0
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#223

帖子 243750496 » 2016-11-28 16:04

sudo apt-get install compizconfig-settings-manager

Once opened, search for a “Move Window” plugin. Select it, and disable or change the first option, “Initiate Window Move”.
BwmmW.png
Screenshot from 2016-11-28 19-27-43.png
禁用系统alt解决了wine Photoshop 中仿制图章快捷键冲突
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#224

帖子 243750496 » 2016-12-01 13:49

消除恼人photoshop标签(Preference->Interface->show tool tips取消勾选)
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#225

帖子 243750496 » 2016-12-04 12:04

sudo add-apt-repository ppa:pj-assis/testing
sudo apt-get update
sudo apt-get install guvcview
支持罗技c930e
回复