J'ai donc essayé d'installer un package appelé RGL pour le langage de statistics R.
sudo apt-get build-dep r-cran-rgl [sudo] password for user: Reading package lists... Done Building dependency tree Reading state information... Done E: You must put some 'source' URIs in your sources.list sh: 0: getcwd() failed: No such file or directory
Maintenant, j'aurais considéré cela comme une objection tout à fait valable, mais j'avais déjà ajouté des lignes de deb supplémentaires à ma list de sources, qui ressemble à ceci:
cat /etc/apt/sources.list #/etc/apt/sources.list deb http://cran.ms.unimelb.edu.au/bin/linux/ubuntu raring/ #deb http://cran.cs.pu.edu.tw/bin/linux/ubuntu raring/
Ce n'est pas vraiment crucial, car j'ai pu faire installer RGL par une autre command, à savoir
sudo apt-get install libglu1-mesa-dev
donc je n'ai pas besoin de build-dep pour travailler en ce moment. Mais à un certain point dans le futur, je vais probablement utiliser la syntaxe build-dep avec apt-get.
Votre file sources.list contient des URI binarys, mais vous avez besoin d'URI source pour que build-dep
fonctionne. Ajoutez ce qui suit à votre source.list, puis lancez la apt-get update
:
deb-src http://cran.ms.unimelb.edu.au/bin/linux/ubuntu raring/
Lors de la construction de python à partir de la source en utilisant le repo mercurial.
Décommentez les lignes deb-src
situées dans /etc/apt/sources.list
Par exemple:
## Major bug fix updates produced after the final release of the ## dissortingbution. deb http://archive.ubuntu.com/ubuntu/ yakkety-updates main ressortingcted # deb-src http://archive.ubuntu.com/ubuntu/ yakkety-updates main ressortingcted ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ yakkety universe # deb-src http://archive.ubuntu.com/ubuntu/ yakkety universe deb http://archive.ubuntu.com/ubuntu/ yakkety-updates universe # deb-src http://archive.ubuntu.com/ubuntu/ yakkety-updates universe
Ubuntu 16.10:
sudo nano /etc/apt/sources.list sudo apt-get update sudo apt-get build-dep python-defaults python3