Greatest Hits

16
votes
2answers
150k views

Install gcc on Ubuntu 12.04 LTS

When I try to install gcc on Ubuntu 12.04 LTS Server with apt-get install gcc, I get the following error: The following packages have unmet dependencies: gcc : Depends: cpp (>= 4:4.6.1-2ubuntu5) ...
23
votes
7answers
64k views

Installing and testing CUDA in Ubuntu 14.04

I am uncertain about how to install CUDA in my system. looking around there are many tutorials about cuda on 12.04 LTS and a few on 13.04 and 13.10, but they all talk about acquiring a deb package ...
5
votes
4answers
35k views

Unable to mount NTFS hard drive partition “The disk contains an unclean file system”

I have dual booted ubuntu 13.10 and windows 8.1 in my laptop. Earlier my window partition(C drive) and other NTFS partition was accessible from ubuntu. Now its giving me this error and not mounting: ...
60
votes
11answers
188k views

How to make a disk image and restore from it later?

I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution, etc.) I've broken something (X, ...
156
212
votes
12answers
178k views

How to revert to GNOME Classic Desktop?

I'm used to GNOME Classic and personally don't want to change to anything else, but it seems there is no more GNOME Classic in the Oneiric release. After apt-get installed gnome-session and all, ...
26
votes
4answers
87k views

I've downloaded a .sh file - how do I install this?

I'm new to Ubuntu and know installing programs only from window. It is very easy there: Just double-click the setup.exe and the things start. But how do I install a program on Ubuntu? I want to ...
220
15
votes
4answers
137k views

How to kill and to start the X server?

In 12.04 How do you kill the X server from the command line and from the GUI interface and how do you start it from the virtual terminal?
147
38
votes
8answers
149k views

How to update kernel to the latest mainline version without any Distro-upgrade?

Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of ...
45
votes
7answers
96k views

How to install a LibreOffice Dictionary (Spelling Check, Thesaurus…)

What are the steps to install the Spelling Check and other language supports for LibreOffice. For example spanish, french, italian, etc..
15
votes
6answers
118k views

How do I disable the “Nouveau Kernel Driver”?

I'm trying to install proprietary nvidia graphics driver I downloaded from nvidia website. It will not install because it says that the "Nouveau kernel driver" needs to be disabled first. I opened ...
174
81
votes
5answers
123k views

How to add a PPA on a server?

The server version of Ubuntu does not have the add-apt-repository command. How can I add a Personal Package Archive (PPA) to the server without this command?
198
41
votes
4answers
111k views

Shutdown does not power off computer

I recently upgraded from Ubuntu 11.10 to 12.04. If it makes any difference, my system is a Dell Inspiron 1520. I encounter a problem whenever I shutdown or restart; it kills all running processes ...
267
votes
8answers
72k 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?
10
votes
2answers
43k views

How to install League of Legends in Ubuntu 14.04

I'm using Ubuntu 14.04 and PlayOnLinux 4.2.2. I managed to get League of Legends almost running perfectly, there are only two problems. The first is that the shop to buy things with IP/RP is just a ...
74
votes
6answers
62k views

Eclipse menus are cut off or don't show

I'm using Ubuntu 13.10 (with JDK 1.7.0_45). I've downloaded and uncompressed Eclipse Kepler for Java EE Developers. The software menus are messed up. I didn't notice similar problems in other ...
164
77
votes
1answer
79k views

What is the “show desktop” keyboard shortcut?

I just upgraded to 11.10 from 11.04. Previously the shortcut to show the desktop was Super key + D (same as in Windows), But now it is not working. What is the new shortcut?
35
votes
5answers
131k views

How do I connect to a WPA wifi network using the command line?

So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?
32
votes
6answers
69k views

Getting + installing gcc/g++ 4.9 on Ubuntu?

How do I install the latest version of gcc and g++? I am using a variety of C++11 and C++1y features; which is why I need this.
27
votes
4answers
53k views

How to run 32-bit app in Ubuntu 64-bit?

I installed Ubuntu 14.04 and the current Android development SDK, which contains 32-bit executables. I found that I cannot run those 32-bit binaries. Trying to start them from bash gives me an error: ...
16
votes
3answers
135k views

Installing KDE in Ubuntu 12.04

Is it good to use kubuntu or Ubuntu with KDE? Well if I install KDE in Ubuntu will there be any instability or conflict? Will these two get mixed up with themes and icons? I had a bad experience ...
24
votes
3answers
156k views

find a file using the terminal

I am trying to find a directory, using the terminal and I am not sure where it is. I mean that i used the wget command to obtain the file and used it for installation and now i am not able to find ...
25
votes
6answers
51k views

How to install Google-Earth 64bit in Ubuntu 13.10, ia32-libs Dependency error

I want to install Google-Earth & it requires ia32-libs. So, I did apt-get install ia32-libs but error pops as Reading package lists... Done Building dependency tree Reading state information... ...
78
votes
4answers
109k views

Why use apt-get upgrade instead of apt-get dist-upgrade?

I usually use apt-get update && apt-get upgrade to run my updates and upgrades instead of the GUI because it seems to run more quickly. However, I've noticed lately that I often get a ...
25
votes
5answers
88k views

USB turn write protection off

Hi I have a USB which is write protected: dmesg | tail [10098.126089] sd 7:0:0:0: [sdb] Write Protect is on [10098.126098] sd 7:0:0:0: [sdb] Mode Sense: 23 00 80 00 [10098.126779] sd 7:0:0:0: [sdb] ...
204
43
votes
10answers
72k views

