title | copyright | date | tags | categories | ||
---|---|---|---|---|---|---|
ubuntu配置 |
true |
2017-10-29 14:55:50 -0700 |
|
ubuntu 安装 |
更换阿里云的源
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
list文件在/etc/apt/sources.list
下
然后更新源和软件
sudo apt-get update
sudo apt-get dist-upgrade
ubuntu上有nvidia的驱动
使用双系统时间不同,故要使用
sudo timedatectl set-local-rtc 1
sudo apt-get remove unity-webapps-common
sudo apt-get install vim
sudo apt-get install vpnc git
Ubuntu默认不支持exFat文件系统的挂载,需要手动安装exfat的支持
sudo apt-get install exfat-fuse
sudo ntfsfix /dev/sda8
官网下载最新版本 atom
安装uget和aria2
sudo apt-get install uget aria2
配置
a.打开uget。
b.打开界面的编辑—>设置—>插件,插件匹配顺序:aria2 。
c.打开界面的分类—>默认一般设置。调整最大连接数(建议在5)。设置一下下载文件夹。
在火狐中使用Flashgot扩展就可以。
- 添加源安装
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5
使用 wine staging ( 开发版本的 wine )安装详细教程 https://wine-staging.com/installation.html
sudo dpkg --add-architecture i386
#add the repository:
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/
#install
sudo apt-get update
sudo apt-get install --install-recommends winehq-staging
去qq官网下载TIM 我使用的是TIM1.2。
安装wine后 ,命令执行winecfg
然后会安装一些插件,选择安装它们。然后拷贝windows字体(不安装字体会使一些字无法查看)。
windows字体在c:\windows\fonts
把这个目录下字体全部复制到wine下的设置目录下:
~/.wine/drive_c/windows/Fonts/
重载所有wine的配置wineboot
再次打开wine winecfg
配置如图
然后重启一下wine wineboot
。安装tim时,使用Wine Windows Program Loader 打开TIM。然后就是windows下安装程序——点点点。
备注:此方法有个bug 当TIM打开讨论组时会是TIM崩溃。
建立桌面快捷方式
[Desktop Entry]
Encoding=UTF-8
Version=1.2
Name[en_US]=TIM
Name[zh_CN]=腾讯TIM
Exec=env LC_ALL=zh_CN.utf8 wine /home/h/.wine/drive_c/Program\ Files\ \(x86\)/Tencent/TIM/Bin/TIM.exe
Icon=/home/h/we/electronic-wechat-linux-x64/photo/TIM.ico
Terminal=false
NoDisplay=false
StartupNotify=true
Type=Application
Categories=Network;InstantMessaging;
项目在 github 上 。 我使用源码安装失败了,npm总是出错,不知为什么。(如果你使用源码安装成功,请求教)最后使用安装版,见此 https://github.com/geeeeeeeeek/electronic-wechat/releases
在桌面上建立图标
[Desktop Entry]
Encoding=UTF-8
Name=微信
Comment=electronic-wechat
Exec=/home/h/we/electronic-wechat-linux-x64/electronic-wechat
Icon=/home/h/we/electronic-wechat-linux-x64/photo/icon.png
Terminal=false
StartupNotify=true
Type=Application
Categories=Application
首先下载最新的python版本,这个在python官网上下载python官网
解压 进入其目录
./configure
make
make install
安装完后检查二进制文件的位置
which python3
python3 -V #V是大写的
首先安装npm和 nodejs
sudo apt-get install nodejs-legacy
suao apt-get install npm
ubuntu上安装时npm和nodejs都是低版本。
- 升级npm
sudo npm install npm -g
- 升级node.js
sudo npm install -g n
sudo n stable
- 安装gnome
sudo apt-get install gnome
-
arc主题 在github上的项目 horst3180/arc-theme
-
Papirus图标 github上项目PapirusDevelopmentTeam/papirus-icon-theme
sudo add-apt-repository ppa:papirus/papirus
sudo apt-get update
sudo apt-get install papirus-icon-theme