Greatest Hits

420
votes
23answers
370k views

How can PPAs be removed?

I've added many PPAs using the add-apt-repository command. Is there a simple way to remove these PPAs? I've checked in /etc/apt/sources.list for the appropriate deb lines but they aren't there. This ...
595
181
votes
7answers
230k views

Is FFmpeg missing from the official repositories in 14.04?

I tried to install ffmpeg in trusty/Ubuntu 14.04 and got the following message: $sudo apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state ...
146
votes
6answers
198k views

Why does a Ubuntu guest in VirtualBox run very, very slowly?

I'm using currently Ubuntu 12.04 LTS as a host machine, and I've virtualized three machines: a Xubuntu 12.04 guest a Windows 7 guest a Ubuntu 12.10 guest All the guests have the same VirtualBox ...
77
votes
5answers
229k views

Complete Installation Guide for Android SDK / ADT Bundle on Ubuntu

What all needs to be done to install Android SDK / ADT Bundle on Ubuntu? Each of the steps in the answer was found on some different forum as I encountered obstacles getting started with my Android ...
32
votes
5answers
413k views

Recovering moved .mod files using grubrescue

I did a dumb thing... I forgot that Ubuntu 10.04 (Lucid Lynx) switched to GRUB 2 which puts a ton of *.mod files (kernel modules) in /boot/grub. I thought they were soundtrack files put there ...
331
votes
15answers
464k views

How to add a directory to my path?

How do I add a directory to my $PATH in Ubuntu and make the changes permanent?
105
votes
25answers
147k views

Ubuntu gets stuck in a login loop

My problem: As you can guess my Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back. I'm a Ubuntu ...
65
votes
3answers
238k views

How do I install python 2.7.2 on Ubuntu?

I want to install python 2.7.2.tgz on Ubuntu, downloaded from http://python.org/download/. Is this a correct way to install : ./configure make make install If not , how can I do that?
594
100
votes
15answers
400k views

How do I add a DNS server via resolv.conf?

Is /etc/resolv.conf useless in Ubuntu 12.04 LTS (Precise Pangolin)? I see that the DNS server information is stored in NetworkManager now. The nmcli command line tool can list that for you. If I ...
234
votes
4answers
456k views

Where is the cron / crontab log?

I want to verify if my cron job is executing and what time. I believe there is a log for my sudo crontab -e jobs, but where? I searched google and it I found references to look in /var/log ...
124
votes
17answers
260k views

Command for determining my public IP?

If I check with google, I can see my public IP. Is there something on the Ubuntu command-line which will yield me the same answer?
120
votes
16answers
286k views

How do I set Windows to boot as the default in the boot loader?

How do I set the bootloader so that in my dualboot with Windows 7/Ubuntu 11.04, Windows start up as standard instead of Ubuntu?
528
136
votes
6answers
433k views

What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?

I am planning on doing a fresh install of Ubuntu and want to know what is the correct way to install ATI Catalyst Video Driver? There are multiple valid answers for this question spanning over ...
281
votes
15answers
338k views

How do I resolve unmet dependencies after adding a PPA?

Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the ...
33
votes
5answers
189k views

How to enable ssh root access on Ubuntu 14.04

I´d like to enable the ssh root access on Ubuntu 14.04. Editing the /etc/ssh_config (PermitRootLogin yes) didn't affect anything.
202
332
votes
8answers
278k views

How to enable hibernation?

In Ubuntu 12.04 and newer, hibernation has been disabled by default in policykit. How can I enable this back?
103
votes
10answers
299k views

How to force a clock update using ntp?

I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. The wake-up time is somewhere during 1970. Thus, I use the NTP service to update the time to the current time. I ...
323
8
votes
4answers
77k views

How to type the Indian Rupee Symbol?

I want to type the Indian Rupee Symbol. So I went to System Settings >> Keyboard Layout and clicked on the Options button. Under the Adding Currency signs to keys sections, I checked the Rupee on 4 ...
80
votes
13answers
327k views

How to restart the networking service?

I tried to use sudo service networking restart and sudo /etc/init.d/network restart but they both crash the window manager and I can no longer use my keyboard for input into X. when I use the ...
198
votes
5answers
185k views

How do I turn on workspaces? (Why do I only have one workspace?)

It appears that Unity on Raring only comes with a single virtual desktop (aka workspaces) by default, and CCSM's Wall plugin has no way to add more. Is this configurable at all?
25
votes
5answers
183k views

Windows installer for Ubuntu 14.04 LTS onwards

