832
votes
18answers
1.3m 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 would I do this?
641
votes
80answers
479k 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. ...
622
votes
23answers
579k 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 ...
581
votes
7answers
1.6m views

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

How do I install a .deb file via the command line?
534
votes
7answers
1.7m 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?
496
votes
7answers
598k 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, ...
495
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 ...
462
votes
11answers
376k 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?
437
votes
25answers
696k 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 ...
431
votes
44answers
335k 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 ...
430
votes
16answers
634k 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?
406
votes
11answers
1.3m views

Installing Ubuntu on a Pre-Installed Windows 10 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 ...
401
votes
34answers
473k 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 ...
399
votes
6answers
379k 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 ...
393
votes
10answers
377k 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 ...
391
votes
28answers
344k 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.
391
votes
6answers
1.1m views

How do I shut down or reboot from a terminal?

How can I shut down or reboot Ubuntu using terminal commands?
389
votes
9answers
361k 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 ...
380
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?
377
votes
12answers
306k 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 ...
366
votes
8answers
308k 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?
363
votes
15answers
495k 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 ...
356
votes
8answers
101k 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?
351
votes
14answers
972k 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 ...
347
votes
5answers
671k 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 (...
342
votes
15answers
316k 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 ...
342
votes
9answers
629k 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 ...
336
votes
10answers
749k 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 ...
333
votes
15answers
623k 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 ...
321
votes
14answers
265k 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 ...
318
votes
25answers
476k 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 and ...
318
votes
3answers
429k 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?
305
votes
5answers
1.6m 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 ...
303
votes
13answers
705k 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?
298
votes
8answers
881k 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 ...
297
votes
14answers
852k 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 ...
290
votes
39answers
267k 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 ...
289
votes
7answers
903k 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.
288
votes
11answers
469k 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 (...
287
votes
12answers
86k 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 ...
285
votes
8answers
723k 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 ...
283
votes
15answers
311k 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 ...
281
votes
20answers
118k 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 ...
275
votes
17answers
401k 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: ...
275
votes
5answers
424k 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?
274
votes
40answers
434k 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 ...
274
votes
9answers
634k views

What does “sudo apt-get update” do?

I am wondering what sudo apt-get update does? What does it update?
273
votes
31answers
682k 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 ...
270
votes
8answers
428k views

How to run scripts on start up?

How do I run scripts automatically when my computer starts up so I don't have to run scripts that I always run manually after startup?
268
votes
33answers
189k 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 ...

15 30 50 per page