Greatest Hits

38
votes
4answers
248k views

How do I install .run files?

My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too? I looked on the web for my Nvidia ...
23
votes
3answers
160k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast ...
146
votes
9answers
141k views

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?
97
votes
7answers
265k views

How can I restart x-server from the command line?

How can I restart x-server from the command line? I'd really like to be able to restart my gui without having to do a full system reboot.
27
votes
4answers
137k views

How do I enable the “Universe” repository?

How do I get to Universe Repository of Ubuntu software as mentioned in Ubuntu 12.04 LTS? I am installing 12.04 Ubuntu. Please help.
31
votes
8answers
129k views

How to install vmware tools?

I installed my Ubuntu in vmware, no I need install vmware tools, I got error: Searching for a valid kernel header path... The path "" is not valid. Would you like to change it?[yes] In ...
63
votes
4answers
127k views

How to install gcc-4.8

I checked the gcc version on my system. It is currently at 4.6.3. I read that gcc-4.8 is out. I tried the following commands without success: sudo apt-get install gcc (gcc is already the newest ...
27
votes
8answers
43k views

Mcrypt extension is missing in 14.04 server for mysql

The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says: The mcrypt extension is missing. Please check your PHP configuration. My current php config is ...
196
votes
5answers
178k views

What is the 'whoopsie' process and how can I remove it?

On one of my machines I have a process running called "whoopsie". I'm running 12.04 server and never specifically installed anything with this name. Google seems to imply that it has something to ...
192
votes
10answers
101k views

How can I remove Amazon search results from the dash or disable the feature?

How can I disable Amazon search results in the Unity dash?
6
votes
4answers
57k views

Broadcom B43 WiFi not working in Ubuntu 14.04 LTS

I have installed Ubuntu 14.04 LTS on my laptop. Under the networking menu at the top, it is not showing any WiFi options. How can I get Wifi working in Ubuntu 14.04 LTS? I have a Broadcom BCM4311 ...
59
votes
11answers
206k views

How to format a USB flash drive?

In Windows there is a straightforward "Format" option in a flash drive's right-click pop-up menu. Where's that in Ubuntu? I understand there's always standard partition management command line stuff ...
23
votes
1answer
122k views

How to solve jitter (or stutter) playback via Chrome flash plugin?

Since the update to 12.04, there's been a problem specifically related to audio/video playback in Google Chrome. The problem only affected the Google version but not the Chromium nor the Firefox ...
18
votes
5answers
215k views

How does one exit the X server?

The command sudo service gdm stop would successfully disable the X server in Ubuntu 11.04 temporarily. However, this same command no longer works in Ubuntu 11.10, because "gdm" is an "unrecognized ...
12
votes
3answers
164k views

What is the default root password?

I installed Ubuntu 12.04 LTS (Precise Pangolin), 64 bit. Nowhere was I asked to set password for root. I just installed AccuRev SCM software. It was installed under the /root folder by default. Now I ...
158
43
votes
8answers
94k views

How to switch language keyboard combination?

I would like to type Hebrew in Ubuntu. I tried downloading the Hebrew language pack and then setting alt-shift as my layout-change shortcut in the Options section of "Keyboard Layout". However, when ...
45
votes
16answers
110k views

Blank screen after installing nvidia restricted driver

I've installed the current nvidia restricted driver and rebooted my machine and now I get a black or blank screen. How can I fix this?
282
94
votes
12answers
119k views

Error message when I run sudo: unable to resolve host (none)

I have this issue on AWS on some servers. Whenever I run sudo the terminal is stuck doing seemingly nothing, until it finally spits out this error message. My terminal looks like this: ...
127
votes
2answers
85k views

How to add “Open terminal here” to Nautilus' context menu?

I am working on Ubuntu 12.04 64bit. I want to add "Open terminal here" to Nautilus context or right-click menu but it tries to download 32bit version from Internet.
68
votes
10answers
113k views

network manager says “device not managed”

I used to be able to share my network connection by editing the Auto Eth0 to share with other computers in the Ipv4 section and now I upgraded my laptop to 11.10 . Now are there no wired connections ...
41
votes
5answers
97k views

How to uninstall LibreOffice?

Which package should I remove to completely remove libreoffice? I have no need for office tools. That's the one gripe I have with package managers like apt, there's no simple way to perform the ...
49
votes
16answers
131k views

How to install Internet Explorer (multiple versions)?

I am developing one site which has chat feature in Rails. I am using Ubuntu 12.04 LTS. I need to check that the site is IE9 because the chat feature using socket io of HTML5. I want to know that how ...
28
votes
4answers
227k views

How to make read-only file system writable?

I am not sure since when the filesystem on my digital audio player has been changed to be read-only. I cannot copy files into it or remove files on it. Are there some possible reasons for the ...
115
votes
9answers
157k views

How can I repair grub? (How to get Ubuntu back after installing Windows?)

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu. How can I get Ubuntu back?
37
votes
4answers
91k views

How to get a drive formatted with exfat working?

In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried ...
52
votes
4answers
69k views

Requires installation of untrusted packages?

I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error. I searched for hours for a solution to this problem, and finally came upon a suggestion that ...
70
votes
6answers
149k views

What happened to the ia32-libs package?

The ia32-libs package is no longer present in Ubuntu 12.04 repositories for a 64bit system. Are there any available replacement packages available for download?
203
36
votes
3answers
244k views

How to restart samba server?

Sorry this is a little embarassing but I'm trying to set up my own server for the first time. I found great tutorial online. http://www.intac.net/build-your-own-server/ I'm stuck at the 2nd to last ...
119
32
votes
6answers
175k views

Where is .bashrc?

I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow these instructions to edit my bash prompt, but there is no .bashrc in either my user directory ...
140
votes
2answers
176k views

How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)?