Is there any windows installer(wubi) for Ubuntu 14.04 LTS? When I mount .iso file with daemon tools and run wibu.exe it just ask me if I want to reboot(I think it's usefull only when .iso burned on ...
231
48
votes
8answers
108k 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 ...
60
votes
9answers
181k views

How to completely uninstall Java?

How can I completely remove all traces of Java on my system? I already know how to install it in case I need it again.
306
votes
37answers
330k views

How do I remove or hide old kernel versions to clean up the boot menu?

Every time I install a new Linux kernel, it gets left in the grub_config, making the boot menu longer each time. I know I can manually search through the installed packages and remove them. Does ...
495
103
votes
10answers
419k views

How to burn a Windows .iso to a USB device?

I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this? I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it's not the same.
16
votes
6answers
166k views

How do I install iTunes on Ubuntu?

I've tried different ways to install iTunes, but to no avail. I tried with Wine, but it didn't work. Can I have iTunes on Ubuntu.
306
132
votes
8answers
180k views

What is the difference between a hard link and a symbolic link?

As the title says, I would like to know the difference between a hard link and a soft link created by the command ln. The command man ln does provide information, but does not sufficiently answer my ...
261
votes
8answers
233k views

How do I determine the total size of a directory (folder) from the command line?

Is there a simple command to display the total aggregate size (disk usage) of all files in a directory (folder)? I have tried these, and they don't do what I want: ls -l, which only displays the ...
365
votes
7answers
426k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
13
votes
3answers
225k views

How to install Synaptic Package Manager?

I tried to install Synaptic Package Manager but I get the following error message: Package dependencies cannot be resolved. This error could be caused by required additional software packages which ...
204
votes
14answers
162k views

How do I free up more space in /boot?

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version ...
111
votes
5answers
370k views

How to format a USB or external drive?

Using Ubuntu 11.10, how do I format an external or USB drive? I don't find an option to 'format' when I right click. In the new version, the drives don't come up on the desktop but instead come on ...
321
118
votes
10answers
402k views

How to use “grep” command to find text including subdirectories

I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried ...
74
votes
14answers
145k views

Unable to mount Windows (NTFS) filesystem due to hibernation

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount. When I try to enter my Windows partition through Nautilus I ...
55
votes
9answers
127k views

VirtualBox '/etc/init.d/vboxdrv setup' issue

I have installed VirtualBox through the software centre, but when I try to start a VM, I get the following error: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver ...
37
votes
6answers
149k views

How do I fix a “Wireless is disabled by hardware switch” error?

I just updated to Ubuntu 12.04 from 11.10 but soon after updating I was disappointed to see that Wireless is disabled by hardware switch. I can not click the button 'Enable wireless' which is ...
74
votes
4answers
477k views

How do I start/stop mysql server?

I try find in internet some article where describe how correct start -stop mysql server. I find this article: How to start/stop MySql server on Ubuntu 8.04 | Abhi's Blogging World I run this ...
186
57
votes
12answers
314k views

How do you run Ubuntu Server with a GUI?

Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI? Also, the server doesn't have direct access to the internet... So, is there a ...
369
44
votes
14answers
112k views

How do I resolve a “Cannot open shared object file libudev.so.0” error?

Trying to run Game Dev Tycoon on Ubuntu 64. It asks for the above object. I ran sudo apt-get install libudev1:i386 and it came back already installed. I have /lib/i386-linux-gnu/libudev.so.1 but no ...
79
votes
8answers
216k views

How do I install Python 3.3?

I have downloaded Python 3.3 from the official site but no idea how to install it. I'm using Ubuntu 12.04
156
votes
10answers
324k views

How do I find the amount of free space on my hard drive?

Is there a way to quickly check the amount of free / used disk space in Ubuntu? I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but ...
233
votes
19answers
181k views

Flash video appears blue

The Problem After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well. I have tried to uninstall all ...
30
votes
1answer
329k views

How to copy files via terminal?

I have read about copying files with terminal but these examples will help me a lot. So here is what I want to do: Examples: I have a file in /home/levan/kdenlive untitelds.mpg and I want to copy ...
186
votes
7answers
288k views

How to run scripts on start up?

I was wondering how to run scripts when my computer starts up so I don't have to run scripts manually that I always run?
417
votes
11answers
344k views

What are Unity's keyboard and mouse shortcuts?

In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?
129
votes
5answers
95k views

What is the CVE-2014-6271 bash vulnerability (Shellshock) and how do I fix it?

Recently, there have been news going around regarding "CVE-2014-6271" (See USN-2362-1), which is a vulnerability in Bash. How do I know if I am affected by this, how can I fix it, and why should I ...
85
votes
8answers
196k views

How to clear bash history completely?

I want to clear all before command from history of my server. I use history -c it seems all things are cleared but when I ssh to the server,all commands are still there. How can I clear them ...
50
votes
6answers
214k views

How to use manual partitioning during installation?

I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual ...
185
votes
7answers
197k views

How to install software or upgrade from an old unsupported release?

Recently I have installed an older version of Ubuntu on my old machine. When ever I am trying to install any software it is giving error sudo -i apt-get install vlc The error being flagged is under ...
197
votes
7answers
325k views

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?