# Installation problem on Ubuntu

**URL:** <https://forums.developer.nvidia.com/t/installation-problem-on-ubuntu/30547>\
**Category:** CUDA Setup and Installation\
**Created:** [August 24, 2013, 1:37am UTC](https://forums.developer.nvidia.com/t/installation-problem-on-ubuntu/30547 "2013-08-24T01:37:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grieverheart](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Grieverheart](https://forums.developer.nvidia.com/u/Grieverheart)\
**Post date:** [August 24, 2013, 1:37am UTC](https://forums.developer.nvidia.com/t/installation-problem-on-ubuntu/30547/1 "2013-08-24T01:37:07Z")

</div>

Hello. I’m trying to install the CUDA Toolkit v5.5 on Ubuntu 13.04. I downloaded and installed the Ubuntu 12.10 deb package for adding the repositories. I then try to install cuda using `sudo apt-get install cuda`, but I get `Connection failed` errors. For whoever might be interested, [url][http://pastebin.com/akKc6Nsw[/url]](http://pastebin.com/akKc6Nsw%5B/url%5D) is the full log. The links apt-get is unable to fetch are accessible using the browser and I can ping the IP address without any problems too.

Is this problem somehow connected to the fact I’m using Ubuntu 13.04 although the repository is for 12.10? I installed the CUDA toolkit on a Ubuntu 12.04 system one week ago without any problems.

---

<div class="post-metadata">

**Author:** ![unbreker](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/unbreker/32/10230_2.png) [@unbreker](https://forums.developer.nvidia.com/u/unbreker)\
**Post date:** [August 28, 2013, 4:26am UTC](https://forums.developer.nvidia.com/t/installation-problem-on-ubuntu/30547/2 "2013-08-28T04:26:38Z")

</div>

I have the same problem.  
I’m trying to solve, but it’s hard.  
I found a guide [here](http://blog.bloemsaat.com/2013/03/17/installing-cuda-on-ubuntu-13-04-raring-ringtail/) for Ubuntu 13 04.  
is the third time that lightdm off, the shell will disappear.  
after this I could not open more gnome.  
however, as I can finish the guide will let you know.  
is not an answer but, I hope, will be of assistance.

well I installed the drivers Cuda, the guide is correct.  
one important thing is not to install the driver cuda, you have driver from NVIDIA-Linux etc…run.  
install only cuda toolkit and samples.  
Keep selected setting gcc 4.4 on

```auto
sudo update-alternatives --config gcc

```

#choose 4.4.x i think you must to type 1 on your keybord and than press enter.  
not forget, you must going in a tty consol and disable light dm with sudo /etc/init.d/lightdm stop;  
before reboot and run cuda installation.  
try this and let we know…  
bie Daniele

---

<div class="post-metadata">

**Author:** ![AndyDick](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/andydick/32/14043_2.png) [@AndyDick](https://forums.developer.nvidia.com/u/AndyDick)\
**Post date:** [August 28, 2013, 5:25pm UTC](https://forums.developer.nvidia.com/t/installation-problem-on-ubuntu/30547/3 "2013-08-28T17:25:49Z")

</div>

My first guess would be some sort of firewall issue. Are you able to wget these files? Can you ping the host successfully?

Using a 12.10 repository on a 13.04 machine should not cause this.

---

<div class="post-metadata">

**Author:** ![unbreker](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/unbreker/32/10230_2.png) [@unbreker](https://forums.developer.nvidia.com/u/unbreker)\
**Post date:** [August 28, 2013, 6:37pm UTC](https://forums.developer.nvidia.com/t/installation-problem-on-ubuntu/30547/4 "2013-08-28T18:37:40Z")

</div>

but if you download from the web site?  
cause i can get from the host with wget…

```auto
wget http://developer.download.nvidia.com/compute/cuda/5_0/rel-update-1/installers/cuda_5.0.35_linux_64_ubuntu11.10-1.run

```

large file…

are you sure to have enough space?  
cause is like 700 mb large…  
–purge nvidia driver before do anything
