Linux Mint Debian问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux Mint Debian问题相关的知识,希望对你有一定的参考价值。
mint可以用debian的源吗,Mint官方源在国内慢,所以换成163的testing源,aptitude install 安装软件包的时候会把系统很多软件卸载掉,菜单里的中文也变成英文了。我就安装了emacs,gedit等软件就被卸载了,然后我重新安装gedit,更新了系统软件包,重启,系统就进不去了。
建议用ubuntu的官方源,就这样。testing源里的包,不稳定。
最近163源抽风比较厉害,可以试试sohu的。
aptitude install我没用过,一般都是用apt-get。追问我安装的mint是基于debian的不是基于ubuntu的,用ubuntu的源是否会出问题?
追答ubuntu也是基于debian的。而且在我印象中,mint应该是基于ubuntu才对。
反正我用的时候,都是用ubuntu的源,你试试看啊,反正换个源方便得很。
我大概知道了,你用的是LMDE,直接基于Debian,而且采用滚动升级。不能确定问题的原因。如果是虚拟机的话,重装吧。
追问mint现在有两种,一个版本是基于ubuntu的,后来又开发了一个基于debian的。
追答那真不知道什么原因了。
参考技术A
MINT 有两个版本,有一个下载时文件名有DEBIAN字眼,这个才可以。
sh 在Linux Mint Debian(Cinnamon)上安装开发软件
#!/bin/bash
# Create tmp dir
echo "Creating temporal dir..."
mkdir ~/installation-dev
cd ~/installation-dev
# Add Google Chrome to APT
echo "Adding Google Chrome to APT..."
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
# Install apt packages
echo "Installing packages via APT"...
sudo apt-get -y install curl wget build-essential unzip gnutls-bin nfs-common nfs-kernel-server php5 php5-cli nodejs mysql-workbench git virtualbox virtualbox-qt virtualbox-dkms linux-headers-amd64 nodejs owncloud-client vim google-chrome-stable network-manager-openvpn network-manager-openvpn-gnome inkscape gimp
# Trust my self-signed cert
echo "Adding certs..."
gnutls-cli --print-cert yourdomain.here </dev/null| sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > yourdomain.here.crt
sudo cp yourdomain.here.crt /usr/local/share/ca-certificates/yourdomain.here.crt
sudo update-ca-certificates
# Install Sublime Text 3
echo "Installing Sublime Text 3..."
wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3065_amd64.deb
sudo dpkg -i sublime-text_build-3065_amd64.deb
git clone https://github.com/mimopo/sublime-settings.git ~/.config/sublime-text-3/Packages/User
wget https://sublime.wbond.net/Package%20Control.sublime-package -P ~/.config/sublime-text-3/Installed\ Packages/
# Install Skipper
echo "Installing Skipper..."
wget http://downloads.skipper18.com/3.0.1.1129/Skipper-3.0.1.1129-Linux-all-64bit.zip
unzip Skipper-3.0.1.1129-Linux-all-64bit.zip -d skipper
sudo mv skipper /opt/skipper
echo "#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Name=Skipper
GenericName=Skipper
Comment=Skipper
Exec=/opt/skipper/Skipper %F
Terminal=false
Icon=Skipper
Categories=Database;Development;
StartupNotify=true
Icon[es_ES]=/opt/skipper/Skipper.ico" > ~/.local/share/applications/skipper.desktop
# Install Vagrant
echo "Installing Vagrant..."
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
sudo dpkg -i vagrant_1.6.5_x86_64.deb
# Install Composer
echo "Installing Composer..."
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
# Install PHP linters
echo "Installing PHP Linters..."
composer global require fabpot/php-cs-fixer @stable
composer global require phpmd/phpmd @stable
composer global require "squizlabs/php_codesniffer=*"
git clone https://github.com/leaphub/phpcs-symfony2-standard.git ~/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Symfony2
# Install NPM
echo "Installing NPM..."
sudo update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100
curl https://www.npmjs.org/install.sh | sudo sh
# Install NodeJS packages
echo "Installing NodeJS packages..."
sudo npm install -g less
sudo npm install -g bower
sudo npm install -g csslint
sudo npm install -g jshint
# Configure Git
echo "Configuring git..."
git config --global credential.helper "cache --timeout=3600"
echo -n "git config: Introduce tu nombre completo > "
read input
git config --global user.name $input
echo -n "git config: Introduce tu email > "
read input
git config --global user.email $input
echo "git config:"
git config --global -l
# Generate ssh key
echo "Generating ssh key..."
ssh-keygen -t dsa -b 1024
# Remove tmp dir
echo "Removing temporal dir..."
cd
rm -Rf ~/installation-dev
echo "Finished"
以上是关于Linux Mint Debian问题的主要内容,如果未能解决你的问题,请参考以下文章
基于Ubuntu和基于Debian的Linux Mint 20新特性一览
如何在 Ubuntu/Debian/Linux Mint 中编译和安装 wxWidgets
Linux mint与Ubuntu哪个好?有啥区别?
Pyqt5 & QML2 部署在 debian/mint (dev - ubuntu)
安装Linux Mint 17后要做的20件事
安装Linux Mint 17后要做的20件事