網頁

2018年9月14日 星期五

ubuntu install



1.更新apt-get
sudo apt-get purge libappstream3
sudo rm -rf /var/lib/dpkg/lock
sudo rm -rf /var/cache/apt/archives/locksudo apt-get update
sudo dpkg --configure -a
sudo apt-get upgrade -y

2.google chrome
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb

3.新酷音
中文版ubuntu
http://blog.xuite.net/yh96301/blog/342227672-Ubuntu+16.0.4%E6%96%B0%E5%A2%9E%E4%B8%AD%E6%96%87%E8%BC%B8%E5%85%A5%E6%B3%95-%E6%96%B0%E9%85%B7%E9%9F%B3%E8%BC%B8%E5%85%A5%E6%B3%95

4.vim
sudo apt-get install vim

5. rdesktop
i.安裝
sudo apt-get install rdesktop
ii. 連線
rdesktop -f 192.168.1.1
iii. 查詢指令設定
rdesktop --help
iv. 進階指令
rdesktop -f -a 32 -u 使用者名稱 -p 密碼 140.112.182.xxx -r sound:on -g 1600*1200
-f 代表全螢幕
-a 32 代表32位元全彩 (16代表16位元高彩)
Ctrl+Alt+Enter 退出全螢幕
rdesktop -f -a 32 -u 使用者名稱 -p 密碼 140.112.182.xxx -r sound:on -g 1600*1200
-g 1600*1200 代表ubuntu視窗顯示大小

6. qtiplot
sudo apt-get install qtiplot

參考
https://www.jianshu.com/p/91fb0b1c6815

7. VMD
1.下載到家目錄
https://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD

2. 解壓縮
tar -xvf vmd-1.9.4a12.bin.LINUXAMD64-CUDA9-OptiX411-OSPRay140.opengl.tar.gz

3. 進去vmd資料夾
cd vmd-1.9.4a12
4. 更改Configure路徑
vi configure

$install_bin_dir="/home/chiustin/vmd-1.9.4a12/bin";
$install_library_dir="/home/chiustin/vmd-1.9.4a12/lib";

5. 執行Configure腳本
./configure

執行完會出現
using configure.options: LINUXAMD64 OPENGL OPENGLPBUFFER FLTK TK ACTC CUDA IMD LIBSBALL XINERAMA XINPUT LIBOPTIX LIBOSPRAY LIBTACHYON VRPN NETCDF COLVARS TCL PYTHON PTHREADS NUMPY SILENT ICC

6. 進去src資料夾
cd src

7. 執行Makefile安裝
sudo make install

8. 開啟VMD
vmd

8. playonlinux
https://www.playonlinux.com/en/download.html

9.  PlayOnLinux - for Microsoft Office 2010 and higher
https://wiki.winehq.org/Ubuntu
ubuntu 16.04
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
解開Office_2010_Pro_Chinese.iso (Wine64無法讀iso檔)
安裝選擇exe檔

ubuntu 18.04 (bionic version)
https://wiki.winehq.org/Ubuntu
sudo dpkg --add-architecture i386wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
(https://www.playonlinux.com/en/download.html bionic version)
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_bionic.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux
sudo apt-get install xterm p7zip-fullplayonlinux
sudo apt-get install winbind
解開Office_2010_Pro_Chinese.iso (Wine64無法讀iso檔)
安裝選擇exe檔

參考
http://ubuntuhandbook.org/index.php/2018/09/how-to-install-wine-stable-3-0-3-in-ubuntu-18-04/

10. Avogadro
https://pkgs.org/download/avogadro
下載Ubuntu 18.04 LTS (Bionic Beaver)

11. git

12. cmake
./bootstrap && make && sudo make install

13. Sublime Text 3.1
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
sudo apt-get remove sublime-text && sudo apt-get autoremove (uninstall)

沒有留言:

張貼留言