Most Popular

1500 questions
296
votes
3 answers

What is the Difference Between `apt-get purge` and `apt-get remove`?

Is there any difference between sudo apt-get purge and sudo apt-get remove ? I often see people recommend one or the other. In other words, what does apt-get purge remove that apt-get remove doesn't?
Seth
  • 59,332
296
votes
7 answers

How do I install .run files?

My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too? I looked on the web for my Nvidia drivers and I have found a .run file. How could I…
kostas
295
votes
9 answers

How to completely uninstall docker

I followed the uninstall instructions here. Then I ran these commands: sudo apt-get purge docker-engine sudo apt-get autoremove --purge docker-engine rm -rf /var/lib/docker So after I did all this I ran this command to see if docker files are any…
Luke101
  • 3,053
  • 2
  • 10
  • 4
295
votes
6 answers

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

I'm trying to run this command in the terminal: sudo apt install software-properties-common This is the error message I get: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the…
GoodNite
  • 2,951
294
votes
22 answers

How can I create launchers on my desktop?

In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option. How can I create such launchers now?
tinuz
  • 3,962
294
votes
16 answers

How do I set Windows to boot as the default in the boot loader?

How do I set the bootloader so that in my dualboot with Windows 7/Ubuntu 11.04, Windows start up as standard instead of Ubuntu?
293
votes
10 answers

How can you completely remove a package?

I am trying to do a clean install of the octave3.2 package. To do this, I removed it, then tried to reinstall it. When I reinstalled, an error occurred. It could be a bug in the package, but I want to make sure I have everything removed so that I…
user1012451
  • 3,235
292
votes
6 answers

How do I provide a username and password to wget?

I've tried to connect to a server via wget: wget http://:@serveradress But wget responds: invalid port I know that the server accepts incoming traffic at port 80. How can I fix this issue?
pschmidt
  • 3,889
292
votes
7 answers

How to run sudo command with no password?

How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers? I'm using Ubuntu server 12.04 on Amazon. I want to add a new user that has the same…
aychedee
  • 8,347
291
votes
10 answers

How to list all symbolic links in a directory

I have a symbolic link in my /var/www/ directory that links to WordPress. When I run the command ls -la from the /var/www/ directory the link to WordPress doesn't show up. Is there a way to list all of the symbolic links that are in a directory?
Isaac
  • 3,105
  • 3
  • 15
  • 13
288
votes
16 answers

How can I install Windows after I've installed Ubuntu?

I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break GRUB. Editor's note: Current readers should keep in mind that this is an older question, and…
Sk8er
  • 3,969
288
votes
28 answers

How can I highlight or annotate PDFs?

Currently I need to highlight certain sections in PDFs, or add annotations (comments/notes). These modifications would need to be saved. What tools are out there to do this on Ubuntu?
ssanj
  • 4,411
288
votes
5 answers

Trouble with batch conversion of .png to .pdf using convert

convert /home/bill/TempScan/*.png myfile.pdf gives error message: convert-im6.q16: not authorized `myfile.pdf' @ error/constitute.c/WriteImage/1037. Any help would be appreciated!
287
votes
3 answers

Error sudo: add-apt-repository: command not found

I’m running Ubuntu 14.04. When I run: sudo add-apt-repository ppa:ubuntu-wine/ppa I get the following error: sudo: add-apt-repository: command not found I tried to run sudo apt-get install software-properties-common but it…
Nhóc Emi
  • 2,871
287
votes
9 answers

How to get the MD5 hash of a string directly in the terminal?

How do I get the MD5 hash of a string directly from the terminal? For example, I want the string abcdefg hashed. Currently the md5sum command only accepts a filename as input. I want to simply enter the following line and everything be done…
2hamed
  • 3,483