189
votes
10answers
556k views

How do I install Guest Additions in a VirtualBox VM?

I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions. I started up my Ubuntu guest OS, clicked "Devices" and chose "Install Guest Additions". Nothing ...
188
votes
7answers
531k views

How to install updates via command line?

When I log into my web server via SSH I see the information: 88 packages can be updated. 80 updates are security updates I tried apt-get update then apt-get upgrade but each time I log in I still ...
187
votes
14answers
557k views

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is ...
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?
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 ...
185
votes
5answers
265k views

How do I set up a Cron job?

How do I add Cron jobs in Ubuntu?
184
votes
6answers
20k views

How can I make my shell prompt look like a cheeseburger?

I want my shell prompt to look like a cheeseburger! ๐Ÿ”๐Ÿ”๐Ÿ” It would be nice if it also displayed: username, hostname, and current directory.
183
votes
14answers
242k views

How do I fix my locale issue?

I am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ...
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 ...
178
votes
5answers
683k views

How do I change the GRUB boot order?

I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them. Currently the boot order ...
178
votes
13answers
62k views

How to change tooltip background color in Unity?

In a lot of applications the tooltips are just plain ugly (White text on black background, way too much contrast) or even unreadable (black or dark blue text (Hyperlinks) on black background). I want ...
176
votes
5answers
860k views

How to delete a non-empty directory in Terminal?

How do I delete the following directory? I typed: rmdir lampp This error comes up: rmdir: failed to remove `lampp': Directory not empty Is there a command to delete all the files in the ...
174
votes
10answers
1.4m views

How do I install a .tar.gz (or .tar.bz2) file?

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?
174
votes
9answers
413k views

What does “sudo apt-get update” do?

I am wondering what sudo apt-get update does? What does it update?
171
votes
36answers
134k views

What lenses for Unity are available?

This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on ...
170
votes
14answers
132k views

How to pin Eclipse to the Unity launcher?

How can I pin eclipse indigo 3.7 I have 'installed' at /opt/ to the taskbar? I have tried launching eclipse and right-clicking to choose the 'keep in launcher' option. But when I click that icon, ...
169
votes
8answers
121k 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.
168
votes
9answers
175k views

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?
167
votes
8answers
70k views

Are PPA's safe to add to my system and what are some “red flags” to watch out for?

I see a lot of interesting programs out there that can only be obtained by adding a "PPA" to the system but, if I'm understanding correctly, we should stay within the official "repositories" for ...
164
votes
5answers
36k views

How to create animated GIF images of a screencast?

I've seen animated GIF images of screen casts (like the one below) promoted a few times on this site as a way to improve answers. What toolchain is being used to create these? Is there a program ...
164
votes
15answers
93k views

What's the difference between Google Chrome and/or Chromium? What are the advantages/disadvantages to each?

I used Google Chrome in Windows, and am now using Chromium in Ubuntu. Is there any difference to the two programs? What are the advantages and disadvantages to each program? Which one seems better? ...
161
votes
14answers
225k views

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
159
votes
10answers
142k views

How do you monitor the progress of dd?

dd is a wonder allowing you to duplicate a hard drive to another, completely zero a hard drive, etc. But once you launch a dd command, there's nothing to tell you of it's progress. It just sits there ...
157
votes
2answers
200k 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 ...
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 ...
155
votes
21answers
154k views

How can I install software or packages without Internet (offline)?

I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?
153
votes
3answers
307k views

What does “cp: omitting directory” mean?

I've issued the following command: sudo cp ~/Transfers/ZendFramework-1.11.4-minimal/library/Zend/* ~/public_html/cmsk.dev/library/ When I do this, I start getting the following messages: cp: ...
152
votes
39answers
440k views

How to fix “The system is running in low-graphics mode” error?

Note: This is an attempt to create a canonical question that covers all instances of "low-graphics mode" error that occurs to a user, including but not limited to installation of wrong ...
151
votes
13answers
175k 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: ...
150
votes
1answer
235k views

Installed Teamviewer using a 64-bits system, but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install them, but with no luck. I'm getting this error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
149
votes
4answers
44k views

Why did the command “:(){ :|: & };:” make my system lag so badly I had to reboot?

DANGER! Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. I was in my Virtualbox running 12.04 trying to compile an app, and while ...
147
votes
13answers
120k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
147
votes
12answers
72k views

Why does Ubuntu Download recommend 32-bit install? [closed]

Update for 13.10: 64-bit version is now the default and 32-bit is labelled "for machines with less than 2GB RAM" The Ubuntu desktop download screen has a pair of radio buttons you use to select ...
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 ...
146
votes
23answers
67k views

Do I need to have 'antivirus software' installed?

I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages 'clamtk' and 'klamav' in Ubuntu software center yesterday. This leads ...
145
votes
6answers
120k views

How do I remap certain keys or devices?

I'm searching for a way to remap certain keys in ubuntu. i.e. I'd like to change PgUp to Home or PgDown to End. Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?
145
votes
6answers
385k views

How can I create a Windows bootable USB stick with Ubuntu?

I'd like to create a Windows 8 bootable USB stick, but I don't have a Windows machine with me to do so. So how do I do it with Ubuntu/Linux?
144
votes
12answers
126k views

How do I reset my Unity configuration?

I've been messing around with Unity and broke something, how do I "start over"?
143
votes
7answers
370k views

A command to list all users? And how to add, delete, modify users?

I need a command to list all users in terminal. And how to add, delete, modify users from terminal. That could help in administrating your accounts easily by terminal.
143
votes
10answers
123k views

How can I stop being prompted to unlock the 'default' keyring on boot?

Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring. Is there some way this can unlock automatically through PAM or some other magical way?
142
votes
14answers
47k views

How to customize the Ubuntu Live CD?

I would like to customize Ubuntu live CD by installing some additional packages. I have followed this but it doesn't seems to work. Can anyone provide clear instructions? Note: I do not prefer ...
142
votes
9answers
197k 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?
141
votes
4answers
170k 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 ...
141
votes
5answers
99k views

How do I enable or disable Apport?

The system crash dialog is annoying me, how can I turn it off? I'd also like to know how to turn it back on just in case I need it to report a problem.
141
votes
21answers
102k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
140
votes
4answers
173k views

How do I patch/workaround SSLv3 POODLE vulnerability (CVE­-2014­-3566)?

After the BEAST attack and Heartbleed bug, now I've heard about a new vulnerability in SSL/TLS called POODLE. How do I protect myself against being exploited? Are only servers or also clients ...
140
votes
2answers
159k views

How to enable TRIM?

I know that the Linux kernel supports TRIM as of version 2.6.33, so there should be TRIM support in ubuntu. Is TRIM enabled by default or do I need to change some settings or install additional ...
139
votes
6answers
111k views

How to patch the Heartbleed bug (CVE-2014-0160) in OpenSSL?

As of today, a bug in OpenSSL has been found affecting versions 1.0.1 through 1.0.1f (inclusive) and 1.0.2-beta. Since Ubuntu 12.04, we are all vulnerable to this bug. In order to patch this ...
139
votes
11answers
336k 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 ...
139
votes
16answers
149k views

Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not ...

15 30 50 per page