Greatest Hits

27
votes
4answers
90k 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 ...
226
31
votes
6answers
84k views

How do I install VMware Player?

I can't install VMwarePlayer 4.0.3 on Ubuntu 12.04 64Bit. For Version 4.0.2, I found a script that I have to run and after that I could install 4.0.2. Is there an similar solution for Version 4.0.3?
40
votes
8answers
121k views

Desktop Client for Google+ and Hangout

Is there any app that I can use to do Google Hangout from within my Ubuntu Desktop like Skype? Also, How can I integrate Google+ account with Ubuntu?
31
votes
8answers
179k views

How do I run a 64-bit guest in VirtualBox?

I would like to have an Ubuntu 11.04 64-bit test environment. When I try booting the Ubuntu 11.04 64-bit installation CD in VirtualBox, the following message is displayed by VirtualBox: VT-x/AMD-V ...
62
votes
8answers
33k views

How do I install the Firefox Developer Edition?

Mozilla released the Firefox Developer Edition! How do I install it on Ubuntu? Source: Mozilla Releases 'Firefox Developer Edition' for Windows, Mac and Linux - OMG! Ubuntu!
100
16
votes
4answers
141k 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?
151
64
votes
11answers
193k 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, ...
158
17
votes
2answers
153k 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) ...
34
votes
6answers
75k 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
57k 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: ...
47
votes
7answers
99k 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..
79
votes
4answers
115k 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 ...
27
votes
3answers
163k 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 ...
39
votes
8answers
152k 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 ...
274
votes
8answers
74k 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?
41
votes
4answers
113k 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 ...
213
votes
12answers
180k 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, ...
78
votes
1answer
81k 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?
26
votes
5answers
90k 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] ...
211
82
votes
5answers
126k 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
10
votes
2answers
45k 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 ...
35
votes
5answers
136k 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?
45
votes
10answers
75k 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 ...
24
votes
2answers
104k 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 ...
43
votes
5answers
95k 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 ...
198
73
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 ...
166
82
votes
14answers
115k views

How to check battery status using terminal?

I would like a command that check the battery status through the terminal
16
votes
3answers
136k 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 ...
30
votes
5answers
129k 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?
34
votes
4answers
111k 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?
35
votes
11answers
115k 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 ...
18
votes
7answers
129k 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
6answers
116k 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? ...
153
7
votes
4answers
90k 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 ...
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... ...
67
votes
5answers
122k 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 ...
142
46
votes
5answers
137k 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
12
votes
9answers
110k 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 ...
82
votes
7answers
150k 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 ...
177
68
votes
6answers
206k 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 ...
4
votes
2answers
61k views

How to run Terminal as root?

When we want to run a programs as root we use sudo, gksu, gksudo and etc. Now my question is how do we can run a Terminal as the root user in Terminal? I tried with using gksudo terminal and gksu ...
81
votes
8answers
101k 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?
77
votes
9answers
106k 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?
136
votes
10answers
118k 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?
35
votes
9answers
176k views

How to remove all files from a directory?

The closest I've gotten is # rm /path/to/directory/*.* but that doesn't work for files that don't have an extension...
230
votes
33answers
128k 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 ...
61
votes
5answers
190k 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 ...
97
votes
11answers
160k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
18
votes
4answers
96k 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 ...
25
votes
9answers
120k views

apt-get update fails to fetch files, “Temporary failure resolving …” error

Err http://archive.canonical.com natty InRelease Err http://security.ubuntu.com oneiric-security InRelease Err http://extras.ubuntu.com natty InRelease ...
165