ubuntu-10.10

installation of libevent development libraries in ubuntu

烈酒焚心 提交于 2019-12-05 01:47:26
I am using ubuntu 10.10 trying to install libevent development libraries libevent1 and libevent2. I used the below command- apt-get install libevent-dev libevent1-dev But it shows- Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libevent1-dev Then i used- apt-get install libevent-dev But it says libevent-dev is already a newest version. Is that libevent2? I'm a root user. Am I doing anything wrong? Does ubuntu 10.10 support libevent2? Really appreciate your help. Thanks Yes, libevent-dev installs libevent2. If you check what

pcap.h header file problem

女生的网名这么多〃 提交于 2019-12-03 22:07:58
anyone know how to fix the problem regarding header file in ubuntu 10.10. I am executing a sniffing program which makes use of this header file. My system shows libcap package is installed. Still, on compiling the code, an error is coming which reads: fatal error: pcap.h: No such file or directory compilation terminated. Please help me out. Thanks all:) sudo apt-get install libpcap0.8-dev The system won't let me correct Eric Fossum's comment, because I lack reputation. There is a typo ("libcap" vs. "libpcap") and his suggested command should read the following: sudo apt-get install libpcap-dev

How do I run Google Chrome as root? [closed]

强颜欢笑 提交于 2019-12-03 07:20:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 10 months ago . I have installed Google Chrome in Ubuntu 10.10. When I try to use in normal user, it is working fine. Now if I want to use as a root it gives the following error: Google Chrome does not run as root Also when I tried the following command in terminal, it opens Google Chrome: google-chrome --user-data-dir I need

gvim: Easy copying into system clipboard

假装没事ソ 提交于 2019-12-02 22:06:24
I am using gVim on Ubuntu 10.10. I want to copy (yank) text to the system clipboard, so that the copied text is available in other applications. This works with "+y . But I want to have it working with y . I have tried to map y to "+y but then yy doesn't work anymore (since it produces "+y"+y ). I have also tried :set clipboard=unnamed but this works only the other direction: Text in the system clipboard I can paste with p . Did you try to map with this command: noremap y "+y ? This mapping contains a serious mistake: it maps y in normal, visual and operator-pending modes, while you need only

How do I run Google Chrome as root? [closed]

天涯浪子 提交于 2019-12-02 20:50:56
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I have installed Google Chrome in Ubuntu 10.10. When I try to use in normal user, it is working fine. Now if I want to use as a root it gives the following error: Google Chrome does not run as root Also when I tried the following command in terminal, it opens Google Chrome: google-chrome --user-data-dir I need a permanent solution for this. Can anybody give me idea about this? Run from terminal # google-chrome --no

Mysql problem: no mysql.sock

一个人想着一个人 提交于 2019-12-01 08:45:53
Yesterday I was working using MySQL installed on my computer. I downloaded xampp, so I have I changed on my.cnf file the path to the socket: /opt/lampp/var/mysql/mysql.sock That file was just there. Today I wanted to keep working on it, and I found that file is not there anymore, so I am getting the following error while I am starting mysql server: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) Here are some tests I made: mujeresponja@ubuntu:~$ ps -fea | grep mysqld 1000 15707 15615 0 16:28 pts/1 00:00:00 grep --color=auto mysqld

Mysql problem: no mysql.sock

丶灬走出姿态 提交于 2019-12-01 07:04:59
问题 Yesterday I was working using MySQL installed on my computer. I downloaded xampp, so I have I changed on my.cnf file the path to the socket: /opt/lampp/var/mysql/mysql.sock That file was just there. Today I wanted to keep working on it, and I found that file is not there anymore, so I am getting the following error while I am starting mysql server: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) Here are some tests I made:

ImportError: No module named bottle

我的未来我决定 提交于 2019-12-01 03:40:23
$ sudo pip install bottle Downloading/unpacking bottle Downloading bottle-0.10.7.tar.gz (55Kb): 55Kb downloaded Running setup.py egg_info for package bottle Installing collected packages: bottle Found existing installation: bottle 0.10.7 Uninstalling bottle: Successfully uninstalled bottle Running setup.py install for bottle changing mode of build/scripts-2.6/bottle.py from 640 to 755 changing mode of /usr/local/bin/bottle.py to 755 Successfully installed bottle >>> help('modules') blahblah bottle blahblah $ ls /usr/local/lib/python2.6/dist-packages/ bottle-0.10.7.egg-info bottle.py bottle.pyc

ImportError: No module named bottle

↘锁芯ラ 提交于 2019-11-30 23:37:09
问题 $ sudo pip install bottle Downloading/unpacking bottle Downloading bottle-0.10.7.tar.gz (55Kb): 55Kb downloaded Running setup.py egg_info for package bottle Installing collected packages: bottle Found existing installation: bottle 0.10.7 Uninstalling bottle: Successfully uninstalled bottle Running setup.py install for bottle changing mode of build/scripts-2.6/bottle.py from 640 to 755 changing mode of /usr/local/bin/bottle.py to 755 Successfully installed bottle >>> help('modules') blahblah

Intellij right click context menu problems in Ubuntu

﹥>﹥吖頭↗ 提交于 2019-11-30 15:44:26
问题 I have a problem exactly described in http://devnet.jetbrains.net/thread/292434;jsessionid=771E7DC3F119EA0C822164B3A4556372?tstart=0 however I am just using the plain Intellij with Ubuntu. OS: Linux-Ubuntu-10.10 (32 bit)- Latest Desktop Manager : GNOME default JDK: JDK 1.6.0_24 Oracle Latest update IDEA: 10.0 Latest build Build: IU-103.72 click and hold right mouse button -> context menu shows up -> release mouse button -> context menu disappears I am normally used to that the context menu