Most Popular

1500 questions
577
votes
28 answers

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 7, I followed this way to install Java 6. But it…
Benjamin
  • 10,159
575
votes
13 answers

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 happened, and I don't see the CD icon on my…
snakile
  • 6,183
574
votes
2 answers

How do I retrieve the public key from a SSH private key?

A SSH private key as generated by ssh-keygen contains a public key part. How do I retrieve this public key from the private key? I've lost my public key and need to put the contents of this public key in the servers authorized_keys file and do not…
Lekensteyn
  • 174,277
574
votes
16 answers

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

I downloaded and installed Ubuntu from the official site. However, I don't know if I installed the 32-bit or 64-bit version. In Windows 7 I could right click My Computer and it listed which version it was. Is there an easy way to check in Ubuntu?
573
votes
52 answers

Ubuntu gets stuck in a login loop

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've read that the problem might be caused by an error depending on the graphics, here's my…
570
votes
6 answers

Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?

I have installed Ubuntu subsystem on Windows 10 (after enabling feature in settings), but where is the Ubuntu file system root directory located in the drive?
July
  • 5,803
570
votes
9 answers

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 question. Also, it would be nice if someone could…
ste_kwr
  • 11,210
565
votes
35 answers

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.
jrg
  • 60,611
561
votes
2 answers

What is the difference between apt-get update and upgrade?

What is the difference between apt-get update and apt-get upgrade? Which should I run first? Do any of them automatically run the other?
The Student
  • 11,926
559
votes
13 answers

How to convert PDF to image?

I have requirement of converting PDF pages to images. There is a background image with some text in my file, and when I save it as an image only the background image gets saved. Is there any software available for the same so that complete page can…
559
votes
6 answers

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following…
Anupam Gupta
  • 5,713
559
votes
15 answers

How to prevent updating of a specific package?

Because of bug #693758 I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package. How can this be achieved?
Ivan
  • 57,065
553
votes
6 answers

How to see the command attached to a bash alias?

Suppose I have an alias in the bash shell. Is there a simple command to print out what command the alias will run?
Casebash
  • 5,789
552
votes
14 answers

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?
549
votes
10 answers

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 spanning over several versions of Ubuntu. For your…
Jorge Castro
  • 71,754