ubuntu9.10
源
deb jaunty main multiverse restricted universe
deb jaunty-backports main multiverse restricted universe
deb jaunty-proposed main multiverse restricted universe
deb jaunty-security main multiverse restricted universe
deb jaunty-updates main multiverse restricted universe
deb-src jaunty main multiverse restricted universe
deb-src jaunty-backports main multiverse restricted universe
deb-src jaunty-proposed main multiverse restricted universe
deb-src jaunty-security main multiverse restricted universe
deb-src jaunty-updates main multiverse restricted universe
ubuntu10.04
源
deb lucid main restricted universe multiverse
deb-src lucid main restricted universe multiverse
deb lucid-updates main restricted universe multiverse
deb-src lucid-updates main restricted universe multiverse
deb lucid-backports main restricted universe multiverse
deb-src lucid-backports main restricted universe multiverse
deb lucid-security main restricted universe multiverse
deb-src lucid-security main restricted universe multiverse
哈工大的源:12.04
哈爾濱工業大學更新伺服器,包含其他開源映象:
deb precise main restricted universe multiverse
deb precise-security main restricted universe multiverse
deb precise-updates main restricted universe multiverse
deb precise-backports main restricted universe multiverse
deb precise-proposed main restricted universe multiverse
deb-src precise main restricted universe multiverse
deb-src precise-security main restricted universe multiverse
deb-src precise-updates main restricted universe multiverse
deb-src precise-backports main restricted universe multiverse
deb-src precise-proposed main restricted universe multiverse
鏈結(其他源位址):
有了源之後怎麼改呢?
sudo gedit /etc/apt/source.list
然後複製貼上覆蓋掉裡面全部東西(不要不捨得。。。)
最後:
sudo apt-get update即可
Ubuntu18下使用Valgrind工具
專案有一塊很小的記憶體洩露,但一直找不到原因 只能借助工具來定位問題。apt get install valgrind 首先生成乙個可執行檔案的demo,內部不能有死迴圈。用以下命令,可以在當前目錄下生成乙個log.txt檔案 usr bin valgrind tool memcheck leak ...
如何在ubuntu下使用gyp編譯配置工具
1.首先在ubuntu下安裝gyp,命令如下 sudo apt get install gyp 安裝好gyp工具。2.然後在ubuntu下安裝make,命令如下 apt install make 3.然後安裝g 命令如下 sudo apt get install build essential 4....
ubuntu16 部署python3學習工作環境
ubuntu16版本自帶python2.7和3.5,但預設環境是2.7,要修改為3.5,直接執行這兩個命令即可 sudo update alternatives install usr bin python python usr bin python2 100 sudo update alterna...