Most Popular

1500 questions
455
votes
35 answers

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
Floqqi
  • 4,567
455
votes
10 answers

Convert a directory of JPEG files to a single PDF document

I have many JPEG files in a directory, and I want to convert them to PDF and concatenate them together to make a single document. How can this be done? I would prefer using the command line, as this process will be faster.
lovespeed
  • 4,701
453
votes
22 answers

Trouble downloading packages list due to a "Hash sum mismatch" error

When I check for updates, I get a "Failed To Download Repository Information" error. This is what comes up under details: W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum…
Rob
  • 12,940
453
votes
12 answers

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?
rakshith
  • 1,239
451
votes
9 answers

How do I install Python 3.6 using apt-get?

I've tried the normal way, sudo apt-get install python3.6, but... well... that didn't work. So, how would I go about it? (I'd preferably not build it on my own) I'm using Ubuntu 16.04.
Olian04
  • 4,653
446
votes
6 answers

How to downgrade a package via apt-get?

How can I downgrade a package to an older version via apt-get? Other tools are also acceptable but apt-get is preferred.
user61928
443
votes
15 answers

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
Lincity
  • 25,749
439
votes
15 answers

How do I install fonts?

How do I install fonts on Ubuntu Linux? I need them to be available in gimp.
myusuf3
  • 35,659
435
votes
14 answers

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?
Salahuddin
  • 4,911
434
votes
10 answers

How to enable hibernation?

In Ubuntu 12.04 and newer, hibernation has been disabled by default in policykit. How can I enable this back?
Dima
  • 9,955
434
votes
8 answers

How to download an MP3 track from a YouTube video

There are several Q&A threads that explain how to download youtube videos using the terminal. However, I would also like to learn how to extract the video's soundtracks as MP3 files--also using only the terminal. Answers briefly explaining how to…
siraj
  • 5,407
428
votes
12 answers

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?
Oli
  • 299,380
427
votes
11 answers

How can I view the contents of tar.gz file without extracting from the command-line?

I want to see the contents (list of files and folders) of an archive, for example a tar.gz file without extracting it. Are there any methods for doing that?
Avinash Raj
  • 80,446
426
votes
7 answers

How to disable strict host key checking in ssh?

I would like to disable strict host key checking in ssh for Ubuntu 11.04. How to do it?
karthick87
  • 84,513
425
votes
4 answers

What is the difference between #!/bin/sh and #!/bin/bash?

if I write, #!/bin/bash echo "foo" or #!/bin/sh echo "foo" both yields same. I have seen some scripts starting with #!/bin/sh or #!/bin/bash. Is there any difference between them?
Rahul Virpara
  • 11,860