Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
87 votes
5 answers
38k views

What do the *-dev packages in the Linux package repositories actually contain?

My question is very basic, as is my knowledge right now. I'm a long-time Linux user, but have only recently taken a major interest in programming. I see that many popular applications in the Ubuntu ...
conorsch's user avatar
  • 1,456
40 votes
6 answers
111k views

ImportError: No module named redis

I have installed redis using sudo apt-get install redis-server command but I am receiving this error when I run my Python program: ImportError: No module named redis Any idea what's going wrong or if ...
Mona Jalal's user avatar
29 votes
7 answers
56k views

Stuck with apt --fix-broken install (libc6:amd64 package post-installation)

My system runs inside WSL, I upgrade it at least every few days. I stuck with one package installation, and looking for a way to solve this: $ sudo apt --fix-broken install Reading package lists... ...
Adam Mierzwiak's user avatar
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 ...
Cerin's user avatar
  • 63.7k
25 votes
5 answers
18k views

How to get virtualenv to use dist-packages on Ubuntu?

I know that virtualenv, if not passed the --no-site-packages argument when creating a new virtual environment, will link the packages in /usr/local/lib/python2.7/site-packages (for Python 2.7) with a ...
quantumflash's user avatar
17 votes
6 answers
21k views

Can't install package control in Sublime text 2

I'm using ubuntu 12.04. I did what it says on the website but I got this error: import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not ...
1Engels's user avatar
  • 181
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 (...
Infamouslyuseless's user avatar
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 ...
Vinh Nguyen's user avatar
  • 1,092
15 votes
2 answers
17k views

Locate source code from pip install packages in Ubuntu

I have installed some packages with pip in Ubuntu. However, I want to change some part of the installed code from those packages. In windows is easy to do so, from Pycharm using provided links. How ...
Jose Ramon's user avatar
  • 5,362
14 votes
3 answers
19k views

Ubuntu packages needed to compile Python 2.7

I've tried to compile Python 2.7 on Ubuntu 10.4, but got the following error message after running make: Python build finished, but the necessary bits to build these modules were not found: _bsddb ...
deamon's user avatar
  • 91.3k
14 votes
1 answer
6k views

How install R package "udunits2" in Ubuntu

I'm trying to install the R package udunits2 on Ubuntu : sudo su - -c "R -e \"install.packages('udunits2', repos='http://cran.rstudio.com/')\"" But I'm getting error : R version 3.4.2 (2017-09-28) -...
Ali Hadjihoseini's user avatar
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)...
Tomek Wyderka's user avatar
14 votes
1 answer
37k views

CentOS equivalent of dpkg -s [closed]

I'm adapting a prepare script for CentOS that was previously written for Ubuntu. In the Ubuntu script, the command dpkg -s {some program} is called frequently. For example, one such command is dpkg -...
Scott Crooks's user avatar
  • 1,623
13 votes
1 answer
28k views

makeinfo package missing in ubuntu 12.04

Please can anybody give me a answer for this, I have already tried sudo apt-get install makeinfo textinfo texi2html but I still get the error "Unable to find the package."
Invictus's user avatar
  • 2,733
12 votes
7 answers
10k views

libffi.so.6: cannot open shared object file in rails

I'm newbie in rails and I'm working on Ubuntu 19.10 yesterday I decide to upgrade my OS to new version every things is going fine after upgrading finished after t i start to use my computer to develop ...
Hadii Varposhti's user avatar
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....
trinny's user avatar
  • 232
11 votes
3 answers
69k views

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

I have tried to install wine on elementary os 0.21 yesterday. While doing so i stumbled upon this output: Reading package lists... Done Building dependency tree Reading state information... ...
Haggar's user avatar
  • 119
11 votes
3 answers
5k views

Ubuntu graphviz 'sfdp' not working

I'm trying to make some Networkx Graphviz graphs. After running: pos = nx.graphviz_layout(G, prog = 'sfdp'). An error occured, saying: Error: remove_overlap: Graphviz not built with triangulation ...
VlS's user avatar
  • 586
10 votes
1 answer
30k views

