All Questions
380
questions
344
votes
13
answers
855k
views
How do I update a Python package?
I'm running Ubuntu 9:10 and a package called M2Crypto is installed (version is 0.19.1). I need to download, build and install the latest version of the M2Crypto package (0.20.2).
The 0.19.1 package ...
208
votes
19
answers
328k
views
How do I extract the contents of an rpm?
I have an rpm and I want to treat it like a tarball. I want to extract the contents into a directory so I can inspect the contents. I am familiar with the querying commands of an uninstalled package. ...
174
votes
12
answers
634k
views
How to make rpm auto install dependencies
I have built two RPM packages
proj1-1.0-1.x86_64.rpm
libtest1-1.0-1.x86_64.rpm
proj1 depends on the file libtest1.so being present and it is reflected correctly in the RPM packages as seen here:
...
101
votes
7
answers
108k
views
Displaying information on non-installed RPM package?
I googled for this, but couldn't find how to query a non-installed RPM file for its information:
# rpm -qa blackfin-jtag-tools-09r1.1-2.i386.rpm
#
# rpm -qi blackfin-jtag-tools-09r1.1-2.i386.rpm
...
93
votes
16
answers
20k
views
Why do people use tarballs?
As a primarily Windows developer, perhaps I'm missing something cultural in the Linux community, but it has always confused me.
When downloading something that the files are first put into a .tar ...
54
votes
1
answer
25k
views
What does "the following packages will be superseded by a higher priority channel" mean?
I am trying to install fuzzywuzzy onto my Anaconda distribution in 64 bit Linux. When I do this, it tries to change my conda, and conda-env to conda-forge channels. As follows:
I search anaconda for ...
42
votes
10
answers
20k
views
What’s the best way to distribute a binary application for Linux?
I just finished porting an application from Windows into Linux.
I have to create an installer of the application.
The application is not open source => I should distribute the application's binaries (...
39
votes
7
answers
76k
views
GPG keys issue while installing mysql-community-server
While Installing mysql-community-server getting bellow error:
Command:
sudo yum install mysql-community-server
Error:
warning: /var/cache/yum/x86_64/2/mysql57-community/packages/mysql-community-libs-...
34
votes
3
answers
105k
views
cannot import name 'MutableMapping' from 'collections' [duplicate]
I'm getting the following error:
File "/home/ron/rzg2l_bsp_v1.3/poky/bitbake/lib/bb/compat.py", line 7, in <module>
from collections import MutableMapping, KeysView, ValuesView, ...
32
votes
7
answers
51k
views
How to make R use all processors?
I have a quad-core laptop running Windows XP, but looking at Task Manager R only ever seems to use one processor at a time. How can I make R use all four processors and speed up my R programs?
32
votes
10
answers
10k
views
How do YOU manage Perl modules when using a package manager?
A recent question here on SO got me thinking.
On most Linux distributions that I tried, some Perl modules would be available through the package manager. Others, of course, not. For quite a while I ...
32
votes
1
answer
106k
views
How to install packages from command line on Suse [closed]
What is the Suse version of apt-get or yum?
How do I install software packages from the command line?
A fairly intense session of googling suggests that it may be yast or yast2, but no sensible HOWTO ...
28
votes
2
answers
49k
views
Listing yum group
When I run yum grouplist in a Red Hat environment and I received the following groups under the Available Groups list.
How do I find out that which packages are contain in a specific group (e.g '...
28
votes
2
answers
20k
views
Ubuntu equivalent of Yum's WhatProvides, to find which package provides a file
Fedora's yum package management tool has a nice option called whatprovides, which lets you find what package has installed a specific binary or file. What is the equivalent command on Ubuntu?
For ...
26
votes
7
answers
18k
views
How can I create a waveform image of an MP3 in Linux?
Given an MP3 I would like to extract the waveform from the file into an image (.png)
Is there a package that can do what I need ?
25
votes
1
answer
37k
views
Alpine apk: List all available package versions
How can I list all available package versions of a given package on Alpine Linux?
I couldn't find anything helpful in the apk help.
apk info bash only shows me the latest available bash version.
# ...
24
votes
2
answers
11k
views
Error installing R package for Linux
Im trying to install a package named "rgeos" on R 3.3, but when I type
install.packages("rgeos")
But it returns me the following error (same happens with other packages, but not all the packages):
&...
21
votes
7
answers
24k
views
Where to find packages names and versions for RedHat?
How can I find out whether a specific RedHat release (RHEL4, RHEL5...) contains a certain package (or a certain version of a package)? For Debian and Ubuntu, there's packages.debian.org and packages....
20
votes
1
answer
7k
views
How can I publish my software to public linux repos to be available with "apt" installers etc
I have developed (free) software, more precisely, a development environment or a code editor called "Lines". On the web I have set up installation packages for Windows and Linux, but I would like the ...
19
votes
5
answers
71k
views
How to make Debian package install dependencies?
I want to make a simple Debian package to install a simple tool that depends on Qt4 libs.
In control file I have defined that it depends on Qt4 libs however, by the time I'm testing the package it ...
16
votes
5
answers
96k
views
Installing python modules on Ubuntu
I need to install some modules for python on Ubuntu Linux 12.04. I want pygame and livewires but I'm not sure how to install them.
I have the py file for livewires, which has been specially edited (...
16
votes
1
answer
5k
views
Create R binary packages for Linux that can be installed on different machines?
I'm pretty sure this isn't possible, because if it were, then CRAN would have R Linux binary packages. Why isn't it possible? We can create Mac and Windows binary versions of R packages, and these ...
16
votes
5
answers
9k
views
Anyone know of any statically-typed scripting languages? [closed]
I'm about to start an LFS-based linux distro just for a hobby project. I plan on doing some very non-standard tasks, and most of it will involve change almost all scripts in the distro. (mainly init ...
14
votes
2
answers
14k
views
How *.dsc files are related to *.deb and source code files
Without packaging system we have (A) source code, which can be translated/compiled to (B) binary code.
In case of debian/ubuntu packages we have (1) source code, (2) source package - dsc file and (3)...
13
votes
1
answer
26k
views
Get time in milliseconds without an installing an extra package?
How can I get the time in milliseconds in Perl without installing any extra package?
I am running Linux.
12
votes
1
answer
20k
views
Installing octave package in ubuntu
anyone can help me with this error?
octave:4> pkg install signal-1.2.0.tar.gz
error: the following dependencies where unsatisfied:
signal needs optim >= 1.0.0
signal needs specfun >= 0.0....
11
votes
1
answer
16k
views
No package 'pygobject-3.0' found [closed]
I want to install Accerciser
my OS is fedora 16
I downloaded the package,
'cd' into the folder
and run './configure'
and get
checking for PYGOBJECT... no
configure: error: Package requirements (...
10
votes
1
answer
6k
views
In homebrew, how can I know xargs belongs to the findutil package?
I'm on a mac and I don't want to use the builtin xargs utility. Because it's different with the gnu xargs. After google around I found xargs belongs to the findutils package in homebrew and I can ...
9
votes
2
answers
20k
views
No package msyql-server available
I'm trying to set up MySQL on an Amazon Linux instance, I've tried everything (and with the -y option as well):
$ sudo yum install mysql-server
$ sudo yum install mysql56-server
$ sudo yum install ...
9
votes
3
answers
20k
views
which fuse version in my kernel?
I want to know which fuse version do I have, when attempting to execute:
locate -i -r /fuse
I get:
/lib/modules/3.0.0-12-generic/kernel/fs/fuse
/lib/modules/3.0.0-12-generic/kernel/fs/fuse/cuse.ko
...
9
votes
2
answers
12k
views
Debian Package Creation- How to install configuration files?
I've been really stuck on this minor (I'm sure) issue so any help would be greatly appreciated. I've created a standard ubuntu package with dh_make. The purpose of this package is to create a package ...
9
votes
1
answer
2k
views
How to distribute kernel modules using a RPM?
What is the recommended approach for distributing a kernel module using a RPM? Ideally, for portability, I would like the RPM to be able to build the modules against the running kernel's headers ...
8
votes
3
answers
11k
views
When I do pip --version it show the error as ImportError: No module named pyparsing
I tried installing/uninstalling pyparsing as well and it does not work. I am stuck with this and I have to install additional libraries as well.
Here is the error message:
Traceback (most recent ...
8
votes
5
answers
24k
views
making a java package in the command line
Though it's probably reccomended one uses and IDE for coding advanced java projects, I personally prefer running almost entirely command-line (using gedit as a text-editor). So please don't just tell ...
8
votes
2
answers
7k
views
Is there a way to automatically determine dependencies when setting up a dpkg control file?
Most of the fields in a dpkg (Debian) control file are straightforward. The tricky one is determining the list of dependencies (Depends:). I was hoping that dpkg-gencontrol could do this for me by ...
8
votes
4
answers
4k
views
Several groups in RPM package
Is it possible for single rpm package to belong to several groups?
In spec file you can set package group:
Group: System Environment/Base
What I need is to be able to set several groups for this ...
8
votes
1
answer
2k
views
How are apt-get Repositories Hosted/Managed/Architected?
Whether I'm setting up a new VPS somewhere or installing an Ubuntu ISO on an old computer I have sitting around, when I want to get my favorite programming enviornment setup all I need to do is type
...
7
votes
2
answers
3k
views
What does the *-dev *-dbg and *-utils mean?
When I want to install a library like libxml2 on ubuntu, I enter sudo apt-get install libxml2 and enter tab key. There are several names come out such as libxml2, libxml2-dev, libxml2-dbg and libxml2-...
7
votes
2
answers
8k
views
Force no prompt in apt-get upgrade or apt-get dist-upgrade
I'm using AWS EC2 14.04 LTS and I'm trying to run command
apt-get -y upgrade or apt-get -y dist-upgrade, however, I always get prompt like this:
I tried following commands and none of them work and ...
7
votes
2
answers
6k
views
Generate two different package using CPack in cmake : Linux
I want to create two different package for my project.
DCM (Includes all the modules except RCM specific module )
RCM (Specific Module.)
1. DCM :
src/CMakeList.txt
cmake_minimum_required (VERSION 2....
7
votes
1
answer
3k
views
How to read input while installing Debian package on Debian systems
I have created a small Debian package which has to take the input from the user and print it out.
In order to take input from user "read" command on postinst scripts will not work on Debian systems I ...
7
votes
3
answers
10k
views
How to get an windows executable from my kivy app (Pyinstaller)?
I've done a kivy app and I packaged to an .apk with buildozer. The fact is that now I want to package in a .exe for windows with Pyinstaller but I have realised that this two programs (buildozer and ...
6
votes
2
answers
1k
views
Which shell command can find all packages providing a certain full virtual package?
As the title suggests, I want to get a list of all packages that provide a certain virtual package.
A way of doing this would be to write a shell script that parses all output of
apt-cache search -f ....
5
votes
1
answer
6k
views
How to compare installed Linux packages between two machines
I need to display a list of Linux software packages that differ in version between a ‘build machine’ and various ‘developer machines’ that can diverge over time from the build VM.
I can get quite far ...
5
votes
4
answers
4k
views
How do I create an 'install' package for a Qt application?
Generally to install a package on a linux-based operating system you use
./configure
make
make install
How does this work? And how do I create a package that can be installed this way?
My ...
5
votes
1
answer
12k
views
Equivalent of apt-get on OpenELEC
I'm currently working on a raspberry pi, which has OpenELEC as operating system. Unfortunately, apt-get can't be used on this distribution. I have a lot of things to install, and it would be way too ...
5
votes
1
answer
4k
views
Making sure all CORE Perl Modules are Installed on Oracle Linux
I am pretty careful to use CORE Perl modules -- the modules that are documented in http://perldoc.perl.org -- whenever I can. For example, I use Time::Piece rather than DateTime or IO::Uncompress ...
5
votes
0
answers
6k
views
Export / import conda environment and package including local files
I want to make my analysis reproducible and want to use conda to make sure, specific software of a specific version is used. To do so, I set up an environment including some programs built from local ...
4
votes
1
answer
3k
views
Transferring installed R packages to R on another computer
I have R installed on one linux computer where there are number of packages installed. Now I am setting up R on another linux computer. Installing R is easy from their repository but I will have to ...
4
votes
3
answers
24k
views
rpmbuild failing error: Installed (but unpackaged) file(s) found:
I looked around but none of the answers to this same error message worked in my simple package... I am building the rpm using rpmbuild on Redhat ES 6 and no matter what I have done in my spec file I ...