How does one go about removing nonfree software from Debian Linux??
location: linuxquestions.com - date: April 13, 2015
## sources.list ##
deb http://ftp.us.debian.org/debian testing main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
## sources.list ##
-
Does removing contrib and non-free from sources.list followed by update/upgrade/autoremove
result in the removal of non-free software?
-
My previous sources.list file had main, contrib and non-free components for the each line (see above). I removed contrib and non-free from each line and ran
# sudo apt-get updates
# sudo apt-get upgrade
and finally
# sudo apt-get autoremove
Running sudo apt-get autoremove did remove some programs which were no longer needed. Were these programs non-free software which was removed? If not how does one go about finding and removing such software from the system?
How does one easily add posix support to PHP using yum?
location: linuxexchange.com - date: June 17, 2009
I am running CentOS 5.2 and using yum to manage packages. I have had little luck installing php-posix but know with almost 100% certitude that it is a real and available package...somewhere. Has anyone had luck installing it?
FWIW, I am using the following:
sudo yum install -y php-posix
Update: I've realized that this may be an issue with my host (Slicehost) as I do in fact have cli, posix, and pcntl enabled for my PHP version (5.2.9)
How does one forge the headers of an email?
location: linuxquestions.com - date: August 13, 2005
How does one forge the headers of an email?
I dont see anywhere in the exim.conf where the IP is set.
To forge an email header do you actually have to change the packet as its leaving the server?
How does one Ingest into Fedora Commons using PHP?
location: linuxexchange.com - date: March 6, 2013
I'm trying to ingest a simple image file into Fedora Commons using PHP, but I can't make it work (Fedora Commons returns 500 when I try to attach a datastream to my new empty object).
I've posted my entire code at the end of this question, but here is some pseudo-code just to get the idea:
When the user selects a file on his computer and presses on the submit button, my script gets called and, ...
Uploads the file into a temporary directory (I can see that image by visiting http://localhost/drupal/sites/default/files/images/singe_6.jpg)
Creates a new empty Fedora Commons object (I can see that object by visiting http://myFedoraServer:8082/fedora/objects/some%3Apid)
Attaches the file to the empty object as a datastream by using cURL to POST to the following URL: http://myFedoraServer:8082/fedora/objects/some:pid/datastreams/myDatastreamID?controlGroup=M&dsLocation=http://localhost/drupal/sites/default/files/images/singe_6.jpg
Receives a 500 error response from the Fedora server
How does one kill a file in Ubuntu?
location: ubuntuforums.com - date: September 8, 2015
I just want to get rid of a file. Is it possible? I cannot open the one in question, and Clamav says it is infected........................./usr/share/mime/mime.cache PUA.Win.Exploit.CVE_2012_0110
How does one close a figure or replace a figure without having to manually close each figure in Python/pylab?
location: linuxexchange.com - date: February 4, 2014
I have searched numerous sites, used plots, subplots, some basic animation, and other roundabout ways, but the figure will not close despite using close(), clf(), etc.
I have something like this:
import numpy
from pylab import *
import time
fig = Figure()
counter1 = 0
counter2 = 0
while counter1<5:
counter1 = counter1+1
while counter2<10:
scatter(x_list[counter2], y_list[counter2], hold = 'on') ### x_list and y_list are just lists of random numbers
counter2 = counter2 + 1
show()
sleep(0.5)
close()
I am looking for any solution, as seen above. Plots, subplots, animation...
[SOLVED] how does one grant permissions to wwwdata?
location: ubuntuforums.com - date: June 5, 2008
Hi There,
I'm running apache2 with a php5 module and I want to save a file to a folder.
apache appears to be running as the user www-data. How do I grant permissions to www-data to save stuff in a particular folder?
I tried the GUI users and groups utility but it shows no user www-data unless I try to add one and then it says this user already exists... I looked in the /etc/group file and found a group by that name but I thing I'm looking for a way to assign the user www-data membership in the group which owns the folder(s) in question... Right?
Thanks in Advance...
How does one use Mono if you have to install an MSI file first?
location: linuxexchange.com - date: January 1, 1970
I have to set up a .NET program to access a power generator but the users are on OS X. I'm aware of Mono but the installer for the .NET program is an MSI file.
Do I need to install something like WINE first so I can run the installer? Seems rather pointless to use Mono if WINE is there as (I assume) the latter can run the .NET libraries directly.
How Does One Connect to an Amazon EC2 Ubuntu Instance from Windows 7?
location: linuxexchange.com - date: January 1, 1970
I would like to use VNC or similar to connect to my Ubuntu 11.10 EC2 instance similar to the way one logs into a windows server using remote desktop and while I've installed Xorg, I've not been able to get anything working to hook into my server.
How do I go about accessing the server that way?
How does one release a *nix project?
location: linuxexchange.com - date: January 1, 1970
So, I've written a neat little program that can analyse Japanese text and give the user various statistics regarding Kanji usage therein and I'd like to release this program to the world. The problem is, I have no idea how to create a "release".
I realize that *nix systems often put executables (or symlinks) in places like /usr/bin, and that build scripts often put them there automatically, but it turns out I went and wrote this thing in Haskell.
Then just use cabal!
...I hear you say. Well I would, except that my program has a good amount of data files that it reads out of, and of course the program needs to know where those files are. By using cabal, would the executable not be thrown to some weird project filepath a la:
/usr/share/haskell/cabal/morecabal-1.0.4/myproject-1.3.4.1.a/thisisridiculous/
At current I run the executable out of its source directory, and it's looking for the data files in "./data".
Is there a typical format for installation paths so I could
please wait...
Page: 1 2 3 4 5 6 7 8 9 10