Error: kernel headers not found. (But they are in place)

I'm trying to install the Guest Additions in VirtualBox 4.04. Host OS is Ubuntu desktop 11.04 64bit, guest OS is Ubuntu server 11.10 64bit. $ sudo ./VBoxLinuxAdditions.run After some output this ...
17
votes
7answers
125k views

How do I convert .ts files into something useful?

I have a file that ends in .ts, which according to wikipedia is an MPEG2 file. I've never run into a file like this so I want it want the file to be in a more common format/container to use on ...
29
votes
5answers
126k views

How to create ISO images?

Let's says that I have a Microsoft Office 2010 on a .zip file, then I extract it into a folder, and now I want to build a .iso file from the files inside this folder. How can I do that?
28
votes
6answers
111k views

Permanently removing apache2

It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top. How does one remove apache2 completely on his ubuntu server? ...
151
33
votes
4answers
108k views

How can I install a .bin file?

I want to update Acrobat Reader for Firefox, but the download has the .bin extension. How can I install it?
81
votes
14answers
111k views

How to check battery status using terminal?

I would like a command that check the battery status through the terminal
34
votes
10answers
111k views

How can I create a select menu in a shell script?

I'm creating a simple bash script and I want to create a select menu in it, like this: ./script echo "Choose your option:" 1) Option 1 2) Option 2 3) Option 3 4) Quit And according to ...
11
votes
8answers
108k views

How to configure proxy authentication to work with Ubuntu Software Center?

I have tried put in apt config Acquire::http::proxy, and in Network>Network proxy with and without user:password@server:port and using environment variables http_proxy and https_proxy. Nothing seems ...
46
votes
5answers
134k views

How to set the fully qualified domain name in 12.04?

I tried adding dns-domain domain.com to /etc/network/interfaces with no luck. When I run hostname -d I get an empty string
41
votes
5answers
91k views

Global Installation of Composer (manual)

I followed composer manual (global installation of composer (manual)) to install composer on Ubuntu. $ ll /usr/local/bin/ total 4760 drwxr-xr-x 2 root root 4096 2012-03-29 08:29 ./ drwxr-xr-x 10 ...
189
81
votes
8answers
99k views

How do I setup dual monitors in XFCE?

I've got an laptop with a intel chip, and I'd like to setup dual monitors in Xfce. How do I do this?
7
votes
4answers
87k views

A “failed to fetch” error occurs when apt-get update is run. How do I fix this?

Contrary to the note above, I haven't found the answer to my problem. I have read almost a dozen apt-get update questions, most from askubuntu.com, with "failed to fetch" errors and tried the ...
23
votes
2answers
96k views

Find the correct php.ini file

I am currently trying to locate the correct php.ini file to edit it and restart apache so the changes will take place and I'm stumped. What I have done... I have found three different php.ini files ...
34
votes
6answers
94k views

Wireless card Realtek RTL8723AE-BT is not recognized

I bought a new laptop with a RTL8723AE-BT wireless card, but it seems there is nothing that makes it work. Realtek usually makes drivers available for its card, but this specific one doesn't have a ...
4
votes
6answers
78k views

Installing Skype in Ubuntu 13.10

When upgrading Ubuntu 13.04 to Ubuntu 13.10 (64 bit), the upgrade tool insisted on removing Skype. I'm now trying to get Skype reinstalled. When trying from the software center (as suggested by why ...
67
votes
6answers
198k views

How can I create a zip archive of a whole directory via terminal without hidden files?

I have a project with lots of hidden folders / files in it. I want to create a zip-archive of it, but in the archive shouldn't be any hidden folders / files. If files in a hidden folder are not ...
61
votes
5answers
187k views

How to manage users and groups?

Just switched from 10.04 to 11.10. I'm wondering about the limited options in the GUI for managing users and groups. Where is the old GUI to change groups, id's, etc. I know that I can do this from ...
136
votes
10answers
116k views

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?
17
votes
4answers
92k views

Installing MS Office 2013 on Ubuntu 12.04 LTS

I am trying to install Microsoft Office 2013 on Ubuntu 12.04 LTS (32-bit). I have downloaded an iso file of said product and installed wine1.4-i386 using the apt-get command on the terminal. The ...
75
votes
9answers
102k views

How to display network traffic in terminal

how to display the actual network traffic (wireless) in a terminal? Additionally: Is it possible to add this info to the chart of top?
63
votes
5answers
117k views

How can I decode a base64 string from the command line?

I would like to write a bash script to decode a base64 string. For example I type decode QWxhZGRpbjpvcGVuIHNlc2FtZQ== and it prints Aladdin:open sesame and returns to the prompt. So far I have tried ...
135
225
votes
32answers
125k 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 ...
77
votes
7answers
143k views

How do I create a permanent Bash alias?

I would like to create an alias to rm command in order to have a confirmation message after executing this command. So I am creating an alias like this alias rm='rm -i'. But as far as I know this is a ...
171
102
votes
4answers
79k views

How do I set focus follows mouse?

Is there a way to set up "focus follows mouse" behavior in Unity?
28
votes
21answers
90k views

How can I access Flash files from streaming websites?

In Maverick, there was an option to download Flash videos from sites like YouTube, Vimeo, etc. by copying the flashxx** file in /tmp directory to another location before closing the window. But in ...
21
votes
7answers
163k views

How do I configure my static DNS in interfaces?

I am using Ubuntu 12.04. My /etc/network/interfaces file consists of: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface ...
91