772
votes
18answers
1.2m views

How to list all installed packages?

I'd like to output a list of all installed packages into a text file, so that I can review it and bulk-install on another system. How to do this?
629
votes
78answers
473k views

What Application Indicators are available?

I installed Ubuntu 11.04 on one of my systems and I am using the Unity interface. Unity is working quite well so far but I really miss panel applets for net speed, cpu temp, and system monitor. ...
580
votes
23answers
543k 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 ...
554
votes
6answers
1.5m views

How do I install a .deb file via the command line?

How do I install a .deb file via the command line?
493
votes
7answers
1.5m views

How to unzip a zip file from the Terminal?

Just downloaded a .zip file from the internet. I want to use the terminal to unzip the file. What is the correct way to do this?
475
votes
7answers
568k 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, ...
475
votes
6answers
1.5m views

How can I add a new user as sudoer using the command line?

After I add a user using adduser, I can't see it via System->Administration->Users and Groups unless I logout and then login again. Is that normal? Also, can I set a newly added user as a ...
454
votes
11answers
370k 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?
421
votes
25answers
679k views

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java ...
417
votes
15answers
603k 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?
412
votes
44answers
317k views

What should I do when Ubuntu freezes?

All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when... just one program stops responding? nothing at all responds to mouse clicks or key ...
393
votes
11answers
1.3m views

Installing Ubuntu on a Pre-Installed Windows with UEFI

I'm absolutely new to Linux. I have been using Windows for all my life, but I have read about Ubuntu (and Linux in general) and I think I'll like it, so I wanted to know how to install Ubuntu on my PC ...
381
votes
34answers
447k views

How do I remove 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 ...
378
votes
10answers
357k views

What are PPAs and how do I use them?

I keep reading about Personal Package Archives ('PPAs') and people answer questions with a link to a PPA. What's the best way to use these? There are multiple valid answers for this question ...
377
votes
6answers
357k views

How to upgrade a single package using apt-get?

How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter: upgrade upgrade is used to install the newest versions of ...
367
votes
7answers
45k views

How do I report a bug?

I found a problem with an application on Ubuntu. Questions : How do I best report the issue? What sort of information should I provide?
364
votes
28answers
322k views

Unity doesn't load, no Launcher, no Dash appears

When I login, nothing happens. I am presented with my desktop wallpaper. No Dash, no Launcher, nothing.
363
votes
12answers
290k views

“The following packages have been kept back:” Why and how do I solve it?

I just added a PPA repository for the development version of the GIMP, but I get this error The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why and how can I ...
361
votes
8answers
338k 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 ...
359
votes
5answers
1.0m views

How do I restart /shutdown from a terminal?

How to shutdown the Ubuntu installed system and restart it by using terminal ?
356
votes
8answers
303k 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?
354
votes
15answers
470k 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 ...
341
votes
8answers
98k views

How do I modify or disable the HUD's use of the Alt key?

A number of games, Emacs, and the terminal make extensive use of the Alt key. Can Unity be configured to respect this key, rather than launching the HUD with it?
337
votes
14answers
920k views

How do I reset a lost administrative password?

I'm working on a Ubuntu system, and my client has completely forgotten his administrative password. He doesn't even remember entering one; however it is there. I've tried the suggestions on the ...
334
votes
15answers
305k views

How can I edit/create new launcher items in Unity by hand?

Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs. For some programs ...
324
votes
9answers
585k views

How do I uncompress a tarball that uses .xz?

I'm used to extracting tarballs with a -xfz flag, which handles gzip and bzip2 archives. Recently I've run into a .tar.xz file and I would like to uncompress it in one step using tar, how can I do ...
322
votes
4answers
633k 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 ...
313
votes
17answers
600k views

How do I check if I have a 32-bit or a 64-bit OS?

I downloaded and installed the latest 11.04 version from the official Ubuntu site. However I don't know if it installed the 32-bit or 64-bit version. In Windows 7 I could right click My PC and there ...
313
votes
9answers
696k views

How do I install Sublime Text 2/3?

I installed Sublime Text 2 on 12.04 as per this tutorial. However I don't have adequate permissions when launching the program from the Unity launcher. For example I cannot install packages, or if I ...
306
votes
25answers
457k views

What kinds of desktop environments and shells are available?

This question exists as it fills a specific criterion. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu ...
302
votes
14answers
251k 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 ...
294
votes
12answers
677k views

How do I upgrade to a newer version of Ubuntu?

What are the different ways I can use to upgrade Ubuntu from one release to another?
290
votes
2answers
406k views

How to extract files to another directory using 'tar' command?

I thought tar archive.tar /users/mylocation would work, but it doesn't. How can I do that?
287
votes
5answers
1.5m 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 ...
287
votes
11answers
466k views

How can I configure Unity?

Are there any configuration options for the Unity desktop? There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below ...
282
votes
39answers
255k views

How can I improve Ubuntu overall system performance?

What are your tips for improving overall system performance on ubuntu? Inspired by this question I realized that some default settings may be rather conservative on Ubuntu and that it's possible to ...
282
votes
8answers
817k 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 ...
279
votes
12answers
83k views

How do I disable mouse magnet on middle edge with multi monitors?

I use Ubuntu 12.04 on a two screen setup. Multiscreen on 12.04 has generally become much better, but there is one thing that really gets on my nerves: there's a mouse magnet of sorts on the middle ...
277
votes
8answers
687k views

Could not reliably determine the server's fully qualified domain name?

When I restart my apache server using the command sudo /etc/init.d/apache2 restart I get the following error: Restarting web server apache2 apache2: Could not reliably determine the server's ...
273
votes
13answers
783k 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 ...
272
votes
31answers
648k views

My computer boots to a black screen, what options do I have to fix it?

I am trying to boot Ubuntu on my computer. When I boot Ubuntu, it boots to a black screen. How can I fix this? Table of Contents: If you are trying to install Ubuntu If you have a dual boot ...
267
votes
20answers
107k views

How to create a screencast?

How can I create a screencast on Ubuntu? The app I'm looking for has ideally all of these features: Can record in a format that can be played back easily on any platform and/or accepted by youtube ...
263
votes
7answers
803k 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.
262
votes
39answers
407k views

Reasons why crontab does not work

Often, crontab scripts are not executed on schedule or as expected. There are numerous reasons for that: wrong crontab notation permissions problem environment variables This community wiki aims ...
262
votes
14answers
280k 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 ...
259
votes
16answers
371k 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: ...
259
votes
8answers
403k 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?
259
votes
5answers
393k views

How do I set up a Cron job?

I want to schedule a task to run on a regular basis and have heard that Cron is the way to do this. How do I add Cron jobs in Ubuntu?
257
votes
33answers
181k views

Comparison of backup tools

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions ...
253
votes
7answers
432k 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?

15 30 50 per page