Specifying the OS - Ansible

I'm a newbie in Ansible, so I wrote a little ansible utility to install some package dependencies for a system I'm writing: --- - hosts: all user: root tasks: - name: install requirements ...
cybertextron's user avatar
  • 10.8k
10 votes
5 answers
20k views

re- installing R linux ubuntu: unmet dependencies R

I used aptitude install to install a package, Ubuntu 11.10 oneiric, that apparently I couldn't install because of dependencies. I removed a couple of more libraries while doing it. I uninstalled ...
HoofarLotusX's user avatar
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 ...
user2175757's user avatar
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 ...
Randall Cook's user avatar
  • 6,768
7 votes
3 answers
11k views

unable to git clone by symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0

Reproduce: git clone [any repo with https link] Error: /usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version ...
Diya Li's user avatar
  • 1,078
7 votes
1 answer
15k views

I am missing simplexml on my ubuntu machine but I can't download it

so I get the following error while installing Pterodactyl panel: Problem 1 - Installation request for aws/aws-sdk-php ^3.156 -> satisfiable by aws/aws-sdk-php[3.156.0]. - aws/aws-sdk-php 3.156.0 ...
WrenchX's user avatar
  • 75
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 ...
Nam Nguyen's user avatar
  • 5,730
7 votes
2 answers
22k views

How to install "not installable" dependancies?

I'm trying to install Codelite on Ubuntu Artful (17.10). I've seen this problem is very common online but I haven't found a fix. Basically when I run sudo apt-get install codelite wxcrafter I get ...
GoldenMat's user avatar
  • 163
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 ...
forum.test17's user avatar
  • 2,189
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 ....
Ioan Alexandru Cucu's user avatar
6 votes
1 answer
2k views

debian packaging - cmake project

I am building a package from a cmake project organized in 2 source directories: When building manually I have to go in the 2 src dirs and do: cd src1 mkdir build cd build cmake .. etc. cd src2 ...
titanium's user avatar
6 votes
3 answers
2k views

(Incremental) Rebuild Debian/Ubuntu package

I'm following the instructions at the how to build a Debian package from source question successfully. However, I want to repeatedly rebuild the package after making modifications to the source (a "...
loopbackbee's user avatar
6 votes
1 answer
736 views

Hash Sum Mismatch for microsoft packages on ubuntu 16 server

I am getting the following error while running apt update: E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/dists/xenial/main/binary-amd64/Packages.bz2 Hash Sum mismatch E: Some ...
Ashwani's user avatar
  • 1,450
5 votes
5 answers
3k views

Cannot cmake kde-connect

I am trying to install kde-connect following this. Although my kubuntu version is 14.04, I wanted to compile them so that I can have the latest version. But when I followed the instructions to compile,...
Vinay Chandra's user avatar
5 votes
2 answers
5k views

Automatically Install Package-Based Perl Modules in Ubuntu

I would like to install the Perl modules required by a specific Perl script, such as those listed by the perl-depends tool. However, I would like to do that in Ubuntu using the apt-get, meaning ...
Alan Turing's user avatar
  • 12.5k
4 votes
3 answers
2k views

Packages unmet when I try to install nginx

when I try to run sudo apt-get install nginx-full I get this error: The following packages have unmet dependencies: nginx-full : Depends: nginx-extras (>= 1:1.10.1-8.5.0.30~trusty1) but it is not ...
00TIA's user avatar
  • 41
4 votes
4 answers
1k views

How to include "port" package under CLISP in Ubuntu

I'm trying to follow this tutorial: http://cl-cookbook.sourceforge.net/sockets.html And I cannot get it working because of the port package. First the (in-package :port) did not work, it said the ...
user avatar
4 votes
1 answer
9k views

SDL.h: No such file or directory

I've installed libsdl 1.2 -dev on my Ubuntu but the problem is that it doesn't understand #include<SDL.h> And it says: SDL.h: No such file or directory But when i type: kit0n@ubuntu:~$ g++ ...
SepanD's user avatar
  • 137
4 votes
1 answer
809 views

