安装WPS
ubuntu 16 默认安装了liberoffie,其实蛮好用的,但是不知道为什么打开Windows下用微软office创建的PPT会卡死,很蛋疼,所以想要把office软件换成WPS的Linux 版本。
STEP 1
到金山WPS的官方网址下载对应版本的deb安装包。 WPS官方网站 :http://linux.wps.cn/ (区分64位、32位)
STEP2
先不要执行dpkg -i 去执行安装。这个地方有个问题,就是ubuntu 16 版本不支持32位的支持库,所以需要安装一下支持库。 32位的支持库名为:ia32-libs 安装的时候会提示有替代包,需要安装替代包。 命令如下
|
|
STEP3
还是不要执行dpkg -i ,因为即使现在安装还是会缺少一个依赖。这个依赖是libpng-12.0。不过这个在默认的apt 仓库里没有。所以需要手动下载一下。 下载地址:https://packages.debian.org/zh-cn/wheezy/amd64/libpng12-0/download
下载完成后,执行dpkg -i 安装这个依赖。
|
|
STEP4
到了这一步,安装WPS的deb就没有问题了。执行dpkg -i 即可。
|
|
STEP 5
最后一步,打开WPS 会报出一个字体缺少的对话框。
下载该字体wps_symbol_fonts.zip,解压后将整个wps_symbol_fonts目录拷贝到 /usr/share/fonts/ 目录下
注意,wps_symbol_fonts目录要有可读可执行权限 。 1.权限设置,执行命令如下
|
|
2.生成缓存配置信息 进入字体目录
|
|
参考:
http://download.csdn.net/download/wl1524520/6333049 http://www.cnblogs.com/xueranzp/p/5703791.html http://download.csdn.net/download/wl1524520/6333049
安装 Matlab R2017a
Download
- SJTU-putao
- BaiduNetDisk
- DownloadIy.ir
Installation
- Mount dvd1.iso
|
|
We created a temporary folder to mount dvd1.iso and dvd2.iso(later). Please do not mount dvd2.iso before installation.
Installation
1
sudo /home/<username>/Matlab/install
Notice: The installation will be terminated if the terminal is at /home//Matlab . At first, you choose offline verification, and the license number lies in readme.txt in the “Crack” folder. Copy and paste the very first key (begin with 09806).
Mount dvd2.iso When the installation process goes to 75%, it asks for the dvd2.iso. We open another terminal (Ctrl+Alt+T), and do:
|
|
Then we go back to the interface of installation to countinue.
Umount
1 2 3
sudo umount /home/<username>/Matlab sudo umount /home/<username>/Matlab sudo rm -r /home/<username>/Matlab
You need umount it twice because we mounted it twice. And you can choose to delete the temporary folder.
Crack
You'd better open Matlab later.
1 2 3
sudo mkdir /usr/local/MATLAB/R2017a/bin/licenses/ sudo cp license_standalone.lic所在的目录 /usr/local/MATLAB/R2017a/bin/licenses/ sudo cp libmwservices.so所在的目录 /usr/local/MATLAB/R2017a/bin/glnxa64/
/usr/local/MATLAB/ is the default installation folder of Matlab.
Launch
|
|
At first launch, you may need to provide the license file. Locate it and finish activation.
- Shortcut
Some approaches to launch matlab conveniently.
a. matlab-support Go to software center and install matlab-support. Or enter:
|
|
Then you can launch it when searching applications.
You may find problems named Java error. The issue was that the .matlab folder in the Home directory was owned by root after this install. Try:
|
|
but still some questions:
I found that changing only the ~/.matlab folder to be mine would allow the software to launch with -nojvm but the other start options showed errors. I originally thought this was a java issue, but actually it was hitting java IO exceptions from the bad folder permissions.
From:https://cn.mathworks.com/matlabcentral/answers/98599-why-will-matlab-not-start-up-properly-on-my-linux-or-unix-based-system
b. alias Change ~/.bashrc and add permanent alias.
c. Desktop shortcut