I am trying to update to php 5.4 in Ubuntu 12.04, and I can only get 5.3.6 using official repositories (using apt-get). I'm not really sure how to do a manual update – I'm sorta new to ubuntu, but I ...
165
67
votes
3answers
215k views

What command do I need to unzip/extract a .tar.gz file?

I received a huge .tar.gz file from a client that contains about 800 mb of image files (when uncompressed.) Our hosting company's ftp is seriously slow, so extracting all the files locally and sending ...
53
votes
5answers
15k views

Ubuntu 14.10 does not install in virtualbox

I'm currently running Windows 8.1 x64 (a problem in itself that I can't change sadly ;-P) with the latest version of VirtualBox (4.3.18 r96516). I managed to get the server version up and running with ...
118
votes
4answers
127k views

Getting “System program problem detected” pops up regularly after upgrade

This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit ...
75
votes
3answers
70k views

How do I deal with “unauthenticated sources” errors in the Software Center?

Any install that I'm trying through the Software Center is telling me: Requires installation of untrusted packages: The action would require the installation of packages from not authenticated ...
30
votes
6answers
102k views

How to run an Android emulator in Ubuntu 13.04

Is there any way of doing this in 13.04? If so, can you also provide a step-by-step instruction on how to do it ?
58
votes
11answers
151k views

How do I include lines in resolv.conf that won't get lost on reboot?

I have finally migrated to 12.04 from 7.10. I have one last part to complete but I am stumped. I am using Puppet on each server, and in the past I have included a nameserver address and a search ...
38
votes
13answers
80k views

List all MAC addresses and their associated IP addresses in my local network (LAN)

How can I list all MAC addresses and their associated IP addresses of the machines connected to my local network (LAN)?
17
votes
1answer
67k views

How to get gnome shell 3.12 on ubuntu 14.04

I know there is a distro for ubuntu dedicated to gnome and I know ubuntu 14.04 comes with gnome 3.10. But I am wondering what the steps are to: Install the ppas for gnome 3.12 install gnome 3.12 ...
75
82
votes
12answers
105k views

How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again

How do I edit an invalid visudo file? Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no ...
252
38
votes
13answers
109k views

“Failed to spawn mysql main process: unable to execute: No such file or directory”

I'm a newbie on MySQL ground so bear with me. I've just finished upgrading 11.10 to 12.04. Everything seemed to work without any hiccups and all my software and settings are working fine. Apart from ...
86
votes
5answers
115k views

How do I install LibreOffice 4?

I want to download and install LibreOffice 4. How can I do this?
63
votes
3answers
181k views

How do I set the grub timeout and the grub default boot entry?

In Ubuntu 12.04, how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows 7 and Ubuntu 12.04?
135
101
votes
15answers
217k views

How to send mail from the command line?

How to send mail from the command line?
40
votes
6answers
147k views

Installing Chrome Java Plugin

I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. I can't seem to get it working. My current Java version is ...
6
votes
3answers
90k views

ERROR 1045(28000) : Access denied for user 'root@localhost' (using password: no )

I got a problem with mysql server Actually i am not sure im tring to install queXS cati app on my ubuntu desktop i installed mysql server and php5 and when im trying mysql -u root it says ...
45
votes
16answers
124k views

How do I open a text file in my terminal?

There is a file named RESULTS.txt and I want to open this file in my terminal. (I mean I want to see the file contents be displayed in the terminal and not in some text editor) How do I do that ?
136
votes
11answers
324k views

How do I install and use the latest version of GNOME?

I followed the instructions for compiling GNOME Shell and it did compile with a few errors here and there but it didn't run. I installed GNOME Shell using sudo apt-get install gnome-shell but I got ...
15
votes
5answers
98k views

Install Skype on Ubuntu 12.04 LTS 64-bit

Since weeks ago I'm trying to install Skype on my computer. I imagined it would be a straight forward task but it is becoming a nightmare. What I have tried so far: Installing from command line with ...
55
votes
5answers
151k views

How to download a file from a website via terminal?

Suppose that we have a full URL of desired file e.g. http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz I would like to go without installing a new software. Is it ...
27
votes
2answers
133k views

How can I uninstall a nvidia driver completely ?

As expected, Nvidia drivers have reduced my customizations. I can't login to Unity 3D session. I can't find any content to help me to uninstall the driver and I don't know what to do as I have never ...