How can I ensure that I install compatible versions of JAGS and rjags in Ubuntu?

I would like to write a script that installs JAGS and rjags on a new ubuntu installation, and that will work independently of the currently available versions of these packages. I'd like to know how I ...
David LeBauer's user avatar
4 votes
2 answers
6k views

apt-get installing older version of packages (Ubuntu)

I'm trying to install pip and virtualenv on a server (running Ubuntu 12.04.4 LTS) on which I have access, but I can only do it with sudo apt-get install (school politics). The problem is that ...
tomasyany's user avatar
  • 1,203
4 votes
1 answer
538 views

Softether deb package installation fails on Ubuntu 14.04

I have created a new deb package from SoftEtherVPN source at https://github.com/SoftEtherVPN/SoftEtherVPN using checkinstall -D make install The process successfully installs the software but the ...
markhorrocks's user avatar
  • 1,434
4 votes
1 answer
1k views

python: Packages in user-site not overriding dist-packages on ubuntu

I use ubuntu 13.04. When developing in python, I sometimes wish to use newer versions of some packages than those shipped with ubuntu. In these cases, the method I'm used to is to install the package ...
josteinb's user avatar
  • 2,112
3 votes
5 answers
4k views

How to convert 64 bit .deb file into 32 bit .deb file

deb file of an application. I want to convert the same file into 32 bit .deb file. So how to convert 64 bit .deb file into 32 bit .deb
Sunil Kumar Sahoo's user avatar
3 votes
1 answer
8k views

How to solve Repo item build-essential not found in solus?

When I tried to install the following packages. sudo eopkg it gcc build-essential libpq-dev libssl-dev libreadline-dev libsqlite3-dev zlib1g-dev I have encountered this issue Repo item build-...
kowshik kondapaneni's user avatar
3 votes
3 answers
10k views

E: Package 'snapd' has no installation candidate . Can't install snap package manager

When I'm trying to run sudo apt install snapd It shows the error as below: Reading package lists... Done Building dependency tree... Done Reading state information... Done Package snapd is not ...
Heisenbug's user avatar
  • 343
3 votes
1 answer
6k views

Install usblib package - Ubuntu

I need the package libusb for another package I am installing. I tried the following which seemed to install the package, sudo apt-get install libusb-dev but when I try to install the other ...
TomSelleck's user avatar
  • 6,934
3 votes
3 answers
7k views

How can we install vi without the vim package in ubuntu

I want to install only vi in my Ubuntu box. I don't want to install the complete vim package which includes vi. I am trying to reduce the image size of my OS including all the packages so that I have ...
Sai Krishna's user avatar
3 votes
1 answer
2k views

Error on package and R paths and installations

I messed up my R installation while trying to move packages from the root to the user account. I tried unistalling (with --purge) and re-installing R (r-base r-base-dev) via the apt-get install. But I ...
ECII's user avatar
  • 10.5k
3 votes
1 answer
16k views

Easiest way to install latest QT on ubuntu

I need to install QT 5.10 on my ubuntu docker container. Compiling from source is out of question because it takes hours and my computer almost fried 2 times trying to do it until it ran ut of memory. ...
user avatar
3 votes
1 answer
652 views

How do I package and add my Python app to my launchpad repository?

I have a launchpad account and an activated ppa but I have no idea how to package my app and upload. I write programs with Python using Tkinter. May someone explain ?
user avatar
3 votes
3 answers
5k views

How to create package for .deb file

Hi I have created .rpm packages successfully for fedora FC10 linux. I can cretae .rpm file of my application similarly I want to create .deb file of my application. I want step-by-step approach to ...
Sunil Kumar Sahoo's user avatar
3 votes
1 answer
3k views

unable to install R package "nloptr" (R3.6.2 on Ubuntu 16.04) - C++ compiler issue

I'm having trouble installing the "car" package after upgrading R to 3.6.2 (from 3.4) on Ubuntu 16.04 due to (at least one) dependency (nloptr) that cannot be installed either. It seems to be a ...
H.Stein's user avatar
  • 33

1
2 3 4 5