Uninstall python built from source?
Question I've installed python 2.6 from source, and somehow later mistakenly installed another python 2.6 from a package manager too.
I can't find a way to uninstall a python that was built from source, is this possible/easy?
Running ubuntu 10.04.
Answer You can use checkinstall to remove Python. The idea is:
Install checkinstall Use
checkinstall to make a deb of your
Python installation
Use dpkg -r to
remove the deb.
See this post for more details.…
Read more ⟶docker-ce : Depends: libseccomp2 (>= 2.3.0) but 2.2.3-3ubuntu3 is to be installed
Question I'm installing Docker on my Ubuntu machine and I'm following this tutorial
Install Docker Engine on Ubuntu
When I run sudo apt-get install -y docker-ce it does not install Docker on my machine and is giving the following error:
$ sudo apt-get install -y docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.…
Read more ⟶Process permanently stuck on D state [closed]
Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
</div>
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.…
Read more ⟶Cannot find libcrypto in Ubuntu
Question I want to try one program which have makefile on it but when I put make in the shell the error was:
g++ -g -DaUNIX -I../../acroname/aInclude -I../../acroname/aSource -Wl,-rpath,. unix_aLaserDemo_Data/aLaserDemo.o unix_aLaserDemo_Data/acpLaser.o -lpthread -lcrypto -lssl -o ../../acroname/aBinary/aLaserDemo
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
Here is the makefile:
CC = g++
CFLAGS = -DaUNIX -I../../acroname/aInclude -I../../acroname/aSource
LFLAGS = -Wl,-rpath,.
SRC = ../../acroname/aSource
BIN = ../../acroname/aBinary
LIBS = -lpthread -lcrypto -lssl \
#LIBS = -lpthread\
-L.…
Read more ⟶PostgreSQL error: could not connect to database template1: could not connect to server: No such file or directory
Question I need to create database.
First I run: sudo su - postgres, then: createdb test
And I keep getting this error: createdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"
This is unexpected, I have never encountered any problems with psql, but this time I don't get what is wrong.…
Read more ⟶SVN permission denied - txn-current-lock
Question I have just set up svn on my ubuntu server. I have a my user I can login to. The problem is that whenever I try to make a change on the file structure I get a permission denied error. Can't open file '/var/www-svn/db/txn-current-lock':
Permission denied
My repo is in /var/www-svn and the permission on that folder is drwxr-xr-x for user AND group svn (I am bad with permissions so I don't know if that's correct).…
Read more ⟶How can I commit a single file using SVN over a network?
Question I am able to check out an entire svn repository using the following command: svn co https://myaccount.svn.beanstalkapp.com/myapp/
But I cannot figure out the command to commit a single file. If I make to change to myapp/page1.html. How can I check in just that one file?
Answer cd myapp/trunk
svn commit -m "commit message" page1.html
For more information, see:
svn commit --help
I also recommend this free book, if you're just getting started with Subversion.…
Read more ⟶