sudo ifconfig wlan0 down sudo rmmod -f ath9k sudo modprobe ath9k nohwcrypt=1 sudo ifconfig wlan0 up
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Thursday, May 9, 2013
How to fix slow 4G/3G internet on ubuntu
Monday, September 10, 2012
Cyrillic support in Latex (ubuntu version)
Error in TexMaker: Package babel Error: No Cyrillic encoding definition files were found.
Solution:
install package: texlive-lang-cyrillic
apt-get install texlive-lang-cyrillic
Friday, September 24, 2010
Installation on Ubuntu Lucid
The problem with locales:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
set locale:
/usr/share/locales/install-language-pack
Repositories list: /etc/apt/sources.list
get installed pkgs: dpkg --get-selections
dpkg --get-selections|grep python
gcc installation:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
gcc -v
make -v
gmake:
sudo ln -s /usr/bin/make /usr/bin/gmake
svn:
sudo apt-get install subversion
django:
sudo apt-get install apache2 libapache2-mod-python
svn co http://code.djangoproject.com/svn/django/trunk/ django_src
python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
ln -s `pwd`/django_src/django YOUR-DIR/django
sudo cp ~/django_src/django/bin/django-admin.py /usr/local/bin
for posgresql:
apt-get install libreadline6
apt-get install libreadline6-devel
apt-get install libz-dev
psycopg2:
sudo apt-get install python-psycopg2
chardet:
wget http://chardet.feedparser.org/download/python2-chardet-2.0.1.tgz
tar -xzvf python2-chardet-2.0.1.tgz
cd python2-chardet-2.0.1
python setup.py install
matplotlib:
sudo apt-get install python-matplotlib
chmod 777 /dir-with-.mathplotlib or export HOME=any-dir-with-writing-access
PIL:
sudo apt-get install python-imaging
for R:
sudo gedit /etc/apt/sources.list
deb http://rh-mirror.linux.iastate.edu/CRAN/bin/linux/ubuntu lucid/
sudo apt-get update
sudo apt-get install r-base
after that I got problem trying to execute R:
/usr/lib/R/bin/exec/R: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC
the solution:
sudo rm /usr/local/lib/libreadline.*
sudo ldconfig
postgresql:
wget http://wwwmaster.postgresql.org/redir/180/f/source/v9.0.0/postgresql-9.0.0.tar.bz2
bunzip2 postgresql-9.0.0.tar.bz2
tar xzvf postgresql-9.0.0.tar
cd postgresql-9.0.0
./configure
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
set locale:
/usr/share/locales/install-language-pack
Repositories list: /etc/apt/sources.list
get installed pkgs: dpkg --get-selections
dpkg --get-selections|grep python
gcc installation:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
gcc -v
make -v
gmake:
sudo ln -s /usr/bin/make /usr/bin/gmake
svn:
sudo apt-get install subversion
django:
sudo apt-get install apache2 libapache2-mod-python
svn co http://code.djangoproject.com/svn/django/trunk/ django_src
python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
ln -s `pwd`/django_src/django YOUR-DIR/django
sudo cp ~/django_src/django/bin/django-admin.py /usr/local/bin
for posgresql:
apt-get install libreadline6
apt-get install libreadline6-devel
apt-get install libz-dev
psycopg2:
sudo apt-get install python-psycopg2
chardet:
wget http://chardet.feedparser.org/download/python2-chardet-2.0.1.tgz
tar -xzvf python2-chardet-2.0.1.tgz
cd python2-chardet-2.0.1
python setup.py install
matplotlib:
sudo apt-get install python-matplotlib
chmod 777 /dir-with-.mathplotlib or export HOME=any-dir-with-writing-access
PIL:
sudo apt-get install python-imaging
for R:
sudo gedit /etc/apt/sources.list
deb http://rh-mirror.linux.iastate.edu/CRAN/bin/linux/ubuntu lucid/
sudo apt-get update
sudo apt-get install r-base
after that I got problem trying to execute R:
/usr/lib/R/bin/exec/R: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC
the solution:
sudo rm /usr/local/lib/libreadline.*
sudo ldconfig
postgresql:
wget http://wwwmaster.postgresql.org/redir/180/f/source/v9.0.0/postgresql-9.0.0.tar.bz2
bunzip2 postgresql-9.0.0.tar.bz2
tar xzvf postgresql-9.0.0.tar
cd postgresql-9.0.0
./configure
Subscribe to:
Posts (Atom)
